/* ==========================================================================
   SOS FELNIJAVÍTÁS - WEBOLDAL & AJÁNLATKÉRŐ PORTÁL STÍLUSOK
   ========================================================================== */

:root {
    --sos-black: #111111;
    --sos-dark: #18181b;
    --sos-gold: #ffd700;
    --sos-gold-hover: #e6c200;
    --sos-gold-dark: #856404;
    --sos-gold-light: #fffde6;
    --sos-gold-border: #ffe566;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-dark: #cbd5e1;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --success: #16a34a;
    --success-bg: #f0fdf4;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --info: #0284c7;
    --info-bg: #f0f9ff;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   HEADER & NAVBAR (SÖTÉT FEJLÉC ÉS LOGÓ)
   ========================================================================== */
.sos-header {
    background-color: var(--sos-black);
    color: #ffffff;
    border-bottom: 2px solid #27272a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 28px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sos-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.15s ease;
}

.sos-logo:hover {
    transform: scale(1.02);
}

.sos-logo-gold {
    color: var(--sos-gold);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.sos-logo-white {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sos-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: #e4e4e7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--sos-gold);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #111111;
    background: var(--sos-gold);
}

.header-user-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #27272a;
    border: 1px solid #3f3f46;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.15s ease;
}

.user-badge-pill:hover {
    border-color: var(--sos-gold);
    color: var(--sos-gold);
}

.user-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sos-gold);
}

/* ==========================================================================
   LAYOUT CONTAINERS & TYPOGRAPHY
   ========================================================================== */
.main-wrapper {
    max-width: 1440px;
    width: 100%;
    margin: 24px auto 48px;
    padding: 0 28px;
    flex: 1;
}

.sos-hero-compact {
    background: linear-gradient(135deg, #18181b 0%, #111111 100%);
    color: #ffffff;
    padding: 36px 28px 44px;
    border-bottom: 3px solid var(--sos-gold);
}

.hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-eyebrow {
    display: inline-block;
    color: var(--sos-gold);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.hero-title {
    font-size: 2.1rem;
    font-weight: 900;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1rem;
    color: #a1a1aa;
    margin: 0;
    max-width: 720px;
    line-height: 1.55;
}

/* CARDS */
.sos-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.sos-card:hover {
    box-shadow: var(--shadow-md);
}

.card-header-step {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--sos-gold);
    color: #111111;
    font-size: 1.15rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-title-group h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 2px 0;
    color: var(--text-main);
}

.card-title-group p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary, .btn-sos-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--sos-gold);
    color: #111111;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover, .btn-sos-gold:hover {
    background: var(--sos-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.btn-primary:active, .btn-sos-gold:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #1e293b;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-dark);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* ==========================================================================
   HYBRID FORM: 4-BUTTON WHEEL COUNT SELECTOR
   ========================================================================== */
.wheel-count-selector-box {
    margin-bottom: 22px;
    padding: 20px 22px;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.wheel-count-selector-label {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 14px;
}

.wheel-count-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .wheel-count-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wheel-count-btn {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: inherit;
    outline: none;
}

.wheel-count-btn:hover {
    border-color: var(--sos-gold);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.wheel-count-btn.active {
    border-color: var(--sos-gold);
    background: var(--sos-gold-light);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.35);
}

.wheel-count-btn .btn-title {
    font-size: 1.05rem;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.2;
}

.wheel-count-btn .btn-badge {
    font-size: 0.72rem;
    font-weight: 750;
    color: #475569;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-top: 4px;
}

.wheel-count-btn.active .btn-badge {
    background: #ffffff;
    color: var(--sos-gold-dark);
    border: 1px solid var(--sos-gold-border);
}

.wheel-count-btn .discount-badge {
    background: var(--sos-gold-light);
    color: var(--sos-gold-dark);
    font-weight: 800;
}

.wheel-count-btn.active .discount-badge {
    background: var(--sos-gold);
    color: #111111;
}

.wheel-count-hint-box {
    margin-top: 14px;
    padding: 10px 14px;
    background: var(--sos-gold-light);
    border: 1px solid var(--sos-gold-border);
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    color: var(--sos-gold-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   COMPACT WHEEL CARDS (DENSE, DEKRA STYLE)
   ========================================================================== */
.wheel-card {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 16px;
    position: relative;
    transition: border-color 0.15s ease;
}

.wheel-card:focus-within {
    border-color: var(--sos-gold);
}

.wheel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.wheel-header-titles {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.wheel-header-titles h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.wheel-eyebrow {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--sos-gold-dark);
    background: var(--sos-gold-light);
    border: 1px solid var(--sos-gold-border);
    padding: 2px 8px;
    border-radius: 4px;
}

.remove-link {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.remove-link:hover {
    background: #fee2e2;
}

/* FORM FIELDS */
.compact-field-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 860px) {
    .compact-field-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .compact-field-grid {
        grid-template-columns: 1fr;
    }
}

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

.form-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-label .required {
    color: var(--danger);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--border-dark);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-main);
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--sos-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.28);
}

.field-label-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--sos-gold-dark);
    background: var(--sos-gold-light);
    border: 1px solid var(--sos-gold-border);
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
}

