#shadow-host-companion {
    padding: 0px !important;
}

#toast-container>div {
    opacity: 1 !important;
}


.bg-primary {
    background-color: #0d683d !important;
}


.text-primary {
    color: #0d683d !important;
}

.bg-outline-primary {
        color: #0d683d;
    background: #ffffff;
    border: #0d683d solid 1px;
}

.pc-sidebar {
    /* background: linear-gradient(54deg, #0d683d, #77a308); */
    background: linear-gradient(54deg, #77a308, #77a308);
}


.pc-sidebar .pc-link {
    color: #f2f2f2 !important;
}

.pc-sidebar .pc-navbar>.pc-item.active>.pc-link {
    color: #bbff1f !important;
    font-weight: 700 !important;
        background: #fdfeff24;
    border-radius: 5px;
}


.pc-header {
    background: #0d683d !important;
}

.pc-header .pc-head-link>svg,
.pc-header .pc-head-link>i {
    color: #f8f9fa !important;
}

.btn-primary-linear {
    background: #77a308 !important;
    border: #77a308 solid 1px;
    color: white !important;
}


.btn-primary {
    background: #0d683d !important;
    border: #0d683d solid 1px;
}


.bg-success{
    background-color: #3aa539 !important;
}


.form-check-input:checked {
    background-color: #77a308 !important;
    border-color: #77a308 !important;
}

#button {
    display: block;
    margin: 20px auto;
    padding: 10px 30px;
    background-color: #eee;
    border: solid #ccc 1px;
    cursor: pointer;
}

#overlay {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background: #000000c7;
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.is-hide {
    display: none;
}





.text {
    width: 140px;
    margin: 0px auto;
    display: flex;
}

#buttonText {
    margin: 0px 15px;
}

.spinnerl {
    display: none;
    width: 20px;
    height: 20px;
    border: 4px solid #ddd;
    border-top: 4px solid #2e93e6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


.toggle-password {
    font-size: 16px;
    color: #888;
}

.iti {
    width: 100% !important;
}

/* Style pour la zone de dépôt */
.dropzone {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    cursor: default;
    /* Le curseur n'est pas un pointeur par défaut */
    background: #f5f5f5;
}

/* Conteneur des images */
.image-container {
    position: relative;
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #f8f9fa;
}

/* Contenu de l'image */
.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Image preview */
.image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bouton de suppression */
.delete-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    /* Pour l'effet de transition */
}

/* Effet de survol pour le bouton de suppression */
.delete-button:hover {
    box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.5);
    /* Ombre plus prononcée */
    transform: scale(1.3);
    /* Agrandissement du bouton */
}

/* Texte du nom de l'image */
.image-name {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Style pour le label de la zone de dépôt */
.dropzone-label {
    display: inline-block;
    cursor: pointer;
    /* Le curseur est un pointeur seulement sur le label */
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-weight: bold;
}



.preview-container {
    position: relative;
    display: inline-block;
}

.preview-container img {
    width: 250px;
    height: 200px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
}





#previewZone {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}

.preview-container {
    position: relative;
    width: 30%;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 10px;
    text-align: center;
}

.preview-container img,
.preview-container iframe {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: none;
    border-radius: 4px;
    display: block;
}

.filename-preview {
    margin-top: 6px;
    font-size: 0.875rem;
    color: #333;
    word-break: break-word;
}

.remove-preview {
    position: absolute;
    top: 6px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-weight: bold;
    padding: 2px 7px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.remove-preview:hover {
    background-color: rgba(255, 0, 0, 0.7);
}

.preview-container .loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}



.selected-list-scroll {
    max-height: 150px;
    /* Ajuste la hauteur selon ton besoin */
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

/* Pour un style de scrollbar plus fin et discret sur WebKit (Chrome, Edge, Safari) */
.selected-list-scroll::-webkit-scrollbar {
    width: 6px;
}

.selected-list-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.selected-list-scroll::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
}



.hoverable {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hoverable:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
    transform: translateY(-3px);
}


.select2-container--default .select2-selection--multiple {
    border: 1px solid #bec8d0 !important;
    min-height: 50px !important;
    border-radius: 10px !important;
    padding: 9px !important;
}

.close {
    border: none;
    background: none;
    font-size: 20px;
}







/* Pagination plus arrondie et espacée */
.pagination .page-item {
    border-radius: 50px;
    overflow: hidden;
    transition: background-color 0.3s ease;
    border: none;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    margin: 0 3px;
}

.pagination .page-item.active {
    background-color: #0d683d;
    /* couleur primaire Bootstrap */
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.5);
}

.pagination .page-item .page-link {
    border-radius: 50px;
    color: #0d683d;
    font-weight: 600;
    padding: 8px 15px;
    min-width: 38px;
    text-align: center;
    transition: color 0.3s ease;
}

.pagination .page-item.active .page-link {
    color: #fff;
}

.pagination .page-item .page-link:hover {
    background-color: #0d683d;
    color: #fff;
    text-decoration: none;
}





.status-approuve {
    background-color: #d4edda;
    color: #155724;
    font-size: 10px;
    padding: 3px;
    border-radius: 5px;
}

.status-attente {
    background-color: #fff3cd;
    color: #856404;
    font-size: 10px;
    padding: 3px;
    border-radius: 5px;
}

.status-annule {
    background-color: #f8d7da;
    color: #721c24;
    font-size: 10px;
    padding: 3px;
    border-radius: 5px;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: #e9e9e9 !important;
}