:root {
    --tbcomponent-bloc-background: rgb(248, 248, 248);
    --tbcomponent-bloc-color-content: rgb(22, 22, 22);

    --tbcomponent-modal-background: rgba(236, 236, 236, 0.4);
    --tbcomponent-modal-width: 50%;
    --tbcomponent-content-background: #fefefe;
    --tbcomponent-modal-font: Arial, sans-serif;
    --tbcomponent-line-color: #e0e0e0;
}

/* Import Lato Regular */
@font-face {
    font-family: "Lato";
    src: url("fonts/lato-regular.woff2") format("woff2"),
        /* Modern Browsers */ url("fonts/lato-regular.woff") format("woff"); /* Older Browsers */
    font-weight: normal;
    font-style: normal;
}

/* Import Lato Bold */
@font-face {
    font-family: "Lato";
    src: url("fonts/lato-bold.woff2") format("woff2"),
        /* Modern Browsers */ url("fonts/lato-bold.woff") format("woff"); /* Older Browsers */
    font-weight: bold;
    font-style: normal;
}

/* Import Lato Italic */
@font-face {
    font-family: "Lato";
    src: url("fonts/lato-italic.woff2") format("woff2"),
        /* Modern Browsers */ url("fonts/lato-italic.woff") format("woff"); /* Older Browsers */
    font-weight: normal;
    font-style: italic;
}

/* Import Lato Bold Italic */
@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-BoldItalic.woff2") format("woff2"),
        /* Modern Browsers */ url("fonts/Lato-BoldItalic.woff") format("woff"); /* Older Browsers */
    font-weight: bold;
    font-style: italic;
}

/* Optional: Set default font-family to Lato */
body {
    font-family: "Lato", sans-serif;
}

.tb_component {
    width: 100%;
    text-align: center;
}

.tb_field_upload {
    text-align: left;
}

.tb_field_text {
    text-align: left;
}

.tb_field_check {
    text-align: left;
}

.tb_field_textarea {
    text-align: left;
}

.tb_field_select {
    text-align: left;
}

.tb_table_data_div {
    text-align: left;
}

.tb_table_data_button {
    margin-top: 40px;
    margin-bottom: 40px;
}

.tb_table_data_title {
    font-weight: 700;
    font-size: 18px;

    padding-left: 20px;
    padding-right: 20px;
    padding-top: 3px;
}

.tb_table_data_subtitle {
    font-weight: 700;
    font-size: 14px;

    padding-left: 20px;
    padding-right: 20px;
    padding-top: 3px;
}

