:root {
    --etihad-dark: #243342;
    --etihad-gold-1: #c5a059;
    --etihad-gold-2: #9e7f41;
    --etihad-text: #333333;
    --etihad-grey-bg: #f7f8f9;
    --etihad-grey-border: #f0f0f0;
}

#lfa-premium-wrapper {
    font-family: 'Inter', sans-serif;
    width: 100%;
    max-width: 100%; /* Utilise 100% de la largeur de la page */
    padding: 0 15px; /* Empêche de toucher les bords de l'écran */
    box-sizing: border-box;
    margin: 40px auto;
}



/* =========================================
   VERSION PC & TABLETTE
   ========================================= */
.lfa-booking-bar {
    display: flex;
    background: #fff;
    border-radius: 16px;
    padding: 8px 10px; /* Marges internes réduites pour gagner de la place */
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    align-items: center;
    border: 1px solid #f0f0f0;
    width: 100%;
    box-sizing: border-box;
}


.lfa-mobile-tabs { display: none; }

.lfa-segment {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    background: var(--etihad-grey-bg);
    padding: 8px 12px; /* Cases beaucoup plus petites */
    border-radius: 8px;
    margin: 0 2px; /* Espacement divisé par plus de deux */
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid var(--etihad-grey-border); 
}

.lfa-divider {
    width: 1px;
    height: 25px; /* Trait vertical plus petit */
    background: #e0e0e0;
    margin: 0 2px; /* Espacement réduit de moitié */
}


.lfa-bb-icon .dashicons {
    font-size: 16px; /* Icônes plus petites */
    color: var(--etihad-gold-1); 
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
    line-height: 1;
}

.lfa-info { 
    display: flex; 
    flex-direction: row;
    align-items: center;
    gap: 5px; /* Espace réduit entre la question et la réponse */
}

.lfa-label {
    font-size: 12px; /* Texte plus petit */
    font-weight: 600;
    color: #888;
    margin-bottom: 0;
    white-space: nowrap;
}

.lfa-value {
    font-size: 12px; /* Texte plus petit */
    font-weight: 700;
    color: var(--etihad-text);
    white-space: nowrap;
}



.lfa-drop {
    position: absolute;
    top: 110%;
    left: 0;
    background: #fff;
    width: 100%;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    display: none;
    z-index: 999;
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,0.03);
}
.lfa-segment.open .lfa-drop { display: block; }
.lfa-drop-wide { width: 350px; left: auto; right: 0; }

.lfa-opt {
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: 0.2s;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}
.lfa-opt:hover { background: var(--etihad-grey-bg); color: var(--etihad-gold-2); }

.lfa-btn {
    padding: 10px 16px; /* Bouton plus petit */
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px; /* Police réduite */
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 5px; /* Marge réduite */
    white-space: nowrap;
    flex-shrink: 0; /* Empêche le bouton de s'écraser */
}



.lfa-btn:not(.disabled) {
    background: linear-gradient(135deg, var(--etihad-gold-1), var(--etihad-gold-2));
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}
.lfa-btn:not(.disabled):hover {
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.5);
    transform: translateY(-1px);
}

