/* 
 * ALLEGRO MODULE STYLES - Star Trek Futuristic Theme
 * Kosmiczny moduł Allegro z efektami holograficznymi
 */
:root {
    /* Star Trek Theme Variables - jeśli nie ma w common-layout.css */
    --starfleet-blue: #00b8ff;
    --starfleet-blue-light: #66e0ff;
    --starfleet-blue-dark: #0066cc;
    --starfleet-purple: #9d4edd;
    --starfleet-gold: #ffd700;
    --starfleet-green: #00ff9d;
    --starfleet-red: #ff3366;
    --starfleet-silver: #c0c0c0;
    --starfleet-white: #ffffff;
    --starfleet-black: #0a0a1a;
    
    --border-radius: 12px;
    --border-radius-sm: 8px;
}
/* ========== KOSMICZNE ANIMACJE ========== */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes hologram {
    0%, 100% { opacity: 0.95; filter: hue-rotate(0deg); }
    50% { opacity: 1; filter: hue-rotate(20deg); }
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* ========== LOADING SCREEN - HOLOGRAM ========== */
.auth-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(0, 184, 255, 0.2);
    border-top: 3px solid var(--starfleet-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 30px var(--starfleet-blue);
    position: relative;
}

.loading-spinner::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(157, 78, 221, 0.3);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

.loading-text {
    margin-top: 30px;
    color: var(--starfleet-blue-light);
    font-size: 18px;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--starfleet-blue);
}

/* ========== LAYOUT - KOSMICZNE TŁO ========== */
body {
    font-family: 'Orbitron', 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--starfleet-white);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 184, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(157, 78, 221, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.container,
.allegro-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ========== PAGE HEADER - KONSOLA DOWODZENIA ========== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 184, 255, 0.3);
    box-shadow: 
        inset 0 0 30px rgba(0, 184, 255, 0.1),
        0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.4s ease-out;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(0, 184, 255, 0.1),
        transparent);
    animation: scan 6s linear infinite;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--starfleet-white);
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px var(--starfleet-blue);
}

.page-title i {
    color: var(--starfleet-gold);
    font-size: 36px;
    text-shadow: 0 0 20px var(--starfleet-gold);
}

/* ========== STAT CARDS - HOLOGRAMY ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    animation: slideInUp 0.5s ease-out;
}

.stat-card {
    background: rgba(26, 26, 46, 0.7);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 
        inset 0 0 20px rgba(0, 184, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 184, 255, 0.2);
    border-left: 5px solid var(--starfleet-blue);
    position: relative;
    overflow: hidden;
    animation: hologram 3s ease-in-out infinite;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        inset 0 0 30px rgba(0, 184, 255, 0.2),
        0 15px 40px rgba(0, 184, 255, 0.3);
    border-color: var(--starfleet-blue);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--starfleet-blue),
        transparent);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 14px;
    color: var(--starfleet-silver);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.stat-icon {
    font-size: 24px;
    color: var(--starfleet-blue);
    opacity: 0.8;
    text-shadow: 0 0 10px var(--starfleet-blue);
}

.stat-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--starfleet-white);
    background: linear-gradient(90deg, 
        var(--starfleet-blue-light) 0%,
        var(--starfleet-white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Orbitron', sans-serif;
}

.stat-detail {
    font-size: 13px;
    color: var(--starfleet-silver);
    margin-top: 5px;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

/* ========== FILTERS - PANEL KONTROLNY ========== */
.filters-section {
    background: rgba(10, 10, 26, 0.8);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px;
    border: 1px solid rgba(0, 184, 255, 0.3);
    border-left: 5px solid var(--starfleet-purple);
    position: relative;
}

.filters-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(157, 78, 221, 0.5),
        transparent);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--starfleet-blue-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.filter-group input,
.filter-group select {
    padding: 12px 16px;
    background: rgba(0, 20, 40, 0.8);
    border: 2px solid rgba(0, 184, 255, 0.4);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    color: var(--starfleet-white);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--starfleet-blue);
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.4);
    background: rgba(0, 30, 60, 0.9);
}

