/********** Template CSS **********/
:root {
    --primary: #bf7926;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #1d1838;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/* Styles pour les modales de participation */
.projet-info-card, .progress-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #2c5aa0;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-options .form-check {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vote-options .form-check:hover {
    border-color: #2c5aa0;
    background-color: #f8f9fa;
}

.vote-options .form-check-input:checked ~ .form-check-label {
    color: #2c5aa0;
    font-weight: 600;
}

/* Animation pour l'apparition des modales */
.modal.fade .modal-dialog {
    transform: translateY(-50px) scale(0.95);
    transition: all 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
}

/* Responsive pour les modales */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .projet-info-card, .progress-card {
        margin-bottom: 1rem;
    }
}

/* Section Signaler un Problème */
.stat-signalement {
    padding: 1rem;
}

.stat-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin: 0 auto 0.5rem;
}

.stat-label {
    font-weight: 500;
    color: #6c757d;
}

/* Types de problèmes */
.type-probleme {
    border: none;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    padding: 1rem;
}

.type-probleme:hover, .type-probleme.active {
    background-color: #e3f2fd;
    border-left: 4px solid #2c5aa0;
}

.type-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Conseils */
.conseils-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ffecb5;
}

.conseils-header {
    background: #ffc107;
    color: #856404;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.conseils-body {
    padding: 1rem;
}

.conseils-body ul {
    padding-left: 1rem;
    margin-bottom: 0;
}

.conseils-body li {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

/* Formulaire de signalement */
.signalement-form-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.signalement-form-card .card-header {
    border-radius: 15px 15px 0 0;
    border: none;
    padding: 1.5rem;
}

.contact-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

/* Aperçu des fichiers */
#apercu-fichiers {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.fichier-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background: white;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.fichier-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fichier-icon {
    color: #2c5aa0;
}

.btn-supprimer-fichier {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
}