.info-help-btn:hover {
    background: var(--sos-gold-border);
    color: #665200;
}

/* COMPACT DROPZONE */
.compact-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.15s ease;
    gap: 14px;
}

.compact-dropzone:hover {
    border-color: var(--sos-gold);
    background: #fffdf5;
}

.compact-dropzone-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compact-dropzone-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sos-gold-dark);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.compact-dropzone-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e293b;
}

.compact-dropzone-hint {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

.compact-dropzone-btn {
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.preview-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.preview-item {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #000;
}

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

/* DOCUMENT DROPZONE */
.compact-doc-box {
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 12px 18px;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.15s ease;
}

.compact-doc-box:hover {
    border-color: var(--sos-gold);
    background: #fffdf5;
}

/* SUBMIT PANEL */
.submit-panel {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: var(--shadow-md);
    margin-top: 24px;
}

.submit-info {
    font-size: 0.9rem;
    color: #475569;
    max-width: 620px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-info i {
    color: var(--success);
    font-size: 1.35rem;
}

/* ==========================================================================
   REGISTRATION & AUTH (CUSTOMER TYPE TOGGLE & PASSWORDS)
   ========================================================================== */
.customer-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: var(--radius-md);
}

.customer-type-option {
    cursor: pointer;
    text-align: center;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 800;
    color: #475569;
    transition: all 0.15s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.customer-type-option.active {
    background: var(--sos-gold);
    color: #111111;
    box-shadow: var(--shadow-sm);
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 44px;
}

.password-toggle-btn {
    position: absolute;
    right: 6px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-btn:hover {
    color: #0f172a;
}

/* ==========================================================================
   TABLES & STATUS BADGES (UGYEIM & UGY_RESZLETEK)
   ========================================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.sos-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.sos-table th {
    background: #f8fafc;
    padding: 12px 16px;
    font-size: 0.78rem;
    font-weight: 850;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.sos-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.sos-table tr:hover td {
    background-color: #fafaf9;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-processing {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.status-completed {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.status-rejected {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* FLASH NOTICES */
.flash-notice {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
}

.flash-notice.success {
    background: var(--success-bg);
    border: 1.5px solid #86efac;
    color: #166534;
}

.flash-notice.error {
    background: var(--danger-bg);
    border: 1.5px solid #fca5a5;
    color: #991b1b;
}

/* ==========================================================================
   AI PRELOADER MODAL (RADAR SCANNER)
   ========================================================================== */
.ai-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.ai-modal-overlay.visible {
    display: flex;
}

.ai-modal-box {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    padding: 38px 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    position: relative;
    animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-radar-scanner {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-pulse-circle {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2.5px solid var(--sos-gold);
    opacity: 0;
    animation: radarPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes radarPulse {
    0% { transform: scale(0.6); opacity: 0.9; }
    50% { opacity: 0.4; }
    100% { transform: scale(1.45); opacity: 0; }
}

.ai-rim-icon {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sos-gold) 0%, #e6c200 100%);
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.45);
    animation: rimSpin 8s linear infinite;
}

@keyframes rimSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-modal-box h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 850;
    color: #0f172a;
}

.ai-modal-subtitle {
    margin: 0 0 22px;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.ai-steps-progress {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 20px;
}

.ai-step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.35;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ai-step.active {
    opacity: 1;
    transform: translateX(2px);
}

.ai-step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 850;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-step.active .ai-step-dot {
    background: var(--sos-gold);
    color: #111111;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.4);
}

.ai-step-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #1e293b;
}

.ai-step-text small {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
}

.ai-modal-note {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ==========================================================================
   CUSTOM MODALS (INFO & LIGHTBOX)
   ========================================================================== */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.custom-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

.custom-modal-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

@keyframes modalScaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: #f8fafc;
}

.custom-modal-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-modal-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--sos-gold-light);
    border: 1px solid var(--sos-gold-border);
    color: var(--sos-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.custom-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.custom-modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.custom-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.custom-modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.55;
}

.custom-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   SIMPLIFIED DARK FOOTER (TELEFON NÉLKÜL)
   ========================================================================== */
.sos-footer {
    background-color: var(--sos-black);
    color: #a1a1aa;
    border-top: 1px solid #27272a;
    padding: 40px 28px 28px;
    margin-top: auto;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 28px;
}

.footer-brand {
    max-width: 440px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: 12px;
    color: #a1a1aa;
}

.footer-nav-col h4 {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #d4d4d8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--sos-gold);
}

.footer-bottom {
    border-top: 1px solid #27272a;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.82rem;
    color: #71717a;
}

.footer-bottom a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-bottom a:hover {
    color: var(--sos-gold);
}