.tb_table_data {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

.tb_loading {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.tb_loading_div {
    padding-bottom: 40px;
}

.nav_head_logo {
    height: 70px;
}

.tb_button {
    white-space: nowrap;
    display: inline-block;
    padding-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.tb_button_green {
    color: white;
    background-color: #51cba5;
    font-weight: 700;
}

.tb_button_green:hover {
    background-color: #398d72;
}

.tb_button_gray {
    color: white;
    background-color: #bbb;
    font-weight: 700;
}

.tb_button_gray:hover {
    background-color: #747373;
}

.tb_button_red {
    color: white;
    background-color: rgb(250, 65, 65);
    font-weight: 700;
}

.tb_button_red:hover {
    background-color: rgb(196, 45, 45);
}

.tb_button_yellow {
    color: white;
    background-color: rgb(250, 202, 21);
    font-weight: 700;
}

.tb_button_yellow:hover {
    background-color: rgb(192, 154, 16);
}

/* Style de la fenêtre modale (background) */
.tb_modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    overflow: auto; /* Enable scroll if needed */
    background-color: var(--tbcomponent-modal-background);
    font-family: var(--tbcomponent-modal-font);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Added shadow */
}

/* Style de la fenêtre modale (content) */
.tb_modal-content {
    background-color: var(--tbcomponent-content-background);
    padding: 0;
    border: 0px solid #888;
    width: var(--tbcomponent-modal-width);
    background: #ffffff;
    box-shadow: 0px 0px 20px rgba(132, 132, 132, 0.2);
    border-radius: 10px;
}

/* Style du bouton de fermeture */
.tb_close {
    color: #ccc; /* Couleur plus claire */
    float: right;
    font-size: 30px; /* Taille de la police réduite */
    font-weight: normal; /* Poids de la police réduit */
    margin-right: 20px;
}

.tb_close:hover,
.tb_close:focus {
    color: #888; /* Couleur plus claire lors du survol */
    text-decoration: none;
    cursor: pointer;
}

/* Style du filet */
.tb_hr {
    border: none;
    height: 1px;
    color: var(--tbcomponent-line-color); /* Old IE */
    background-color: var(--tbcomponent-line-color); /* Modern Browsers */
    width: 100%; /* Full width */
}

/* New styles for padding */
.tb_title {
    padding-bottom: 10px;
    text-align: center;
}

.tb_content {
    padding: 20px;
    display: none;
}

/* New style for title */
.tb_title h2 {
    font-size: 1.5em; /* Adjust this value to change the height of title block */
    margin: 0; /* Adjust margin and padding to control the height */
    padding: 0;
    line-height: 1.5em; /* Adjust line-height to control the height */
}

.table_admin1 {
}

.tb_grey-box {
    background-color: #f7f7f8;
    color: var(--tbcomponent-bloc-color-content);
    width: 100%;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.tb_table-bloc1 {
    padding-top: 66px;
}

.tb_table-bloc2 {
    background-color: #f7f7f8;
    color: var(--tbcomponent-bloc-color-content);
    width: 100%;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
    margin-bottom: 82px;
}

.tb_table-bloc-content {
}

/* COMPONENT MESSAGE */
.tb_component_message {
    text-align: center;
    padding: 20px;
}

.tb_component_message_content {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* COMPONENT NAV TITLE */
.tb_component_nav_title {
    background-color: #51cba5;
    text-align: center;
    padding: 20px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.tb_component_nav_title_content {
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.tb_grey-box h2 {
    font-weight: bold;
    text-align: left;
}

.tb_grey-box p {
    text-align: left;
}

.tb_table-bloc2 h2 {
    font-weight: bold;
    text-align: left;
}

.tb_table-bloc2 p {
    text-align: left;
}

.tb_icon-container {
    display: flex;
    justify-content: flex-end;
    top: 10px;
    right: 10px;
}

.tb_icon-container button:hover {
    background: rgb(207, 207, 207);
}

.tb_icon-container button:active {
    background: rgb(153, 153, 153);
}

.tb_icon-table-container {
    display: flex;
    justify-content: flex-begin;
}

.tb_icon-table-container button {
    background: rgb(4, 108, 78);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 50%;
}

.tb_icon-table-container button:hover {
    background: rgb(3, 70, 51);
}

.tb_icon-table-container button:active {
    background: rgb(4, 78, 57);
}

.tb_tab_action_more {
    display: flex;
    justify-content: space-between;
    top: 10px;
    right: 10px;
    width: 100%;
}

.tb_button_plus {
    border: 1px solid #dddddd;
    border-radius: 5px;
    color: rgb(128, 127, 127);
    width: 80px;
    height: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    right: 5em;
    display: flex;
    justify-content: center;
}

.tb_dropdown_action_more {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    justify-content: center;
}

.tb_dropdown_action_more:hover .tb_dropdown-content_action_more {
    display: block;
}

.tb_dropdown_action_more button {
    border: 1px solid #dddddd;
    color: rgb(128, 127, 127);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 30px;
    cursor: pointer;
    border-radius: 5px;
    padding-bottom: 4px;
    font-weight: 700;
}

.tb_dropdown-content_action_more {
    margin-top: 30px;
    text-align: center;
    align-items: center;
    display: none;
    position: absolute;
    z-index: 1;
}

.tb_dropdown-content2_action_more {
    margin-top: 5px;
}

.tb_tab_admin_indication {
    color: #929191;
    font-size: 14px;
}

.tb_tab_admin_action {
    width: 40px;
}
.tb_tab_admin_count {
    margin-left: 25px;
}

.tb_tab_admin_nav {
    margin-right: 20px;
}

.tb_dropdown {
    position: relative;
    display: inline-block;
}

.tb_dropdown_left {
    display: flex;
    align-items: start;
}

.tb_dropdown button {
    border: 1px solid #dddddd;
    color: rgb(128, 127, 127);
    background: #ffffff;
    display: flex;
    align-items: left;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 20%;

    font-weight: 700;
}

.tb_dropdown_left button {
    border: 1px solid #dddddd;
    color: rgb(128, 127, 127);
    background: #ffffff;
    display: flex;
    align-items: left;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 20%;
    padding-bottom: 12px;
    font-weight: 700;
}

.tb_dropdown-content {
    text-align: left;
    align-items: left;
    display: none;
    position: absolute;
    z-index: 1;
}

.tb_dropdown-content_left {
    display: none;
    position: absolute;
    z-index: 1;
    margin-top: 0px;
    margin-left: -200px;
}

.tb_dropdown-content2 {
    margin-top: 5px;
    margin-left: 5px;
}

.tb_dropdown-content2_left {
    margin-top: 0px;
    margin-left: 25px;
}

.tb_dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.tb_dropdown:hover .tb_dropdown-content {
    display: block;
}

.tb_dropdown_left:hover .tb_dropdown-content_left {
    display: block;
}

.tb_error_label {
    display: block;
    color: #de0000;
    text-align: right;
    padding-right: 12px;
}

.tb_no_error_label {
    display: none;
}

.tb_no_error {
    border-color: rgb(209 213 219);
}

.tb_error {
    border-color: #de0000;
}

/* COMPOSANT NAV MENU */

.tb_nav_menu {
    display: flex;
    justify-content: left;
    z-index: 1;
}

.nav_menu-item {
    min-width: 200px;
    max-width: 300px;
    width: max-content;

    .tb_nav_menu_dropdown {
        border: 1px solid lightgray;
        border-right: none;
        border-top: none;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        position: relative;
    }
}

.nav_menu-item:nth-last-child(2):not(:last-child) {
    .tb_nav_menu_dropdown {
        border-right: 1px solid lightgray;
    }
}

.tb_nav_menu_dropdown {
    position: relative;
}

@media (min-width: 62em) {
    .tb_nav_menu_dropdown_more {
        align-items: center;
        text-align: center;
        z-index: 1;
    }

    .tb_nav_menu_dropdown_left:hover {
        color: #14375d;
    }

    .tb_nav_menu_dropdown-content_left {
        margin-left: 90px;
        margin-top: -15px;
        display: none;
        position: absolute;
        z-index: 1;
    }
}

.tb_nav_menu_dropdown2:hover .tb_nav_menu_dropdown-content {
    display: block;
}

.tb_nav_menu_dropdown_more {
    border-right: 1px solid lightgray;
    display: none;
    height: min-content;
    min-width: 100.5%;

    .dropdown_content {
        padding-left: 1em;
    }
}

.tb_nav_menu_dropdown-content_left {
    display: none;

    .tb_nav_menu_dropdown-ul {
        background-color: #ffffff;
        border: 1px solid lightgray;
    }
}

.tb_nav_menu_dropdown a,
.menu-anchor {
    width: max-content;
    border: 0px solid #000000;
    color: #425569;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    cursor: pointer;
    border-radius: 5px;
    padding-bottom: 4px;
    font-weight: 500;
}

.menu-anchor {
    margin: auto;
}

.tb_nav_menu_dropdown :hover {
    color: #14375d;
}

.tb_nav_menu_dropdown-content2_action_more {
    background: #ffffff;
}

.tb_nav_menu_dropdown2 {
    position: relative;
}

.tb_nav_menu_dropdown_left {
    align-items: start;
    display: flex;
    cursor: pointer;
}

.tb_nav_menu_dropdown_left a {
    color: #5b748f;
    border: 0px solid #e7e7e7;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    padding: 1.5em 0;
}

.tb_nav_menu_dropdown-content2_left {
    background: #f8f8f8;

    & a {
        padding: 1em;

        &:hover {
            background-color: rgb(243 244 246, 100);
        }
    }
}

.tb_nav_menu_dropdown-content2_left {
    margin-left: 209px;
    margin-right: 100px;
    margin-bottom: 100px;
    margin-top: 25px;
    min-width: 150px;
    width: max-content;
}



/* COMPONENT FORMTABLE */

.tb_formtable_input {
    border-radius: 5px !important;
    margin-right: 0.5em;
    margin-bottom: 0.2em;
}

.tb-toggle-switch {
    background-color: #e5e7eb;
    position: relative;
    width: 2.75rem;
    height: 1.5rem;
    border-radius: 9999px;
    transition: 0.3s ease-in-out;
}

.tb-toggle-thumb {
    top: 0.125rem;
    left: 0.125rem;
    background-color: #ffffff;
    border-color: #d1d5db;
    height: 1.25rem;
    width: 1.25rem;
    border-width: 1px;
    border-radius: 9999px;
    transition: transform 0.3s ease-in-out;
}

.tb-toggle-label input:checked + .tb-toggle-switch {
    background-color: #2563eb;
}

.tb-toggle-label input:checked + .tb-toggle-switch .tb-toggle-thumb {
    transform: translateX(20px);
}

/* Focus styles */
.tb-toggle-label input:focus-visible + .tb-toggle-switch {
    outline: none;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.5);
}

/* Table styles */
.tb-table-container {
    margin-top: 20px;
    overflow-x: auto;
}

.tb_formtable_table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden; /* Pour que les coins des cellules suivent l'arrondi de la table */
}

.tb_formtable_th {
    padding: 0.5em;
    text-align: center;
    background-color: #ffffff;
    color:#838383;
    font-size: 12px;
    border-bottom: 1px solid gray;
}

.tb_formtable_td {
    padding: 1em;
}

.tb_formtable_tr {
    background-color: #ececec;
    color:#3d3d3d;
    border-bottom: 1px solid rgb(245, 245, 245);
    padding: 1em;
}

/* COMPONENT FORMTABLE >> */

/* Réponses TeamBrain  */

.tb_restaure_css_defaut ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

.tb_restaure_css_defaut p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.tb_restaure_css_defaut a {
    color: #0000eeb7;
    text-decoration: underline;
    background-color: initial; /* Utilise la couleur de fond par défaut du navigateur */
    font-weight: initial; /* Utilise le poids de police par défaut du navigateur */
    font-style: initial; /* Utilise le style de police par défaut du navigateur */
}

/* component_chart */
.tb-chart-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 1em;

    * {
        overflow: visible;
    }
}

@media (min-width: 48em) and (max-width: 62em) {
    .tb-chart-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1em;
    }
}

@media (min-width: 0em) and (max-width: 48em) {
    .tb-chart-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 1em;
    }
}
/* ---------------------- */

/* component_form_colorpicker */
.tb_hex-input {
    border-color: #888;
    border-right: none !important;
    border-width: 1px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    max-width: 160px;
}

.tb_hidden {
    display: none;
}

.tb-tooltip-right-cp {
    border-top-left-radius: 0 !important;
    left: 100%!important;
    top: 1.5em;
}
/* ---------------------- */

/* component_form_quantity component_form_upload */
.tb-tooltip-right {
    left: 100%!important;
}
/* ---------------------- */


/* component_modal_basic */
.tb-tooltip-left-m {
    border-top-right-radius: 0 !important;
    border-top-left-radius: 5px !important;
    right: 1em !important;
    top: 1em !important;
}

.tb-tooltip-right-m {        
    border-top-right-radius: 5px !important;
    border-top-left-radius: 0 !important;
    top: 1.5em !important;
    right: 100%!important;
}
/* ---------------------- */

/* component_multitoggle */
.tb-toggle-switch {
    background-color: #e5e7eb;
    position: relative;
    width: 2.75rem;
    height: 1.5rem;
    border-radius: 9999px;
    transition: 0.3s ease-in-out;
}

.tb-toggle-thumb {
    top: 0.125rem;
    left: 0.125rem;
    background-color: #ffffff;
    border-color: #d1d5db;
    height: 1.25rem;
    width: 1.25rem;
    border-width: 1px;
    border-radius: 9999px;
    transition: transform 0.3s ease-in-out;
}

.tb-toggle-label input:checked + .tb-toggle-switch {
    background-color: #2563eb;
}

.tb-toggle-label input:checked + .tb-toggle-switch .tb-toggle-thumb {
    transform: translateX(20px);
}

/* Focus styles */
.tb-toggle-label input:focus-visible + .tb-toggle-switch {
    outline: none;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.5);
}
/* ---------------------- */

