/* ============================================
   PFCA — BILINGUAL SYSTEM CSS
   ============================================ */

/* Language Toggle Switch */
.pfc-lang-toggle {
    display: inline-flex;
    align-items: center;
    position: relative;
    background: rgba(10, 25, 47, 0.12);
    border-radius: 50px;
    padding: 5px;
    gap: 4px;
}

.pfc-lang-btn {
    position: relative;
    z-index: 2;
    padding: 9px 22px;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2D3436;
    cursor: pointer;
    border-radius: 50px;
    transition: color 0.35s ease;
    letter-spacing: 0.05em;
}

.pfc-lang-btn.active {
    color: #0A192F;
}

.pfc-lang-indicator {
    position: absolute;
    z-index: 1;
    background: #00D4AA;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 3px 12px rgba(0, 212, 170, 0.35);
}

/* Language Suggestion Banner */
.pfc-lang-suggestion {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    background: #0A192F;
    color: #F8F9FA;
    padding: 1.2rem 2rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    box-shadow: 0 6px 30px rgba(10, 25, 47, 0.4);
    border-bottom: 1px solid rgba(0, 212, 170, 0.15);
}

.pfc-lang-suggestion p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.pfc-lang-confirm, .pfc-lang-dismiss {
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s ease;
    border: none;
    letter-spacing: 0.02em;
}

.pfc-lang-confirm {
    background: #00D4AA;
    color: #0A192F;
}

.pfc-lang-confirm:hover {
    background: #00B894;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.3);
}

.pfc-lang-dismiss {
    background: transparent;
    color: rgba(248, 249, 250, 0.65);
    border: 1.5px solid rgba(248, 249, 250, 0.2);
}

.pfc-lang-dismiss:hover {
    color: #F8F9FA;
    border-color: rgba(248, 249, 250, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* Data-lang elements */
[data-lang] {
    transition: opacity 0.3s ease;
}

html[data-pfc-lang="en"] [data-lang="fr"]:not([data-lang-en]) {
    display: none;
}

html[data-pfc-lang="fr"] [data-lang="en"]:not([data-lang-fr]) {
    display: none;
}
