/* ========================================
   MASSROUFI - CHOIX DE LA LANGUE (première ouverture)
======================================== */
.masroufi-lang-choice[hidden] { display: none !important; }

.masroufi-lang-choice {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.masroufi-lang-choice-box {
    width: 100%;
    max-width: 360px;
    padding: 30px 24px 24px;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(145deg, #20231b, #10110e);
    border: 1px solid #343a29;
    border-radius: 22px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .45);
    animation: masroufiLangAppear .3s ease both;
}

@keyframes masroufiLangAppear {
    from { opacity: 0; transform: translateY(15px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.masroufi-lang-choice-box h2 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 24px;
    color: #fff;
    font-size: 21px !important;
    line-height: 1.35;
    font-weight: 750;
}

.masroufi-lang-choice-box h2 [lang="ar"] { font-family: 'Cairo', system-ui, sans-serif; }

.masroufi-lang-choice-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.masroufi-lang-choice-buttons button {
    min-height: 54px;
    padding: 12px;
    border: 1px solid #c7f747;
    border-radius: 12px;
    background: transparent;
    color: #c7f747;
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.masroufi-lang-choice-buttons button[lang="ar"] { font-family: 'Cairo', system-ui, sans-serif; }

.masroufi-lang-choice-buttons button:hover,
.masroufi-lang-choice-buttons button:focus-visible {
    background: #c7f747;
    color: #10120b;
    outline: none;
}