/* component_nav_menu */
.tb-nav_menu-hamburger {
    display: none;
    width: min-content;
}

.tb-outter_border {
    border-bottom: 1px solid lightgray;
    min-width: 50px;
}

.tb-menu-tooltip-content {
    animation-direction: alternate;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: slideTooltipIn;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 6px 21px rgb(0 0 0 / 10%);
    color: #504f4f;
    display: none;

    margin: auto;

    padding: 5px 10px 10px 10px;
    position: absolute;
    top: 3.5em;
    width: 150px;
    z-index: 10000;

    .arrow_up {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #ccc;
        display: inline-block;
        position: absolute;
        left: 43%;
        margin: auto;
        top: -1em;
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
}

@media (min-width: 62em) {
    .tb_nav_menu_dropdown:not(.no-hover):hover .tb-menu-tooltip-content {
        display: block !important;
    }

    .tb_nav_menu_dropdown:not(.no-hover):hover {
        background-color: rgb(243 244 246/1);
    }

    .tb_nav_menu_dropdown_more {
        height: max-content;
        background-color: white;
        position: absolute;
        border: 1px solid lightgray;
        border-top-width: 1px;
        border-top-style: solid;
        border-top-color: lightgray;
        border-top: none;
        top: 2.2em;
        width: 100.8%;
    }
}

@media (max-width: 62em) {
    .tb-menu-arrow {
        transform: rotate(90deg);
    }

    .tb_nav_menu {
        display: flex;
        flex-wrap: wrap;
    }

    .tb_nav_menu_dropdown_left {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .nav_menu-item,
    .nav_menu-item > div {
        width: 100%;
    }

    .tb_nav_menu_dropdown {
        flex-wrap: wrap;
        margin: 0;

        a {
            justify-content: start;
            width: 100%;
        }
    }

    .tb-nav_menu-hamburger {
        display: flex;
        cursor: pointer;
        text-align: end;
        margin-bottom: 1em;
        position: relative;
        right: 0;

        div {
            width: min-content;
        }
    }

    .tb-nav_menu-hamburger span {
        background-color: gray;
        height: 2.5px;
        width: 25px;
    }

    .tb_nav_menu_dropdown_more {
        box-shadow: none;
        border: none;
        height: min-content;
        width: 100%;

        div {
            box-shadow: none;
            border: none;
            height: min-content;
            margin: 0;
            width: 100%;
        }
    }

    .tb-sub_dropdown_content {
        padding-left: 2em;
    }

    .tb_nav_menu {
        display: none;
    }
}

.tb-underline {
    border-bottom: 1px solid lightgray;
    /* position: absolute;
    top: 3.75em; */
    width: 20px;
    z-index: 1;
}
/* ---------------------- */

/* component_nav_tab */

.tb-nav-item:hover {
    color: rgb(37 99 235);
    border-color: rgb(37 99 235);
}

.tb-dropdown-menu {
    display: none;
    position: absolute;
    left: -0.05em;
    margin-top: -0.15rem;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    border-top: 0;
    z-index: 0;

    a:last-child {
        border-bottom-left-radius: 9px;
        border-bottom-right-radius: 9px;
    }
}

@media (min-width: 48em) {
    .tb-nav-more:hover {
        border: 1px solid gray;
        border-bottom: 0;
        border-radius: 10px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding-top: 0 !important;

        a {
            background: white;
            position: relative;
            z-index: 10000;
        }
    }

    .tb-dropdown-menu {
        border: 1px solid gray;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        min-width: 100px;
    }
}

.tb-dropdown-item {
    display: block;
    padding: 0.5rem;
    color: #333;
    text-decoration: none;
    &:hover {
        background-color: lightgray !important;
    }
}

.tb-dropdown-item:hover {
    background-color: #f1f1f1;
}

.tb-show-dropdown .tb-dropdown-menu {
    display: block;
}

.tb-show-dropdown .tb-nav-more {
    border-bottom: 0;
}

.tb-nav-more {
    position: relative;
    z-index: 10000;
}

/* ---------------------- */


/* component_table_admin */
.tb_search_class_widget {
    align-items: center;
    display: flex;
    gap: 0.3em;
    justify-content: start;

    .tb_search-input_container {
        display: flex;
        width: 100%;

        .tb_search-input-filled {
            border-right: none !important;
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }

        .tb_search-input {
            border: 1px solid lightgray;
            border-left: none;
            border-right: 1px solid lightgray;
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
            font-size: 12px;
            height: 30px;
            padding: 0.3em 0.7em;
            width: 100%;

            &:focus {
                outline: none;
            }
        }

        .tb_search-icon {
            align-items: center;
            background-color: white;
            border: 1px solid lightgray;
            border-right: none;
            border-radius: 5px;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            display: flex;
            fill: gray;
            padding-left: 0.8em;
            width: 27px;
        }

        .tb_search-delete {
            display: none;
        }

        .tb_search-delete-block {
            border: 1px solid lightgray;
            border-left: none;
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
            display: block;
            fill: gray;
            padding-right: 0.5em;
            width: 23px;
        }
    }

    .tb_search-select {
        border: 1px solid lightgray;
        border-radius: 5px;
        font-size: 12px;
        max-height: 30px;
        min-height: 30px;
        padding: 0 4em 0 1em;
        width: fit-content;
        color: gray;

        option {
            height: 30px;
        }

        &:focus {
            outline: none;
        }
    }
}
/* ---------------------- */

/* component_nav_tabcontent */
.tb-nav-item2:hover {
    color: rgb(37 99 235);
    border-color: rgb(37 99 235);
}

.tb-nav-item-active2 {
    color: rgb(37 99 235);
    border-color: rgb(37 99 235);
}

.tb-dropdown-menu2 {
    display: none;
    position: absolute;
    left: -0.05em;
    margin-top: -0.15rem;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    border-top: 0;
    z-index: 0;

    li:last-child {
        border-bottom-left-radius: 9px;
        border-bottom-right-radius: 9px;
    }
}

@media (min-width: 48em) {
    .tb-nav-more2:hover {
        border: 1px solid gray;
        border-bottom: 0;
        border-radius: 10px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding-top: 0 !important;

        ul {
            background: white;
            position: relative;
            z-index: 10000;
        }
    }

    .tb-dropdown-menu2 {
        border: 1px solid gray;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        min-width: 100px;
    }
}

.tb-dropdown-item2 {
    display: block;
    padding: 0.5rem;
    color: #333;
    text-decoration: none;

    &:hover {
        background-color: lightgray !important;
    }
}

.tb-dropdown-item2:hover {
    background-color: #f1f1f1;
}

.tb-show-dropdown2 .tb-dropdown-menu2 {
    display: block;
}

.tb-show-dropdown2 .tb-nav-more2 {
    border-bottom: 0;
}

.tb-nav-more2 {
    position: relative;
    z-index: 10000;
}
/* ---------------------- */

/* Fix pour les menus mc-menu - s'assurer qu'ils s'affichent au-dessus de tout */
.mc-menu {
    z-index: 9999 !important;
}

/* S'assurer que les conteneurs parents n'interfèrent pas avec les menus */
.table_admin1 {
    overflow: visible !important;
    max-width: 98%;
}

.table_admin2,
.tb_table-bloc1,
.tb_table-bloc2,
.mc-dropdown {
    overflow: visible !important;
}

/* ---------------------- */

/* component_toggle */
.tb-toggle-switch2 {
    background-color: #e5e7eb;
    position: relative;
    width: 2.75rem;
    height: 1.5rem;
    border-radius: 9999px;
    transition: 0.3s ease-in-out;
}

.tb-toggle-thumb2 {
    top: 0.125rem;
    left: 0.125rem;
    background-color: #ffffff;
    border-color: #d1d5db;
    height: 1.25rem;
    width: 1.25rem;
    border-width: 1px;
    border-radius: 9999px;
    transition: transform 0.3s ease-in-out;
}

.tb-toggle-label2 input:checked + .tb-toggle-switch2 {
    background-color: #2563eb;
}

.tb-toggle-label2 input:checked + .tb-toggle-switch2 .tb-toggle-thumb2 {
    transform: translateX(20px);
}

/* Focus styles */
.tb-toggle-label2 input:focus-visible + .tb-toggle-switch2 {
    outline: none;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.5);
}
/* ---------------------- */