/* ==========================
   LANGUAGE SWITCHER
   ========================== */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.language-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    padding: 0 12px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;

    color: #334155;
    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    transition: all 0.3s ease;
}

.language-switcher a:hover {
    background: #0056b3;
    color: #ffffff;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

.language-switcher a.active {
    background: #0056b3;
    color: #ffffff;
    border-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
}

/* ==========================
   VERSION DRAPEAUX
   ========================== */

.language-switcher.flag a {
    min-width: 65px;
    gap: 6px;
}

/* ==========================
   DARK NAVBAR
   ========================== */

.navbar-dark .language-switcher a {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border-color: rgba(255,255,255,0.15);
}

.navbar-dark .language-switcher a:hover,
.navbar-dark .language-switcher a.active {
    background: #ffffff;
    color: #0056b3;
}

/* ==========================
   RESPONSIVE TABLETTE
   ========================== */

@media (max-width: 992px) {

    .language-switcher {
        margin-left: 10px;
        gap: 6px;
    }

    .language-switcher a {
        min-width: 38px;
        height: 38px;
        font-size: 12px;
    }
}

/* ==========================
   RESPONSIVE MOBILE
   ========================== */

@media (max-width: 768px) {

    .language-switcher {
        width: 100%;
        justify-content: center;
        margin: 15px 0;
    }

    .language-switcher a {
        min-width: 50px;
        height: 40px;
        font-size: 13px;
    }
}

/* ==========================
   PETITS SMARTPHONES
   ========================== */

@media (max-width: 480px) {

    .language-switcher {
        gap: 5px;
    }

    .language-switcher a {
        min-width: 45px;
        height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }
}