.filter-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========== OFFER CARDS - HOLOGRAMY PRODUKTÓW ========== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    animation: fadeIn 0.5s ease-out;
}

.offer-card {
    background: rgba(26, 26, 46, 0.7);
    border-radius: var(--border-radius);
    box-shadow: 
        inset 0 0 20px rgba(0, 184, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 184, 255, 0.2);
    border-top: 4px solid var(--starfleet-blue);
    position: relative;
    animation: hologram 4s ease-in-out infinite;
}

.offer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        inset 0 0 30px rgba(0, 184, 255, 0.2),
        0 20px 50px rgba(0, 184, 255, 0.3);
    border-color: var(--starfleet-blue-light);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent);
    transition: left 0.7s;
}

.offer-card:hover::before {
    left: 100%;
}

.offer-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    border-bottom: 2px solid rgba(0, 184, 255, 0.3);
}

.offer-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(0, 184, 255, 0.3);
}

.offer-content {
    padding: 25px;
}

.offer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--starfleet-white);
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
}

.offer-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.offer-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--starfleet-silver);
    font-family: 'Courier New', monospace;
}

.offer-meta-item i {
    color: var(--starfleet-blue);
    font-size: 14px;
}

.offer-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--starfleet-gold);
    margin: 20px 0;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.offer-profit {
    padding: 12px 16px;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    margin-bottom: 15px;
}

.profit-label {
    color: var(--starfleet-silver);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profit-value {
    color: var(--starfleet-green);
    font-weight: 900;
    font-size: 18px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.offer-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-active {
    background: rgba(0, 184, 255, 0.2);
    color: var(--starfleet-blue);
    border: 1px solid var(--starfleet-blue);
}

.status-draft {
    background: rgba(255, 215, 0, 0.2);
    color: var(--starfleet-gold);
    border: 1px solid var(--starfleet-gold);
}

.status-ended {
    background: rgba(255, 51, 102, 0.2);
    color: var(--starfleet-red);
    border: 1px solid var(--starfleet-red);
}

.offer-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* ========== BUTTONS - KONTROLKI KONSOLE ========== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: left 0.7s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, 
        var(--starfleet-blue) 0%,
        var(--starfleet-blue-dark) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 184, 255, 0.3);
    border: 1px solid rgba(0, 184, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 184, 255, 0.5);
    background: linear-gradient(135deg, 
        var(--starfleet-blue-light) 0%,
        var(--starfleet-blue) 100%);
}

.btn-success {
    background: linear-gradient(135deg, 
        var(--starfleet-green) 0%,
        #00cc66 100%);
    color: white;
    border: 1px solid rgba(0, 255, 157, 0.4);
}

.btn-secondary {
    background: rgba(26, 26, 46, 0.8);
    color: var(--starfleet-blue-light);
    border: 2px solid rgba(0, 184, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(0, 184, 255, 0.2);
    border-color: var(--starfleet-blue);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ========== MODAL - HOLOGRAM ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: hologram 0.5s ease-out;
}

.modal-content {
    background: rgba(10, 10, 26, 0.95);
    border-radius: var(--border-radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 0 50px rgba(0, 184, 255, 0.4),
        inset 0 0 30px rgba(0, 184, 255, 0.1);
    border: 2px solid var(--starfleet-blue);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.3s ease-out;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(0, 184, 255, 0.1),
        transparent);
    animation: scan 4s linear infinite;
    pointer-events: none;
}

.modal-header {
    padding: 25px 30px;
    background: linear-gradient(90deg, 
        rgba(0, 184, 255, 0.2) 0%,
        rgba(157, 78, 221, 0.2) 100%);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--starfleet-blue);
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 184, 255, 0.4);
    color: var(--starfleet-blue-light);
    font-size: 24px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 51, 102, 0.3);
    border-color: var(--starfleet-red);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 2px solid rgba(0, 184, 255, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    background: rgba(26, 26, 46, 0.8);
    flex-shrink: 0;
}

