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

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


.bg-primary {
    background-color: #0065a1 !important;
}


.text-primary {
    color: #0065a1 !important;
}

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

.pc-sidebar {
    background: #153344 !important;
}


.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: #0065a1 !important;
}

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

.btn-success {
    background: #0065a1 !important;
    border: #0065a1 solid 1px;
}


.bg-success{
    background-color: #77a308 !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: #0065a1;
    /* couleur primaire Bootstrap */
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.5);
}

.pagination .page-item .page-link {
    border-radius: 50px;
    color: #0065a1;
    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: #0065a1;
    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;
}


/* Style pour les liens du menu principal uniquement (exclut les sous-menus) */
.navmenu > ul > li > a {
    color: #2a2c39 !important;
    font-weight: 600 !important;
}

/* Style pour le hover et active du menu principal */
.navmenu > ul > li:hover > a, 
.navmenu > ul > li > .active, 
.navmenu > ul > li > .active:focus {
    color: #fff !important;
}

/* Style spécifique pour les sous-menus */
.navmenu .dropdown ul li a {
    color: #333 !important; /* ou la couleur que vous souhaitez pour les sous-menus */
    font-weight: 400 !important;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    text-transform: none;
    border-radius: 0;
}

/* Style pour le hover des sous-menus */
.navmenu .dropdown ul li:hover > a {
    color: #007bff !important; /* ou votre couleur d'accent */
    background-color: #f8f9fa;
}

/* Style existant pour les autres éléments du menu */
.navmenu li a {
    color: #333;
    font-weight: 500;
    font-size: 17px;
}


p{
        font-size: 19px !important;
    line-height: 33px !important;
    /* text-align: justify !important; */
}










/* Styles spécifiques pour la page À propos */
.director-quote {
    border-left: 4px solid #03649f;
    background: linear-gradient(135deg, rgb(3 100 159 / 34%), rgb(0 101 161 / 5%));
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 15px 15px 0;
    position: relative;
}

.director-quote::before {
    content: "";
    font-size: 4rem;
    color: #03649f;
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
}

.service-item-enhanced {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid transparent;
}

.service-item-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(13, 202, 240, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #03649f, transparent);
    margin: 3rem 0;
}

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

.director-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #03649f;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enhanced-about-text {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid #03649f;
}

.section-header-enhanced {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-enhanced h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header-enhanced h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #03649f;
    border-radius: 2px;
}













.director-content {
    position: relative;
}

.director-content.collapsed {
    max-height: 500px;
    overflow: hidden;
}

.director-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.voir-plus-btn {
    background: #03649f;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.voir-plus-btn:hover {
    background: #024d7a;
    transform: translateY(-1px);
}

.carousel-content {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.badge-actualite {
    background: rgba(255, 193, 7, 0.9);
    color: #000;
}

.badge-projet {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}