body {
    background-color: #FAFAFD;
    font-family: 'Montserrat', sans-serif;
}

a:hover {
    color: inherit !important;
}


.navbar {
    background-color: #fff;
    border-bottom: 1px solid #FFD300;
}

.logo {
    max-width: 30px;
    margin-right: 10px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-toggler-icon {
    background-image: url('img/burger.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
}

.navbar-toggler-icon.close-icon {
    background-image: url('img/x.svg');
}

.sidebar {
    background-color: #fff;
    border-right: 1px solid #FFD300;
    height: 100vh;
    position: fixed;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    min-width: 210px;
    z-index: 1040;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #211750;
}

.nav-link {
    color: #211750;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.nav-link img.icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.nav-link.active {
    background-color: #ffffff;
    font-weight: 600;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-link.active .yellowMark {
    position: absolute;
    width: 6px;
    height: 28px;
    background: #FFD300;
    border-radius: 0px 5px 5px 0px;
}

.nav-link.active > div {
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-link:hover {
    background-color: #f1f1f1;
}

.sidebar-footer {
    margin-top: auto;
    padding-bottom: 0;
    position: absolute;
    bottom: 0;
}

.footer-logo {
    max-width: 40px;
    border-radius: 50%;
}

.company-name {
    font-size: 14px;
    font-weight: 600;
    color: #211750;
}

.company-email {
    font-size: 10px;
    font-weight: 400;
    color: #5B5371;
}

.content {
    position: relative;
    padding: 20px;
    margin-left: 210px;
    overflow: clip;
}

.welcome {
    font-size: 22px;
    font-weight: 600;
    color: #211750;
}
.welcome img{
    width: 24px;
    height: auto;
}
.descWel{
    color: #5B5371;
    font-size: 14px;
}
.date {
    font-size: 14px;
    font-weight: 500;
    color: #5B5371;
}

.card {
    box-shadow: 0px 2px 10px #C9C5C533;
    border-radius: 10px;
    border: none;
    height: 100%;
}

.card-yellow {
    background-color: #FFD300;
    color: #333;
    font-weight: 600;
}

.card-blue {
    background-color: #cfe2ff;
    color: #333;
    font-weight: 600;
}

.card-green {
    background-color: #d4edda;
    color: #333;
    font-weight: 600;
}

.card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #5B5371;
}

.card-text {
    font-size: 28px;
    font-weight: 600;
    color: #211750;
}

.card-link {
    font-size: 14px;
    font-weight: 500;
    color: #5B5371;
}

.vehicle-park {
    font-size: 0.825rem;
    margin-bottom: 0;
    font-weight: 600;
    color: #211750;
}

.contentTable, .modalCf .modal-content{
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 2px 10px #9097A533;
    border: 1px solid #D5DBE8;
}

.table-responsive {
    overflow-x: auto;
}

.custom-table {
    background-color: white;
}

.custom-table thead th {
    background-color: #F4F4F4;
    font-size: 12px;
    font-weight: 400;
    color: #505050;
    border: none;
    vertical-align: middle !important;
}

.custom-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.custom-table tbody td {
    font-size: 11px;
    vertical-align: middle;
    font-weight: 400;
    color: #505050;
    padding: 15px;
    border-color: #ECEDEE;
}

.custom-table tbody tr:hover {
    background-color: #f1f1f1;
}

.iconCards{
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 30px;
}

@media (max-width: 768px) {
    .content {
        margin-left: 0;
        padding: 20px;
    }

    .navbar-brand {
        flex-grow: 1;
        justify-content: center;
    }

    .sidebar {
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 1050;
    }
    .navbar {
        position: relative;
        z-index: 1040;
    }

    .navbar-light .navbar-toggler {
        border: none !important;
        outline: none !important;
    }

    .sidebar-title,
    .company-name,
    .company-email {
        display: block;
    }

    .sidebar > div {
        display: none !important;
    }
    .nav-link img.icon {
        margin-left: 2rem;
        margin-right: 0.75rem;
    }
    .nav{
        height: 90%;
    }
    .input-group{
        width: 100% !important;
        margin-bottom: 0.5rem;
    }
    .btn-link{
        position: absolute;
        top: 0;
        right: 0;
    }
    .filtres .input-group .dropdown-menu{
        max-width: 350px !important;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .logo {
        margin: auto;
    }
    .sidebar {
        width: 80px;
        min-width: 80px;
        transition: width 0.3s;
    }

    .sidebar .nav-link {
        justify-content: center;
        padding: 0.5rem 0;
    }

    .sidebar .nav-link .link-text {
        display: none;
    }

    .sidebar .sidebar-title,
    .sidebar .company-name,
    .sidebar .company-email {
        display: none;
    }

    .content {
        margin-left: 80px;
        transition: margin-left 0.3s;
    }

    .sidebar-footer {
        flex-direction: column;
        align-items: center;
    }

    .sidebar-footer .nav-link {
        padding: 0.5rem 0;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .sidebar {
        width: 210px;
        min-width: 210px;
    }

    .content {
        margin-left: 210px;
    }

}
@media (max-width: 992px) {
    .uploadCf{
        max-width: 100% !important;
    }
}

@media (max-width: 992px) {
    .newFolder{
        max-width: 100% !important;
    }
}

@media (max-width: 992px) {
    .previousFolder{
        max-width: 100% !important;
    }
}


/* page interventions */

.table-hover tbody tr:hover {
    background-color: #f1f1f1;
}
.badge-primary,.badge-secondary,.badge-success,.badge-canceled{
    font-size: 10px;
    font-weight: 600;
    padding:4px 12px;
}


.badge-primary {
    background-color: #007bff;
    color: #1675F2;
}

.badge-success {
    background-color: #28a745;
    color: #05B60B;
}

.badge-secondary {
    background-color: #6c757d;
    color: #5B5471;
}

.badge-canceled{
    background-color: #FFE5E4;
    color: #FF0000;
}

.badge-yellow{
    background-color: #FFE364;
    font-size: 12px;
    border-radius: 30px;
    color: #5B5371;
}
.badge-yellow span{
    color: #211750;
}

.logout {
    border-top: 1px solid #ECEDEE;
}

.form-control {
    font-size: 14px;
    color: #5B5371;
    border: 1px solid #D5DBE8;
    border-radius: 4px;
    /* padding: 10px 15px; */
    border: none;
    box-shadow: none !important;
}

.pagination .page-link {
    color: #211750;
}

.pagination .page-item.disabled .page-link {
    color: #d1d1d1;
}
.pagination .page-item a{
    font-size: 11px;
    color: #505050;
}
.pagination .page-item.active .page-link {
    background-color: #F4F4F4;
    color: #211750;
    border-radius: 4px;
}

.pagination .page-link:hover {
    color: #FFD300;
}

.pagination .page-item .page-link {
    border:none !important;
    margin: 0 2px;
}

.filtres .input-group,.filtres .input-group .dropdown-menu .form-control {
    width: 250px;
    border: 1px solid #ECEDEE;
    border-radius: 6px;
    height: 35px;
}

.input-group .input-group-prepend .input-group-text {
    background-color: transparent;
    border:none;
}

.filtres .input-group .form-control {
    font-size: 12px;
    border-left: 0;
    background-color: transparent;
}

.badge-primary {
    background-color: #E7F1FE;
}

.badge-success {
    background-color: #E5F8E6;
}

.badge-secondary {
    background-color: #E7E6E1;
}

.pagination .page-link {
    color: #007bff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
}
.btn-link{
    color: #929395;
    font-size: 10px;
}
.btn-link:hover{
    color: #77787a;
    font-size: 10px;
}

.no-result p{
    color: #505050;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 0.5rem;
}
.no-result p:last-child{
    font-weight: 500;
    font-size: 10px;
}

/* compte */

.form-group input{
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #E7E6E1;
    border-radius: 5px 5px 0px 0px;
    color: #211750;
    border-bottom: 2px solid #E7E6E1;
    height: 50px;
}

.form-group .text-danger{
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font: normal normal normal 12px/15px Montserrat;
    letter-spacing: 0px;
    color: #FF1B1C;
}

.form-group .input-group{
    border: none !important;
}

#password{
    border-right: none;
}

.form-group .input-group .input-group-append .input-group-text{
    border-bottom-right-radius: 0;
    border-color: #E7E6E1;
    border-bottom: 2px solid #E7E6E1;
    height: 50px;
}
.form-group .btn-link{
    position: relative !important;
}
.form-group label{
    text-align: left;
    font: normal normal normal 12px/15px Montserrat;
    letter-spacing: 0px;
    color: #211750;
}


/* Styles pour la page de login */
.login-container {
    height: 100%;
    background-color: #f8f9fa;
}

.login-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    width: 90%;
    height: 97%;
}

.login-card .logo{
    max-width: 36px;
    width: 100%;
    height: auto;
}

.login-card .sidebar-title {
    font-size: 1.2rem !important;
}

.login-left {
    background-color: #FFD300;
    padding: 40px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 300px;
}

.login-left img{
    max-width: 200px;
}
.login-left > img {
    position: absolute;
    bottom:1rem;
    left: 1rem;
}

.login-left p {
    text-align: left;
    font: normal normal 600 26px/35px Montserrat;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.login-right {
    padding: 40px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-title {
    font-size: 18px;
    font-weight: 600;
    color: #211750;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #5B5371;
}

.form-control {
    font-size: 14px;
    font-weight: 400;
    color: #5B5371;
}

.btn-primary {
    background-color: #FFD300;
    color: #211750 !important;
    font-weight: 600;
    border: none;
    font-size: 14px;
}

.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary:focus-visible {
    background-color: #efcd21 !important;
    border-color: none !important;
    box-shadow: none !important;
}


.btn-outline-primary {
    border-color: #FFD300;
    color: #211750;
    font-weight: 600;
}

.btn-outline-primary img {
    max-width: 20px;
}

.btn-secondary{
    background-color: #D5DBE8 !important;
    border-radius: 5px;
    text-align: center;
    font: 14px/18px Montserrat;
    font-weight: 600;
    border: none;
    font-size: 14px;
    color: #211750 !important;
}

.input-group-text {
    background-color: #fff;
    border-left: 0;
    cursor: pointer;
}

.input-group-text i {
    color: #5B5371;
}

@media (min-width: 768px) {
    .login-card {
        flex-direction: row;
        max-width: 900px;
    }

    .login-left {
        padding: 160px 40px;
    }

    .login-right {
        padding: 40px;
    }
    .login-container {
        height: 100vh;
    }

    .login-card {
        width: 100%;
        height: auto;
    }

    .login-left {
        max-height: none;
    }
}

.no-scroll {
    overflow: hidden;
}

.logout {
    border-top: 1px solid #ECEDEE;
    margin-top: auto;
}

.mpOublie{
    text-align: left;
    font: normal normal normal 12px/15px Montserrat;
    letter-spacing: 0px;
    color: #2F2F2F;
}

.form-control:focus{
    box-shadow: none !important;
    border-color:#E7E6E1;
}

.logoFooter img{
    max-width: 150px;
}


.input-group.dropdown {
    position: relative;
}

.filtres .input-group .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 300px;
    padding: 4px 10px;
    margin: 0;
    font-size: 14px;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    gap: 1rem;
}

.filtres .input-group .dropdown-menu .form-group label[for="start-date"],.filtres .input-group .dropdown-menu .form-group label[for="end-date"] {
    margin-bottom: 0;
    font-size: 11px;
}

#start-date, #end-date{
    font-size: 12px;
}
.filtres .input-group .dropdown-menu .form-control {
    width: 100%;
}

.datepicker{
    padding: 1rem;
}

.datepicker .table-condensed{
    text-align: center;
}

.datepicker .old-day,.datepicker .day{
    padding: 0.3rem;
    font-size: 14px;
}

.filtres .dropdown-menu > div{
    gap: 1rem;
}

/* Onglets pour mobile */
.nav-tabs {
    border-bottom: 1px solid #211750;
    margin-bottom: 2rem;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #211750;
    background-color: #fff;
    border: none;
    border-color: #211750 !important;
    border-bottom: 2px solid #211750;
    font-weight: 600;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    color: #5B5371;
    font-weight: 500;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    background-color: transparent;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}



@media (min-width: 769px) {
    .tab-content > .tab-pane {
        display: block !important;
        opacity: 1;
    }
}

.badge-container {
    display: inline-flex;
    align-items: center;
    background-color: #F4F4F4;
    border: 1px solid #ECEDEE;
    border-radius: 16px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 600;
    color: #505050;
    max-height: 26px;
}

.badge-icon {
    margin-right: 5px;
}

.badge-icon img {
    width: 16px;
    height: 16px;
}

.badge-text {
    margin-right: 5px;
}

.badge-close {
    cursor: pointer;
    color: #929395;
    font-weight: 700;
}

.badge-close:hover {
    color: #77787a;
}

.gap{
    gap: 1rem;
}
.uploadCf{
    max-width: 280px;
    width: 100%;
}
.uploadCf img{
    width: 32px;
    height: 32px;
}

.uploadCf span{
    text-align: center;
    font: 16px/19px Montserrat;
    font-weight: 600;
    letter-spacing: 0px;
    color: #211750;
}

.uploadCf .modal-open .modal{
    background-color: #21175033;
}
.modalCf .modal-title{
    text-align: left;
    font: normal normal 600 16px/19px Montserrat;
    letter-spacing: 0px;
    color: #505050;
}
.modalCf .modal-header{
    border: none !important;
}

.modalCf .upload-area{
    max-width: 450px;
    width: 100%;
    background: #FAFAFD 0% 0% no-repeat padding-box;
    border: 1px dashed #707070;
    border-radius: 10px;
}

.modalCf .upload-area p{
    text-align: center;
    font: 16px/22px Montserrat;
    font-weight: 500;
    letter-spacing: 0px;
    color: #505050;
}

.modalCf .upload-area span{
    text-align: center;
    font: 14px/22px Montserrat;
    font-weight: 400;
    color: #505050;
}

.new-folder-area{
    min-width: 300px;
    width: 100%;
}
.modal-backdrop{
    background-color: #21175070;
}

.modalCf .upload-area-activated {
    border: 2px solid #707070;
}

.modalCf .upload-area span.file-to-upload-size-invalid {
    color: darkred;
    font-size: 108%;
}
.modalCf .upload-area span.file-to-upload-type-invalid {
    color: darkred;
    font-size: 108%;
}

.newFolder{
    max-width: 280px;
    width: 100%;   
}

.newFolder img{
    width: 32px;
    height: 32px;
}

.previousFolder{
    max-width: 280px;
    width: 100%;
}

.previousFolder img{
    width: 32px;
    height: 32px;
}