.lfa-btn.disabled { background: #cbd0d4; cursor: not-allowed; color: #fff; }

.lfa-card-option {
    display: flex;
    align-items: center;
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.lfa-card-option:hover { background: var(--etihad-grey-bg); }
.lfa-card-avatar {
    width: 40px;
    height: 40px;
    background: var(--etihad-dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}
.lfa-card-details h4 { margin: 0; font-size: 15px; color: var(--etihad-text); }
.lfa-sub { font-size: 12px; color: #777; margin: 3px 0; }
.lfa-masked { font-size: 11px; color: #aaa; margin: 0; }

/* =========================================
   VRAIE FENÊTRE MODALE DE CONTACT (FLOTTANTE)
   ========================================= */
.lfa-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(36, 51, 66, 0.85) !important;
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 999999 !important; 
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lfa-modal-overlay.active {
    display: flex !important;
    opacity: 1;
}

.lfa-modal-content {
    background: #ffffff !important; 
    width: 90%;
    max-width: 450px;
    border-radius: 16px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.lfa-modal-overlay.active .lfa-modal-content {
    transform: translateY(0);
}

.lfa-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
}

.lfa-modal-close:hover { color: var(--etihad-dark); }

.lfa-modal-content h3 {
    margin: 0 0 25px 0;
    color: var(--etihad-dark) !important;
    font-size: 22px;
    text-align: center;
    font-weight: 700;
}

.lfa-form-group {
    margin-bottom: 18px;
    text-align: left;
}

.lfa-form-group label {
    display: block;
    font-size: 13px;
    color: #555 !important;
    margin-bottom: 8px;
    font-weight: 600;
}

.lfa-form-group input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--etihad-grey-border) !important;
    border-radius: 8px;
    background: var(--etihad-grey-bg) !important;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--etihad-text) !important;
    box-sizing: border-box;
    transition: 0.2s;
}

.lfa-form-group input:focus {
    outline: none;
    border-color: var(--etihad-gold-1) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.lfa-submit-btn {
    width: 100%;
    padding: 16px;
    margin-top: 15px;
    font-size: 16px;
    display: block;
    text-align: center;
}

/* =========================================
   VERSION MOBILE
   ========================================= */
@media (max-width: 900px) {
    #lfa-premium-wrapper {
        background: var(--etihad-dark);
        padding: 30px 15px;
        border-radius: 20px;
    }
    
    .lfa-mobile-tabs {
        display: flex;
        background: #fff;
        padding: 5px;
        border-radius: 50px;
        gap: 2px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        position: relative;
        z-index: 10;
        width: 95%;
        margin: 0 auto -20px auto;
    }
    .lfa-mtab {
        flex: 1;
        padding: 12px 5px;
        text-align: center;
        color: #666;
        font-size: 13px;
        font-weight: 500;
        border-radius: 40px;
        cursor: pointer;
    }
    .lfa-mtab.active { background: var(--etihad-dark); color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
    
    .lfa-booking-bar {
        flex-direction: column;
        border-radius: 15px;
        background: #fff;
        padding: 40px 15px 20px 15px;
        box-shadow: none;
        border: none;
    }

    .lfa-segment {
        display: none;
        background: transparent;
        border: none;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 0;
        margin: 0;
    }
    .lfa-segment.active-step { display: block; }
    
    /* On cache les icônes et les séparateurs, mais PLUS le bouton (.lfa-action) */
    .lfa-bb-icon, .lfa-divider { display: none; } 

    /* Configuration du bouton pour mobile (masqué par défaut) */
    .lfa-action {
        display: none; 
        width: 100%;
        margin-top: 20px;
    }

    .lfa-action .lfa-btn {
        margin-left: 0;
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    .lfa-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .lfa-label {
        font-size: 18px;
        color: var(--etihad-dark);
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
        white-space: normal;
    }
    .lfa-value {
        display: block;
        padding: 15px;
        border: 1px solid #ddd;
        border-radius: 12px;
        color: #555;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        background: #fdfdfd;
        font-size: 15px;
        max-width: none;
    }

    .lfa-drop {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 1px solid #eee;
        margin-top: 15px;
        border-radius: 12px;
        max-height: 250px;
        overflow-y: auto;
        display: none;
        box-sizing: border-box;
    }
    
    .lfa-opt { text-align: center; padding: 15px; }
}
    /* Réduction du bouton d'envoi de la modale sur mobile */
    .lfa-submit-btn {
        width: 60%; /* Réduit la largeur de moitié environ */
        padding: 10px; /* Réduit la hauteur du bouton */
        font-size: 12px; /* Diminue la taille de l'écriture */
        margin: 15px auto 0 auto; /* Centre le bouton parfaitement */
        display: block;
    }