/* Indicateur d'urgence */
.urgence-faible { border-left: 4px solid #28a745; }
.urgence-moyenne { border-left: 4px solid #ffc107; }
.urgence-elevee { border-left: 4px solid #dc3545; }

/* Responsive */
@media (max-width: 768px) {
    .type-probleme {
        padding: 0.75rem;
    }
    
    .type-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-section {
        padding: 1rem;
    }
    
    .stat-badge {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}
/* Styles pour la page de suivi */
.timeline-signalement {
    position: relative;
}

.timeline-signalement::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -26px;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-signalement::before {
        left: 15px;
    }
    
    .timeline-marker {
        left: -22px;
    }
    
    .stat-card {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Styles pour la page Contact */
.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/contact-header.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}

/* Contact Info Cards */
.contact-info-card {
    background: #FFFFFF;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Formulaire de Contact */
.contact-form .form-floating {
    margin-bottom: 1rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(191, 121, 38, 0.25);
}

.contact-form .form-check {
    margin: 1.5rem 0;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Carte */
.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    padding: 2rem;
}

/* Service Contact Cards */
.service-contact-card {
    background: #FFFFFF;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-contact-card .service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.service-contact-card .service-content {
    flex: 1;
}

.contact-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-hours {
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

/* Table Styles */
.table-borderless td {
    padding: 0.75rem 0;
    border: none;
}

/* Alert Styles */
.alert-info {
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.2);
}

/* Accordion Styles */
.accordion-button {
    background: #FFFFFF;
    border: 1px solid #e9ecef;
    font-weight: 600;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-body {
    padding: 1.5rem;
}

/* CTA Urgences */
.bg-dark {
    background: var(--dark) !important;
}

/* Animation */
.wow {
    visibility: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-info-card,
    .service-contact-card {
        margin-bottom: 2rem;
    }
    
    .service-contact-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-details p {
        justify-content: center;
    }
    
    .map-content {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-form .row.g-3 > [class*="col-"] {
        margin-bottom: 1rem;
    }
    
    .faq-accordion .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .cta-urgences .btn {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Validation Styles */
.is-invalid {
    border-color: #dc3545 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Loading Animation */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Hover Effects */
.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.service-contact-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Smooth Transitions */
.contact-info-card,
.service-contact-card,
.contact-form .form-control,
.contact-form .form-select {
    transition: all 0.3s ease;
}


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* Styles pour le Carousel du Personnel */
.personnel-carousel {
    position: relative;
    padding: 0 50px;
}

.personnel-item {
    padding: 15px;
}

.personnel-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.personnel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.personnel-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.personnel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.personnel-card:hover .personnel-img img {
    transform: scale(1.1);
}

.personnel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(29, 24, 56, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 20px;
}

.personnel-card:hover .personnel-overlay {
    opacity: 1;
}

.personnel-social {
    display: flex;
    gap: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.personnel-card:hover .personnel-social {
    transform: translateY(0);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FFFFFF;
    color: var(--primary);
    transform: scale(1.1);
}

.personnel-content {
    padding: 25px;
    text-align: center;
}

.personnel-content h5 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.personnel-content .text-primary {
    font-weight: 500;
    font-size: 0.9rem;
}

.personnel-info {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.personnel-info small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.personnel-department {
    margin-top: 15px;
}

.personnel-department .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Navigation du Carousel */
.personnel-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.personnel-carousel-prev,
.personnel-carousel-next {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(191, 121, 38, 0.3);
}

.personnel-carousel-prev:hover,
.personnel-carousel-next:hover {
    background: var(--dark);
    transform: scale(1.1);
}

.personnel-carousel-prev {
    margin-left: -25px;
}

.personnel-carousel-next {
    margin-right: -25px;
}

/* Statistiques */
.stat-item {
    padding: 2rem 1rem;
}

.stat-item i {
    transition: transform 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.1);
}

.stat-item h2 {
    font-weight: 700;
    color: var(--dark);
    margin: 1rem 0;
}

/* Styles Owl Carousel Personnalisés */
.owl-carousel .owl-stage-outer {
    padding: 20px 0;
    margin: -20px 0;
}

.owl-carousel .owl-item {
    opacity: 0.7;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.owl-carousel .owl-item.active.center {
    opacity: 1;
    transform: scale(1);
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background: #ddd !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active {
    background: var(--primary) !important;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .personnel-carousel {
        padding: 0 30px;
    }
    
    .personnel-carousel-prev,
    .personnel-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .personnel-carousel-prev {
        margin-left: -15px;
    }
    
    .personnel-carousel-next {
        margin-right: -15px;
    }
    
    .personnel-img {
        height: 220px;
    }
    
    .personnel-content {
        padding: 20px;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .personnel-carousel {
        padding: 0 20px;
    }
    
    .personnel-item {
        padding: 10px;
    }
    
    .personnel-img {
        height: 200px;
    }
    
    .personnel-overlay {
        padding: 15px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Animation pour le chargement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.personnel-card {
    animation: fadeInUp 0.6s ease;
}

/* Badge Colors */
.badge.bg-primary { background-color: var(--primary) !important; }
.badge.bg-success { background-color: #28a745 !important; }
.badge.bg-info { background-color: #17a2b8 !important; }
.badge.bg-warning { background-color: #ffc107 !important; color: #000 !important; }
.badge.bg-danger { background-color: #dc3545 !important; }
.badge.bg-secondary { background-color: #6c757d !important; }

/* Effets de profondeur */
.personnel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.personnel-card:hover::before {
    transform: scaleX(1);
}

/* Styles pour les statistiques */
.stat-item {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    transition: transform 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.1);
}

.stat-item h2 {
    font-weight: 700;
    color: var(--dark);
    margin: 1rem 0;
}

/* Couleurs pour les icônes */
.text-success { color: #28a745 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #17a2b8 !important; }

/* Responsive */
@media (max-width: 768px) {
    .stat-item {
        margin-bottom: 2rem;
        padding: 1.5rem 0.5rem;
    }
    
    .stat-item h2 {
        font-size: 2.5rem;
    }
}

/* Styles pour les projets */
.project-card {
    background: #FFFFFF;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 24, 56, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-summary {
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--secondary);
}

.project-donors {
    border-top: 1px solid #f0f0f0;
    padding-top: 0.75rem;
}

/* Page détail projet */
.project-detail-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.project-status-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.project-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Filtres */
.project-filters .btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

/* Statistiques */
.stat-card {
    padding: 1.5rem;
    background: #FFFFFF;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-weight: 700;
    color: var(--dark);
}

/* Informations sidebar */
.info-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .project-detail-image img {
        height: 250px;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Styles pour les rapports */
.report-card {
    background: #FFFFFF;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.report-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.report-type .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.report-icon {
    color: #dc3545;
}

.report-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.report-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.report-description {
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.report-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--secondary);
}

.report-file-info {
    border-top: 1px solid #f0f0f0;
    padding-top: 0.75rem;
    margin-bottom: 1rem;
}

.report-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.report-actions .btn {
    flex: 1;
}

/* Page détail rapport */
.file-info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.file-icon {
    flex-shrink: 0;
}

.file-details {
    flex: 1;
}

.file-details h6 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.file-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.file-actions {
    flex-shrink: 0;
}

/* Rapports similaires */
.related-report:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Filtres */
.report-filters .btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

/* Statistiques */
.stat-card {
    padding: 1.5rem;
    background: #FFFFFF;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-weight: 700;
    color: var(--dark);
}

/* Informations sidebar */
.info-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .report-header {
        padding: 1rem;
    }
    
    .report-content {
        padding: 1rem;
    }
    
    .report-actions {
        padding: 0 1rem 1rem;
        flex-direction: column;
    }
    
    .file-info-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .file-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .report-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Styles pour les appels d'offres */
.tender-card {
    background: #FFFFFF;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.tender-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tender-header {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tender-reference {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.tender-content {
    padding: 1.5rem;
}

.tender-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.tender-description {
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tender-meta {
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.tender-countdown {
    margin: 1rem 0;
}

.countdown-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.tender-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Filtres */
.tender-filters .btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

/* Page détail */
.tender-description-content {
    line-height: 1.8;
    color: var(--secondary);
}

.info-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.related-tender:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Statistiques */
.stat-card {
    padding: 1.5rem;
    background: #FFFFFF;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-weight: 700;
    color: var(--dark);
}

/* Alertes de compte à rebours */
.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #155724;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .tender-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tender-content {
        padding: 1rem;
    }
    
    .tender-footer {
        padding: 1rem;
    }
    
    .tender-filters .btn-group {
        flex-wrap: wrap;
    }
    
    .tender-filters .btn {
        margin-bottom: 0.5rem;
    }
}

/* Styles pour les comptes à rebours */
.countdown-container {
    text-align: center;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.countdown-item {
    text-align: center;
    min-width: 40px;
}

.countdown-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    background: #f8f9fa;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 2px;
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--secondary);
    text-transform: uppercase;
}

.countdown-separator {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 2px;
}

/* Version liste */
.countdown-timer-large {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.countdown-item-large {
    text-align: center;
    min-width: 60px;
}

.countdown-value-large {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
    background: #f8f9fa;
    border: 2px solid var(--success);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 5px;
}

.countdown-label-large {
    font-size: 0.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 500;
}

.countdown-separator-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
    margin: 0 5px;
}

.countdown-header {
    text-align: center;
    margin-bottom: 10px;
}

/* Version détail */
.countdown-timer-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.countdown-item-detail {
    text-align: center;
    min-width: 80px;
}

.countdown-value-detail {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    background: var(--success);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 5px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.countdown-label-detail {
    font-size: 0.9rem;
    color: var(--dark);
    text-transform: uppercase;
    font-weight: 600;
}

.countdown-separator-detail {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
    margin: 0 5px;
    transform: translateY(-10px);
}

.countdown-detail {
    text-align: center;
}

.countdown-expired {
    text-align: center;
    font-weight: 500;
}

/* Animation pulse pour les dernières heures */
.countdown-value[data-critical="true"] {
    animation: pulse 1s infinite;
    background: #f8d7da;
    color: #721c24;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .countdown-timer-detail {
        gap: 8px;
    }
    
    .countdown-item-detail {
        min-width: 60px;
    }
    
    .countdown-value-detail {
        font-size: 1.5rem;
        padding: 10px;
    }
    
    .countdown-separator-detail {
        font-size: 1.5rem;
    }
    
    .countdown-timer-large {
        gap: 5px;
    }
    
    .countdown-item-large {
        min-width: 50px;
    }
    
    .countdown-value-large {
        font-size: 1.2rem;
        padding: 6px;
    }
}

/* États critiques */
.countdown-critical .countdown-value {
    background: #f8d7da;
    color: #721c24;
    animation: pulse 1s infinite;
}

.countdown-warning .countdown-value {
    background: #fff3cd;
    color: #856404;
}

/* Styles pour les offres d'emploi */
.job-card {
    background: #FFFFFF;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.job-card-large {
    background: #FFFFFF;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.job-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.job-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    flex: 1;
}

.job-type {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
}

.job-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--secondary);
}

.job-summary {
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Compte à rebours */
.countdown-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.countdown-item {
    text-align: center;
    min-width: 50px;
}

.countdown-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 5px;
    padding: 0.25rem;
    margin-bottom: 0.25rem;
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--secondary);
}

/* Compte à rebours détaillé */
.countdown-detailed {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid #ffc107;
}

.countdown-header {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #856404;
}

.countdown-timer-large {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.countdown-item-large {
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #856404;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 60px;
    margin-bottom: 0.25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.countdown-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: #856404;
    margin-top: -0.5rem;
}

/* Compte à rebours final (page détail) */
.countdown-final {
    text-align: center;
}

.countdown-final-label {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.countdown-final-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.countdown-final-item {
    text-align: center;
}

.countdown-final-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 5px;
    padding: 0.5rem;
    min-width: 40px;
    margin-bottom: 0.25rem;
}

.countdown-final-separator {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: -0.5rem;
}

.countdown-expired {
    text-align: center;
    color: #dc3545;
    font-weight: 600;
    padding: 0.5rem;
}

.countdown-expired-final {
    text-align: center;
    color: #dc3545;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem;
    background: #f8d7da;
    border-radius: 5px;
}

/* Actions */
.job-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.job-views {
    font-size: 0.8rem;
    color: var(--secondary);
}

/* Filtres */
.job-filters .btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

/* Page détail */
.job-meta-large {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-description-content,
.job-requirements-content {
    line-height: 1.6;
    white-space: pre-line;
}

/* Partage */
.social-share {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-type {
        margin-top: 0.5rem;
    }
    
    .countdown-timer-large {
        gap: 0.25rem;
    }
    
    .countdown-value {
        font-size: 1.2rem;
        min-width: 50px;
        padding: 0.25rem;
    }
    
    .countdown-separator {
        font-size: 1.2rem;
    }
    
    .job-meta-large {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .countdown-final-timer {
        gap: 0.1rem;
    }
    
    .countdown-final-value {
        font-size: 1rem;
        min-width: 35px;
        padding: 0.25rem;
    }
}

/* Styles pour les boutons de partage sociaux */
.social-share-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.social-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 70px;
}

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-share-btn i {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.social-share-btn span {
    font-size: 0.75rem;
}

/* Couleurs spécifiques pour chaque réseau */
.social-share-btn.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.social-share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-share-btn.messenger {
    border-color: #0084ff;
    color: #0084ff;
}

.social-share-btn.messenger:hover {
    background: #0084ff;
    color: white;
}

.social-share-btn.twitter {
    border-color: #000000;
    color: #000000;
}

.social-share-btn.twitter:hover {
    background: #000000;
    color: white;
}

.social-share-btn.linkedin {
    border-color: #0077b5;
    color: #0077b5;
}

.social-share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-share-btn.whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.social-share-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

.social-share-btn.email {
    border-color: #ea4335;
    color: #ea4335;
}

.social-share-btn.email:hover {
    background: #ea4335;
    color: white;
}

.social-share-btn.link {
    border-color: #6c757d;
    color: #6c757d;
}

.social-share-btn.link:hover {
    background: #6c757d;
    color: white;
}

.social-share-btn.smart-share {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(191, 121, 38, 0.1);
}

.social-share-btn.smart-share:hover {
    background: var(--primary);
    color: white;
}

/* Champ de lien partageable */
#share-url {
    font-size: 0.8rem;
    background: #f8f9fa;
}

/* Feedback visuel pour la copie */
#copy-feedback {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .social-share-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .social-share-btn {
        padding: 0.6rem 0.25rem;
        min-height: 60px;
        font-size: 0.7rem;
    }
    
    .social-share-btn i {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .social-share-btn span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .social-share-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation pour les boutons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.social-share-btn:active {
    animation: pulse 0.3s ease;
}

/* Styles pour le modal de partage (optionnel) */
.share-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.share-modal .modal-header {
    background: var(--primary);
    color: white;
    border-radius: 15px 15px 0 0;
}

.share-modal .modal-body {
    padding: 2rem;
}

/* Amélioration de l'accessibilité */
.social-share-btn:focus {
    outline: 3px solid rgba(191, 121, 38, 0.3);
    outline-offset: 2px;
}

.social-share-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

