@charset "UTF-8";

/*!
 * Version - 1.1.1
 * Copyright (c) 2026 2A Digital <info@2adigital.site>
 * L’autorisation est accordée à toute personne qui en obtient une copie de ce style.
 * Il est strictement interdit de publier(vendre) sans l'autorisation préalable des auteurs.
 * Des spécialistes sont à l'origine des documents fournis.
*/
#main-menu {
    background-color: #022d1cf0;
}

#nav-edition .nav-link {
    color: #fff !important;
    text-align: left;
    padding-left: 6px;
    border-radius: 5px;
}

#nav-edition .nav-link.active {
    color: var(--primary) !important;
}

/* Container tabs - mobile first */
.tabs {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 6px;
    background: rgba(244, 246, 245, 0.08);

    border-radius: 10px 10px 0 0;

    /* UX mobile */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

/* Boutons */
.tab {
    flex: 0 0 auto;
    /* empêche l'écrasement */

    border: none;
    background: transparent;

    padding: 12px 16px;
    /* + confortable au touch */
    border-radius: 8px;

    font-size: 14px;
    font-weight: 400;

    color: #ffffff;
    cursor: pointer;

    white-space: nowrap;

    transition: all 0.2s ease;
}

/* Hover (desktop only) */
@media (hover: hover) {
    .tab:hover {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* Active */
.tab.active {
    background: var(--primary-shiny);
    color: #022d1c;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Focus (accessibilité clavier) */
.tab:focus-visible {
    outline: 2px solid var(--primary-shiny);
    outline-offset: 2px;
}

/* Responsive - tablette / desktop */
@media (min-width: 768px) {
    .tabs {
        justify-content: flex-start;
    }

    .tab {
        padding: 10px 18px;
        font-size: 15px;
    }
}

.s-bg-beige-opacity-60 {
    background-color: #fef4dba1 !important;
}