/* ========== FORM ELEMENTS ========== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--starfleet-blue-light);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group label .required {
    color: var(--starfleet-red);
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 20, 40, 0.8);
    border: 2px solid rgba(0, 184, 255, 0.4);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    color: var(--starfleet-white);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--starfleet-blue);
    background: rgba(0, 30, 60, 0.9);
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.4);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: 'Courier New', monospace;
}

/* ========== TABLE - EKRAN STATUSU ========== */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(26, 26, 46, 0.7);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 
        inset 0 0 20px rgba(0, 184, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 184, 255, 0.3);
}

thead {
    background: linear-gradient(90deg, 
        var(--starfleet-blue) 0%,
        var(--starfleet-purple) 100%);
    color: white;
}

th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

tbody tr {
    border-bottom: 1px solid rgba(0, 184, 255, 0.1);
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: rgba(0, 184, 255, 0.1);
    transform: translateX(5px);
}

td {
    padding: 15px;
    font-size: 13px;
    color: var(--starfleet-white);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

/* ========== ALERTS - KOMUNIKATY SYSTEMU ========== */
.alert {
    padding: 18px 22px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Orbitron', sans-serif;
    animation: slideInUp 0.3s ease-out;
    border-left: 4px solid;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid;
}

.alert-success {
    border-left-color: var(--starfleet-green);
    border-color: rgba(0, 255, 157, 0.3);
    color: var(--starfleet-green);
}

.alert-warning {
    border-left-color: var(--starfleet-gold);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--starfleet-gold);
}

.alert-danger {
    border-left-color: var(--starfleet-red);
    border-color: rgba(255, 51, 102, 0.3);
    color: var(--starfleet-red);
}

.alert-info {
    border-left-color: var(--starfleet-blue);
    border-color: rgba(0, 184, 255, 0.3);
    color: var(--starfleet-blue);
}

/* ========== EMPTY STATE - HOLOGRAM ========== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--starfleet-silver);
    background: rgba(26, 26, 46, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 184, 255, 0.2);
    animation: hologram 5s ease-in-out infinite;
}

.empty-state i {
    font-size: 60px;
    color: rgba(0, 184, 255, 0.3);
    margin-bottom: 25px;
    text-shadow: 0 0 20px var(--starfleet-blue);
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 25px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .offer-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== UTILITY CLASSES ========== */
.text-success {
    color: var(--starfleet-green) !important;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.text-warning {
    color: var(--starfleet-gold) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.text-danger {
    color: var(--starfleet-red) !important;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
}

.text-muted {
    color: var(--starfleet-silver) !important;
}

.text-center {
    text-align: center !important;
}

.mt-2 { margin-top: 1rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }

/* Średnie desktop (1200px-1600px) */
@media (min-width: 1200px) and (max-width: 1600px) {
    .container,
    .allegro-container {
        max-width: 1400px;
    }
}

/* Duże desktop (1600px+) */
@media (min-width: 1601px) {
    .container,
    .allegro-container {
        max-width: 1700px;
    }
}

/* ========== KOSMICZNE EFEKTY SPECJALNE ========== */
::selection {
    background: rgba(0, 184, 255, 0.5);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
    background: rgba(10, 10, 26, 0.8);
}

::-webkit-scrollbar-track {
    background: rgba(0, 20, 40, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, 
        var(--starfleet-blue) 0%,
        var(--starfleet-purple) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, 
        var(--starfleet-blue-light) 0%,
        #9d4edd 100%);
}

/* Focus styles */
:focus {
    outline: 2px solid var(--starfleet-blue);
    outline-offset: 2px;
}

/* Data loading animation */
.data-loading {
    position: relative;
    overflow: hidden;
}

.data-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--starfleet-blue),
        transparent);
    animation: scan 2s linear infinite;
}
/* Product Selection Styles */
.product-selection-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.product-selection-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-selection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding: 5px;
}

