.container-nav-tabs {
    z-index: 4;
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 1760px;
    margin: 0 auto;
    transition-duration: .3s;
    transition-property: max-width, margin;
    transition-timing-function: cubic-bezier(.2, 0, 0, 1);
    border-radius: 40px;
}

.custom-nav-tabs {
    display: flex;
    justify-content: center;
    height: 65px;
    margin: 0 8px;
    gap: 8px;
    transition: height .3s cubic-bezier(.2, 0, 0, 1), opacity .2s cubic-bezier(.2, 0, 0, 1);
    border-radius: 40px;
    background: #fff;
    opacity: 1;
}

.custom-nav-tabs .nav-item,
.container-nav-tabs .nav-tabs .nav-link.active {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
    font-variation-settings: "GRAD" 0, "opsz" 17;
    display: inline-flex;
    position: relative;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: none;
    border-radius: 40px;
    background: #fff;
    color: #212529;
    line-height: 44px;
    text-decoration: none;
    text-decoration: initial;
    cursor: pointer;
    vertical-align: middle;
}

.custom-nav-tabs .nav-item:hover {
    background-color: #f4f1f7;
    font-weight: 600;
}

.custom-nav-tabs .nav-item:hover i {
    transform: scale(1.3);
}

.custom-nav-tabs .nav-item i {
    margin-right: 3px;
}

.container-nav-tabs .nav-item:has(.nav-link.active),
.container-nav-tabs .nav-tabs .nav-link.active {
    background-color: #f6f4fc;
    font-weight: 600;
}

.container-nav-tabs .nav-tabs .nav-link {
    border: 0;
}

.custom-nav-tabs .nav-link {
    color: #212529 !important;

}

.container-nav-tabs.sticky {
    position: fixed;
    top: 70px;
    width: 100%;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    max-width: 1040px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 40px;
    margin-bottom: 16px;
}

.container-nav-tabs.sticky .custom-nav-tabs {
    height: 55px;
    margin: 0;
    padding-top: 0;
    border-radius: 40px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

.container-nav-tabs.sticky .custom-nav-tabs .nav-item {
    height: 55px;
}

.container-nav-tabs .md-tabs {
    background-color: transparent !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    padding: 0;
}

.container-nav-tabs .nav-tabs {
    border-bottom: 0;
}


.simple-nav.nav-tabs {
    border-bottom: 0;
}

.simple-nav.nav-tabs .nav-link {
    background: #fff;
    border: 1px solid #dee2e68f !important;
    text-transform: none;
    padding: .6rem 1.6rem !important;
    font-weight: 500;
    font-size: 1rem !important;
    width: 100%;
    margin: auto;
    cursor: pointer;
}

.simple-nav.nav-tabs .nav-item {
    width: 46%;
    margin: 0 10px;
}


.simple-nav.nav-tabs .nav-item:has(.nav-link.active) {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px !important;
}

.simple-nav.nav-tabs .nav-link.active {
    color: rgb(118, 75, 162) !important;
}

@media (max-width: 500px) {

    /* Responsive Tabs for Fiche Vehicule */
    .container-nav-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .custom-nav-tabs {
        flex-wrap: nowrap !important;
        white-space: nowrap;
        min-width: max-content;
        width: 100%;
    }

    .custom-nav-tabs .nav-item {
        flex: 0 0 auto;
    }


    /* Hide scrollbar for Chrome, Safari and Opera */
    .container-nav-tabs::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .container-nav-tabs {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }
}