/* ============================================================
   FaWoWa - lang_picker.css
   Eerste-bezoek taalkeuze popup
   ============================================================ */

#fw-lang-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    animation: fw-overlay-in 0.4s ease forwards;
}

@keyframes fw-overlay-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#fw-lang-box {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(39,174,96,0.15);
    padding: 2.5rem 2rem 2rem;
    max-width: 540px;
    width: 100%;
    text-align: center;
    transform: translateY(30px) scale(0.96);
    animation: fw-box-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fw-box-in {
    from { transform: translateY(30px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1);       opacity: 1; }
}

#fw-lang-box .fw-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1.25rem;
    filter: brightness(1.1);
}

#fw-lang-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

#fw-lang-box p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0 0 2rem;
}

.fw-lang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.fw-lang-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.22s ease;
    text-decoration: none !important;
    color: #e2e8f0 !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1rem;
}

.fw-lang-btn:hover {
    background: rgba(39, 174, 96, 0.15);
    border-color: #27AE60;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39,174,96,0.2);
}

.fw-lang-btn .fw-flag {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.fw-lang-btn .fw-lang-labels {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.fw-lang-btn .fw-lang-native {
    font-weight: 700;
    font-size: 1rem;
    color: #f1f5f9;
}

.fw-lang-btn .fw-lang-local {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 400;
}

.fw-lang-btn:hover .fw-lang-local {
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 440px) {
    #fw-lang-box {
        padding: 2rem 1.25rem 1.5rem;
    }
    .fw-lang-grid {
        grid-template-columns: 1fr;
    }
    #fw-lang-box h2 {
        font-size: 1.3rem;
    }
}