.product-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.product-card:hover {
    border-color: #007bff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-card.selected {
    border-color: #28a745;
    background-color: #f8fff9;
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.product-name {
    font-weight: 600;
    color: #212529;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-code {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.product-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.product-stock {
    color: #dc3545;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-price {
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 5px;
}

.selected-product {
    background: white;
    border: 1px solid #28a745;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.selected-product-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #28a745;
}

.selected-product-info {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.selected-product-info div {
    margin-bottom: 5px;
}

/* Stock info in offer cards */
.stock-info {
    margin: 8px 0;
    font-size: 0.85rem;
}

.stock-info i {
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SYSTEM ZARZĄDZANIA ZDJĘCIAMI - ALLEGRO
   ============================================ */

/* Image Management Modal */
.image-management-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-management-modal.active {
    display: flex;
}

.image-management-content {
    background: white;
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-management-header {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.image-management-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #343a40;
    display: flex;
    align-items: center;
    gap: 10px;
}

.image-management-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.image-management-close:hover {
    background: #e9ecef;
    color: #dc3545;
}

.image-management-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Tabs */
.image-tabs {
    width: 250px;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.image-tab {
    padding: 15px 20px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #495057;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.image-tab:hover:not(.active) {
    background: #e9ecef;
    color: #007bff;
}

.image-tab.active {
    background: #007bff;
    color: white;
    font-weight: 600;
}

.image-tab i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.image-tab-content {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    background: white;
}

.image-tab-pane {
    display: none;
}

.image-tab-pane.active {
    display: block;
}

/* Upload Zone Large */
.upload-zone-large {
    border: 3px dashed #dee2e6;
    border-radius: 10px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9fa;
    margin-bottom: 25px;
}

.upload-zone-large:hover {
    border-color: #007bff;
    background: #e8f4ff;
}

.upload-zone-large.dragover {
    border-color: #28a745;
    background: #f0fff4;
}

.upload-icon-large {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.upload-text-large {
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
}

.upload-hint-large {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Upload Preview */
.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.upload-preview-item {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.upload-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.upload-preview-info {
    padding: 10px;
    background: white;
}

.upload-preview-info div:first-child {
    font-size: 0.85rem;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-preview-info div:last-child {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 3px;
}

.upload-preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.upload-preview-remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Library */
.library-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-box input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
}

.sort-controls select {
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: white;
    font-size: 0.95rem;
    min-width: 180px;
}

.library-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.library-image-item {
    position: relative;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.library-image-item:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.library-image-item.selected {
    border-color: #28a745;
    background: #f8fff9;
}

.library-image-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.library-image-check i {
    color: #28a745;
    font-size: 1.2rem;
}

.library-image-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.library-image-info {
    padding: 12px;
    background: white;
}

.library-image-name {
    font-size: 0.85rem;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.library-image-size {
    font-size: 0.75rem;
    color: #6c757d;
}

.loading-library,
.no-library-images {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.loading-library i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.no-library-images i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Resize Controls */
.resize-controls {
    max-width: 800px;
    margin: 0 auto;
}

.resize-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.resize-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.resize-input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
}

.resize-input-group input {
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
}

.resize-preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.resize-original,
.resize-result {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.resize-original img,
.resize-result img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    margin-bottom: 15px;
}

.resize-info {
    font-size: 0.9rem;
    color: #6c757d;
}

.resize-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Image Previews in Form */
.image-management-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #dee2e6;
}

.image-management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.image-management-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

.image-count {
    font-size: 0.9rem;
    color: #6c757d;
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 20px;
}

.images-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    min-height: 150px;
}

.image-preview-item {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    transition: all 0.2s;
}

.image-preview-item:hover {
    border-color: #007bff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.image-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.image-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
}

.image-main-badge {
    font-size: 0.7rem;
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
}

.image-preview-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.image-preview-actions {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    background: white;
    border-top: 1px solid #dee2e6;
}

.btn-icon {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-icon:hover:not(:disabled) {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.btn-icon:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon.btn-sm {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
}

.btn-icon.btn-danger:hover {
    background: #dc3545;
    border-color: #dc3545;
}

.no-images-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.no-images-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.quick-upload-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* Progress Bar */
.upload-progress {
    margin-top: 20px;
    display: none;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: #28a745;
    width: 0%;
    transition: width 0.3s;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: #495057;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.pagination button,
.pagination span {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination span.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Manager Actions */
.image-manager-actions {
    padding: 20px;
    border-top: 1px solid #dee2e6;
    background: white;
}

/* Responsive */
@media (max-width: 992px) {
    .image-management-body {
        flex-direction: column;
    }
    
    .image-tabs {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .image-tab {
        flex: 1;
        min-width: 150px;
        justify-content: center;
        border-bottom: none;
        border-right: 1px solid #e9ecef;
    }
    
    .resize-preview-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .image-management-modal {
        padding: 10px;
    }
    
    .image-management-content {
        height: 95vh;
    }
    
    .library-controls {
        flex-direction: column;
    }
    
    .search-box,
    .sort-controls select {
        min-width: 100%;
    }
    
    .resize-inputs {
        grid-template-columns: 1fr;
    }
    
    .resize-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .resize-actions button {
        width: 100%;
    }
}
/* ========== PRODUCT SELECTION - HOLOGRAM ========== */
.product-selection-section {
    background: rgba(26, 26, 46, 0.8);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
    border: 2px solid rgba(0, 184, 255, 0.3);
    box-shadow: 
        inset 0 0 20px rgba(0, 184, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.4);
    animation: hologram 4s ease-in-out infinite;
}

.product-selection-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 184, 255, 0.2);
}

.product-selection-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--starfleet-white);
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px var(--starfleet-blue);
}

.product-search-container {
    position: relative;
    margin-bottom: 20px;
}

.product-search-container i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--starfleet-blue);
    font-size: 1.1rem;
}

.product-search-container input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    background: rgba(0, 20, 40, 0.8);
    border: 2px solid rgba(0, 184, 255, 0.4);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    color: var(--starfleet-white);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.product-search-container input:focus {
    outline: none;
    border-color: var(--starfleet-blue);
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.4);
    background: rgba(0, 30, 60, 0.9);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 20, 40, 0.4);
}

.product-card {
    background: rgba(26, 26, 46, 0.9);
    border: 2px solid rgba(0, 184, 255, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--starfleet-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 184, 255, 0.3);
    background: rgba(0, 184, 255, 0.1);
}

.product-card.selected {
    border-color: var(--starfleet-green);
    background: rgba(0, 255, 157, 0.1);
    box-shadow: 0 10px 25px rgba(0, 255, 157, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.product-name {
    font-weight: 700;
    color: var(--starfleet-white);
    font-size: 1.1rem;
    line-height: 1.4;
    flex: 1;
}

.product-sku {
    font-size: 0.85rem;
    color: var(--starfleet-silver);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.product-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-stock {
    color: var(--starfleet-blue-light);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.product-stock i {
    color: var(--starfleet-blue);
}

.product-price {
    color: var(--starfleet-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.product-price i {
    color: var(--starfleet-gold);
}

.product-category {
    font-size: 0.85rem;
    color: var(--starfleet-silver);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--starfleet-silver);
    background: rgba(26, 26, 46, 0.5);
    border-radius: var(--border-radius);
    border: 2px dashed rgba(0, 184, 255, 0.3);
}

.no-products i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--starfleet-blue);
}

.selected-product {
    background: rgba(26, 26, 46, 0.9);
    border: 2px solid var(--starfleet-green);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 25px;
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.2);
    animation: hologram 3s ease-in-out infinite;
}

.selected-product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 157, 0.3);
}

.selected-product-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--starfleet-green);
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px var(--starfleet-green);
}

.selected-product-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    font-size: 0.95rem;
}

.selected-product-info div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 255, 157, 0.05);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 255, 157, 0.1);
}

.selected-product-info strong {
    color: var(--starfleet-green);
    min-width: 120px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selected-product-info span {
    color: var(--starfleet-white);
    font-family: 'Courier New', monospace;
    flex: 1;
}

/* ========== KOMPAKTOWY FORMULARZ ========== */
.calc-compact .calculator-inputs {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Mniejsze odstępy między sekcjami */
.modal-body > *:not(:first-child) {
    margin-top: 15px !important;
}

/* Kompaktowe nagłówki sekcji */
.info-box,
.allegro-settings-summary,
.return-policy-info {
    padding: 12px 15px !important;
    margin: 10px 0 !important;
}

.info-box h4 {
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
}

.info-box p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}