.navbar-vertical .navbar-nav .nav-link {
    color: #000;
}
.navbar-vertical .navbar-nav .nav-link.active,
.sidenav .collapse .nav-item .nav-link.active,
a.nav-link.active.sous-menu {
    background-color: #6096BA !important;
    color: #fff;
    transition: 0s;
}


.navbar-vertical .navbar-nav .nav-link:hover:not(.sous-menu),
.sidenav .collapse .nav-item .nav-link:hover:not(.sous-menu) {
    background-color: #6096BA !important;
    color: #fff;
    transition: 0.3s ease;
}

.card-status{
    margin: 1.5rem;
}


.bg-gradient-primary {
    background-color: #6096BA !important ;
}
.bg-bloc-primary {
    background: #274C77 !important ;
}
.btn-primary,
.btn-secondary:hover{
    background: #274C77 !important;
    color: #fff !important;
    box-shadow:#274C77 !important;
    border-color: #274C77 !important;
}
.btn-primary:hover,
.btn-secondary{
    background: #8B8C89 !important;
    color: #fff !important;
    box-shadow:#8B8C89 !important;
    border-color: #8B8C89 !important;
}

.btn-third{
    background: #fff !important;
    color: #274C77 !important;
    box-shadow:none!important;
    border-color: none !important;
}
.btn-third:hover{
    background: #274C77 !important;
    color: #fff !important;
    box-shadow:none!important;
    border-color: none !important;
}
.page-header .container.cnt-signUp{
    background: rgba(209, 209, 209, 0.3);
    padding-block: 50px;
    width: 100%;
    max-width: 100%;
}
.card-signup{
    background-color: #fff !important;
}
.logo-sign-up {
    height: auto;
    top: 0 !important;
    bottom: 0 !important;
    left: 10% !important;
    margin: auto !important;
    right: 100% !important;
}
.img {
    text-align: center;
    margin: auto;
    width: 100%;
    max-width: 200px;
    height: auto !important;
}
.img img {
    width: 100%;
    height: 100%;
}
#sidenav-main {
    background-color: #E7ECEF !important;
    color: #000;
    border-radius: 0;
}
.form-ajout{
    background-color: #fcfcfc !important;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.08), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.08);
}
.sub-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    margin-top: 65px;
    gap: 10px;
}
.dropdown-menu.show{
    box-shadow:0 0px 3px 0 rgba(0, 0, 0, 0.2), 0 0px 0px 0 rgba(0, 0, 0, 0.2), 0 0px 0 0 rgba(0, 0, 0, 0.2)
}
.nav-item .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}
.navbar .nav-link{
    position: relative !important;
    padding-right: 20px !important;
}
.nav-item .badge {
    font-size: 11px;
    padding: 3px 5px;
    border-radius: 25%;
    right: 0;
    background: red !important;
    color: #fff;
    top: -20%;
}
.navbar-main{
    background: #e7ecef;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.16) !important;
}
.actions{
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.icon-hover-shadow {
    transition: box-shadow 0.3s ease-in-out;
    padding: 10px;
    border-radius: 50%;
}

.icon-hover-shadow:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.solde {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.btn-third span{
    padding-left: 10px;
}
.search-box {
    position: relative;
}
.search-box .fas {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #aaa;
}
.search-box input {
    padding-left: 30px;
}

.file-input-container {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

.file-input {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input-label {
    display: block;
    width: 120px;
    height: 120px;
    border: 2px solid #ccc;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
}

.file-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.file-input-field {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-modify-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: #fff;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.file-modify-icon i {
    color: #333;
}

table.permession {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.permession th, .permession td {
    padding: 10px;
    text-align: center;
    font-weight: 500;
    /* border: 1px solid #ddd; */
}
.permession th {
    font-weight: 700 !important;
    background-color: #f9f9f9;
}
.permession td:first-child {
    text-align: left;
}
.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 25px;
}
.custom-checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 2px solid #6096BA;
    border-radius: 5px;
    cursor: pointer;
}
.custom-checkbox input:checked + .checkmark {
    background-color: #274C77;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.custom-checkbox input:checked + .checkmark:after {
    display: block;
}
.custom-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
/* Styles pour la checkbox désactivée */
.custom-checkbox input:disabled + .checkmark {
    background-color: #e9ecef;
    border: 2px solid #adb5bd;
    cursor: not-allowed;
}
.custom-checkbox input:disabled:checked + .checkmark:after {
    border-color: #adb5bd;
}

@media (min-width: 993px) {
    .dropdown:not(.dropdown-hover) .dropdown-menu.show {
        margin-top: 0.8125rem !important;
        right: 30% !important;
    }
    .imgs-update.mb-3 {
        display: flex;
        flex-direction: row;
        gap: 25px;
        align-items: center;
    }
    .permession td:first-child {
        padding-left: 5%;
    }

}

@media screen and (max-width:992px) {
    .solde {
        /* flex-direction: column; */
        /* gap: 20px; */
    }
    .btn-third span{
        display: none;
    }
    .btn-third{
        padding: 5px 10px !important;
    }

}
