/* ========================================
   VARIABLES CSS GLOBALES
======================================== */

@font-face {
    font-family: 'HelvNeue';
    src: url('/assets/Web_Fonts/WOFF2/HelvNeue65_W1G.woff2') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
:root {
    /* Couleurs principales */
    --primary-orange: #ff7900;
    --primary-black: #000;
    --orange-light: #ff9500;
    --orange-dark: #e66b00;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
    --success: #ffc107;
    --info: #17a2b8;


    /* Couleurs supplémentaires */
    --primary-color: #3498db;
    --secondary-color: #000000;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #000000;
    --orange-primary: #ff6b00;
    --orange-gradient: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);

    /* Ombres */
    --shadow-soft: 0 10px 30px rgba(255, 107, 0, 0.1);
    --shadow-medium: 0 15px 35px rgba(255, 107, 0, 0.15);
    --shadow-strong: 0 20px 40px rgba(255, 107, 0, 0.2);
}

/* ========================================
   STYLES GÉNÉRAUX
======================================== */
body {
    background-color: #f8f9fa;
    font-family: 'HelvNeue', Helvetica, Tahoma, Geneva, Verdana, sans-serif !important;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   HEADER ET NAVIGATION
======================================== */
.top-bar {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.marquee {
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    max-width: 100%;
    margin-right: 15px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.navbar-brand span {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    vertical-align: middle;
}



/* ========================================
   MODAL DE SUCCES
======================================== */

.modal-success .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.15);
    overflow: hidden;
}

.modal-success .modal-header {
    background: #ff7900;
    border: none;
    padding: 2rem 2rem 1.5rem;
    position: relative;
}

.modal-success .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ff7900;
}

.modal-success .modal-title {
    font-weight: 600;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-success .success-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-success .btn-close {
    background: none;
    opacity: 0.8;
    font-size: 1.2rem;
}

.modal-success .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-success .modal-body {
    padding: 2rem;
    text-align: center;
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.6;
}

.modal-success .modal-footer {
    border: none;
    padding: 1rem 2rem 2rem;
    justify-content: center;
}

.modal-success .btn-success-custom {
    background: #ff7900;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.modal-success .btn-success-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    background: #ff7900;
}

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.modal.show .success-icon {
    animation: bounce 1s ease-in-out;
}

/* ========================================

======================================== */


/* ========================================
   CARTES DE STATISTIQUES
======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--card-color, var(--primary-orange));
}

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

.stat-card.pending { --card-color: var(--warning); }
.stat-card.approved { --card-color: var(--success); }
.stat-card.rejected { --card-color: var(--danger); }
.stat-card.in-review { --card-color: var(--info); }

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--white);
    background: var(--card-color, var(--primary-orange));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-medium);
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

/* ========================================
   SECTION TABLEAU
======================================== */
.table-section {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

.table-header {
    background: linear-gradient(135deg, var(--primary-black) 0%, #333 100%);
    color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.table-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.btn-new-request {
    background: linear-gradient(45deg, var(--primary-orange), var(--orange-light));
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 121, 0, 0.3);
}

.btn-new-request:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 121, 0, 0.4);
    color: var(--white);
}

/* Tableau personnalisé */
.custom-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.custom-table thead th {
    background: var(--gray-light);
    color: var(--primary-black);
    font-weight: 600;
    padding: 1.2rem 1rem;
    border: none;
}

.custom-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
}

.custom-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(255, 121, 0, 0.05), transparent);
}

.custom-table td {
    padding: 1.2rem 1rem;
    vertical-align: middle;
    border: none;
}

/* Badges de statut */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}



.status-badge.pending { background: linear-gradient(45deg, #ffc107, #ffdb4d); color: #333; }
.status-badge.approved { background: linear-gradient(45deg, #28a745, #34ce57); color: white; }
.status-badge.rejected { background: linear-gradient(45deg, #dc3545, #e55a6b); color: white; }
.status-badge.in-review { background: linear-gradient(45deg, var(--primary-orange), var(--orange-light)); color: white; }

/* Boutons d'action */
.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.2rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.btn-view { background: linear-gradient(45deg, var(--info), #20c7d8); color: white; }
.btn-edit { background: linear-gradient(45deg, var(--warning), #ffdb4d); color: #333; }
.btn-delete { background: linear-gradient(45deg, var(--danger), #e55a6b); color: white; }

/* État vide */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray-medium);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-orange);
    opacity: 0.5;
    margin-bottom: 1rem;
}

/* ========================================
   SECTION HERO
======================================== */
.hero-section {
    padding: 2rem 0;
    background-color: #000000;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    background-color: #ff6b00;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: linear-gradient(45deg, #ff6b00, var(--orange-light));
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(255, 121, 0, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 121, 0, 0.4);
    color: white;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Carousel personnalisé */
.custom-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.custom-carousel img {
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-carousel:hover img {
    transform: scale(1.05);
}

.carousel-control-prev {
    left: 20px;
}

/* ========================================
   SECTION FONCTIONNALITÉS
======================================== */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--gray-light) 0%, white 100%);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--orange-light));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--orange-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(255, 121, 0, 0.3);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray-medium);
    line-height: 1.6;
    font-size: 1rem;
}

/* ========================================
   SECTION CTA
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, #333 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 121, 0, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* ========================================
   DASHBOARD CLIENT
======================================== */
.main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Carte de bienvenue */
.welcome-card {
    background: #000000;
    border: none;
    border-radius: 20px;
    color: white;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.welcome-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
}

/* Carte de formulaire */
.form-card {
    background: white;
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.form-header {
    background: #000000;
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 10px solid var(--orange-primary);
}

.form-body {
    padding: 3rem 2rem;
}

/* Séparateurs de section */
.section-divider {
    display: flex;
    align-items: center;
    margin: 2.5rem 0 2rem 0;
    color: var(--orange-primary);
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--orange-primary), transparent);
    margin: 0 1rem;
}

.section-divider h5 {
    margin: 0;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    background: white;
    border: 2px solid var(--orange-primary);
    border-radius: 25px;
    white-space: nowrap;
}

/* Contrôles de formulaire */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.form-label i {
    margin-right: 0.5rem;
    color: var(--orange-primary);
    width: 20px;
    text-align: center;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus, .form-select:focus {
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 0, 0.15);
    transform: translateY(-1px);
}

.form-control:hover, .form-select:hover {
    border-color: var(--orange-light);
}

/* Sélecteur dynamique */
.dynamic-selector {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.dynamic-selector:hover {
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-soft);
}

.selector-header {
    color: var(--orange-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.selector-header i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

#btn-ajouter-besoin {
    background: var(--orange-gradient);
    border: none;
    border-radius: 0 12px 12px 0;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 140px;
}

#btn-ajouter-besoin:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

#btn-ajouter-besoin:disabled {
    background: #6c757d;
    opacity: 0.6;
}

/* Conteneur d'éléments sélectionnés */
.selected-items-container {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    min-height: 60px;
    border: 2px dashed #e9ecef;
    transition: all 0.3s ease;
}

/* Conteneur avec scroll */
.scrollable-container {
    max-height: 400px;
    overflow-y: auto;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.scrollable-container::-webkit-scrollbar {
    width: 8px;
}

.scrollable-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollable-container::-webkit-scrollbar-thumb {
    background: var(--orange-primary);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.scrollable-container::-webkit-scrollbar-thumb:hover {
    background: var(--orange-dark);
}

/* Indicateur de scroll */
.scroll-indicator {
    text-align: center;
    padding: 0.5rem;
    color: var(--orange-primary);
    font-size: 0.85rem;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(255,107,0,0.05) 0%, rgba(255,107,0,0.1) 100%);
    border-radius: 8px;
    margin-top: 0.5rem;
    animation: pulse 2s infinite;
    display: none;
}

.scroll-indicator.show {
    display: block;
}

.scroll-indicator i {
    animation: bounce 1s infinite;
}

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

.selected-items-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--orange-primary);
    font-weight: 600;
}

.besoin-item {
    background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-left: 4px solid var(--orange-primary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.4s ease;
}

.besoin-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,107,0,0.05) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.besoin-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    border-left-color: var(--orange-dark);
}

.besoin-item:hover::before {
    transform: translateX(100%);
}

.supprimer-besoin {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.supprimer-besoin:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.badge {
    background: var(--orange-gradient) !important;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    animation: pulse 0.3s ease;
}

/* Accordéon */
.accordion {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.accordion-button {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    color: var(--orange-primary);
    font-weight: 600;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--orange-gradient);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 0, 0.15);
}

.accordion-body {
    background: white;
    padding: 2rem;
}

/* Bouton de soumission */
.submit-btn {
    background: var(--orange-gradient);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.submit-btn:hover::before {
    left: 100%;
}

/* Cases à cocher */
.form-check {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.form-check:hover {
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-soft);
}

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

.form-check-label {
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
}

.form-check-label i {
    margin-right: 0.5rem;
    color: var(--orange-primary);
}

.custom-header{
    background-color: #000;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

/* ========================================
   MODALES
======================================== */
.modal-header {
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-light));
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 2rem;
    border: none;
}

.modal-title {
    font-weight: 600;
    font-size: 1.3rem;
}

.btn-close {
    background: none;
    border: none;
    opacity: 0.8;
    filter: invert(1);
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

/* ========================================
   AUTHENTIFICATION
======================================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0.6rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.auth-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-header {
    padding: 2rem 1.5rem;
    background: #ff7900;
    color: white;
    border-radius: 15px 15px 0 0;
}

.auth-logo {
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.auth-body {
    padding: 2rem 1.5rem;
}

.auth-form .form-group {
    position: relative;
}

.auth-form .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.auth-form .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    border-right: none;
}

.auth-form .form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    border-left: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.auth-form .form-control:focus + .input-group-text {
    border-color: var(--primary-color);
}

.auth-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.auth-form .form-check {
    margin-top: 1rem;
}

.auth-form .form-check-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.auth-btn {
    padding: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

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

.auth-divider {
    position: relative;
    text-align: center;
}

.auth-divider hr {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 1rem 0;
}

.auth-divider-text {
    background: white;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    position: relative;
    top: -0.5rem;
}

.auth-social-buttons .btn {
    padding: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

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

.auth-footer {
    margin-top: 2rem;
}

.auth-footer a {
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--primary-color) !important;
}

.auth-footer .text-muted {
    font-size: 0.9rem;
}

.auth-footer .text-primary {
    font-size: 1rem;
}

/* ========================================
   FOOTER
======================================== */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

footer h5 {
    color: var(--light-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: var(--primary-color);
}

footer .footer-links li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

footer .footer-links i {
    color: var(--primary-color);
}

footer .social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

footer .social-icons a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: var(--primary-color);
}

footer hr {
    margin: 2rem 0;
    border-color: rgba(255, 255, 255, 0.1);
}

footer .text-white {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer .text-white:hover {
    color: var(--primary-color) !important;
}

/* ========================================
   ALERTES
======================================== */
.alert {
    border: none;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* ========================================
   ANIMATIONS
======================================== */
.fadeInUp {
    animation: fadeInUp 1s ease-out;
}

.delay-1s {
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.delay-2s {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Modal Styles
======================================== */

/* Modal Styles */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    background-color: #f8f9fa;
    color: white;
    border: none;
    padding: 25px 30px;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    background: #f8fafc;
}

.status-section {
    background: white;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
/*
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.status-badge.approved {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.status-badge.rejected {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.status-badge.pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.status-badge.in-review {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
} */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    .navbar-brand span {
        font-size: 1.1rem;
    }

    .section-divider::before,
    .section-divider::after {
        content: none; /* Supprime complètement les éléments ::before et ::after */
    }
}

.info-panel {
    padding: 30px;
    background: white;
    position: relative;
}

.info-panel:nth-child(even) {
    background: #f8fafc;
}

.info-panel:not(:last-child) {
    border-right: 1px solid #e2e8f0;
}


.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.panel-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.panel-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.panel-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.info-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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


.info-value.long-text {
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    margin-top: 5px;
}

.activity-section {
    grid-column: 1 / -1;
    background: white;
    padding: 30px;
    border-top: 1px solid #e2e8f0;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.activity-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.activity-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}


/* .info-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
    color: #212529;
} */

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: transform 0.2s;
}

.social-link:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.link-facebook {
    background: #1877f2;
    color: white;
}

.link-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.link-tiktok {
    background: #000000;
    color: white;
}
.timeline-section {
    grid-column: 1 / -1;
    background: #f8fafc;
    padding: 30px;
    border-top: 1px solid #e2e8f0;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 25px;
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #667eea;
}

.timeline-date {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.timeline-description {
    color: #64748b;
    font-size: 0.9rem;
}

.modal-footer {
    background: white;
    padding: 25px 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-action {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-orange {
    background-color: var(--primary-orange);
    color: black;
}

.btn-primary-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-danger-outline {
    background: transparent;
    border: 2px solid #ef4444;
    color: #ef4444;
}

.btn-danger-outline:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-orange {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline-orange:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.budget-highlight {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 15px 0;
}

.date-range {
    background: #f1f5f9;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    margin: 15px 0;
}


/*  */

/* ========================================
   CLASSES UTILITAIRES
======================================== */
.text-orange {
    color: var(--primary-orange) !important;
}

.bg-orange {
    background-color: var(--primary-orange) !important;
}

.border-orange {
    border-color: var(--primary-orange) !important;
}

.shadow-orange {
    box-shadow: 0 4px 15px rgba(255, 121, 0, 0.2) !important;
}

.btn-orange {
    background: var(--orange-gradient);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn-outline-orange {
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-orange:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ========================================
   SCROLLBAR PERSONNALISÉE
======================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 6px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-dark);
}

/* ========================================
   FOCUS ET ACCESSIBILITÉ
======================================== */
*:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
    .navbar,
    .btn,
    .hero-section,
    .cta-section {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .card {
        border: 1px solid #dee2e6 !important;
        box-shadow: none !important;
    }
}




/* Sidebar */
.sidebar {
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-black) 0%, #333 100%);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    color: var(--primary-orange);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-logo {
    font-size: 1.2rem;
}

.sidebar-nav {
    padding: 1rem 0;
}

.nav-item {
    margin: 0.5rem 1rem;
}

.nav-link {
    color: rgba(0, 0, 0, 0.8) ;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 121, 0, 0.1);
    color: var(--primary-orange);
    transform: translateX(5px);
}

.nav-link.active {
    background: var(--primary-orange);
    color: white;
}

.nav-link i {
    width: 20px;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.sidebar.collapsed .nav-link span {
    display: none;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
}

.sidebar.collapsed .nav-link i {
    margin-right: 0;
}

/* Topbar */
.topbar {
    background: white;
    height: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 280px;
    right: 0;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    transition: all 0.3s ease;
}

.topbar.collapsed {
    left: 70px;
}

.topbar-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--primary-black);
    margin-right: 1rem;
}

.topbar-search {
    flex: 1;
    max-width: 400px;
    margin-right: 2rem;
}

.search-input {
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.25rem rgba(255, 121, 0, 0.15);
}

.topbar-user {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-left: auto;
}

.topbar-user:hover {
    background: var(--gray-light);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    margin-top: 70px;
    padding: 2rem;
    min-height: calc(100vh - 70px);
    transition: all 0.3s ease;
}

.main-content.collapsed {
    margin-left: 70px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--card-color, var(--primary-orange));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-card.pending { --card-color: var(--warning); }
.stat-card.approved { --card-color: var(--success); }
.stat-card.rejected { --card-color: var(--danger); }
.stat-card.in-review { --card-color: var(--info); }

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--white);
    background: var(--card-color, var(--primary-orange));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-medium);
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

/* Quick Stats */
.quick-stats {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    margin-bottom: 3rem;
}

.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.quick-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.quick-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.quick-stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.2rem;
}

.recent-activity {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 2rem;

}



.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.activity-content {
    flex: 1;
}

.activity-time {
    font-size: 0.85rem;
    color: var(--gray-medium);
}



/*demande admin */

/* Stats Cards */
.stats-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-mini-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border-left: 4px solid var(--card-color, var(--primary-orange));
}

.stat-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.stat-mini-card.pending { --card-color: var(--warning); }
.stat-mini-card.approved { --card-color: var(--success); }
.stat-mini-card.rejected { --card-color: var(--danger); }
.stat-mini-card.in-review { --card-color: var(--info); }

.stat-mini-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--card-color, var(--primary-orange));
    margin: 0;
}

.stat-mini-label {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin: 0.5rem 0 0 0;
}

/* Table Styles */
.table-section {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 3rem;
}

.table-header {
    background: linear-gradient(135deg, var(--primary-black) 0%, #333 100%);
    color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.table-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.table-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Filter Section */
.filter-section {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    margin-bottom: 2rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 2rem;
}


/* Calendar */


.calendar-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 15px;
}

.card-header-custom {
    background: var(--gradient-primary);
    padding: 25px 30px;
    border: none;
    position: relative;
    overflow: hidden;
}

.card-header-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-title {
    position: relative;
    z-index: 1;
    color: rgb(0, 0, 0);
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.header-icon {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 12px;
    margin-right: 15px;
    backdrop-filter: blur(5px);
}



    .fc-toolbar-title {
        font-size: 1.6rem !important;
        font-weight: 700 !important;
        color: white !important;
        text-shadow: none !important;
    }

    .fc-button {
        border-radius: 10px !important;
        font-weight: 600 !important;
        padding: 8px 16px !important;
        transition: all 0.3s ease !important;
        box-shadow: var(--shadow-light) !important;
    }

    .fc-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 121, 0, 0.4) !important;
    }

    .fc-daygrid-day {
        transition: background-color 0.3s ease;
    }

    .fc-daygrid-day:hover {
        background-color: rgba(255, 121, 0, 0.05);
    }

    .fc-daygrid-day-number {
        color: var(--text-dark);
        font-weight: 600;
        padding: 8px;
    }

    .fc-today {
        background-color: rgba(255, 121, 0, 0.1) !important;
        border: 2px solid var(--primary-color) !important;
    }

    .fc-event {
        border: none !important;
        padding: 6px 10px !important;
        margin: 2px 0 !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }

    .fc-event:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    }

    .fc-event-title {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    .premium-modal .modal-content {
        border: none;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        overflow: hidden;
    }
    .premium-body {
        padding: 30px;
        background: rgba(255,255,255,0.98);
    }


 /* FullCalendar Customization */
 .fc {
    --fc-border-color: var(--border-color);
    --fc-button-text-color: white;
    --fc-button-bg-color: var(--primary-color);
    --fc-button-border-color: var(--primary-color);
    --fc-button-hover-bg-color: var(--primary-dark);
    --fc-button-hover-border-color: var(--primary-dark);
    --fc-button-active-bg-color: var(--primary-dark);
    --fc-button-active-border-color: var(--primary-dark);
}

.fc-toolbar {
    margin-bottom: 25px !important;
    padding: 15px;
    background: var(--secondary-color);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

/* .fc-toolbar-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    text-shadow: none !important;
} */

.fc-button {
    border-radius: 10px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow-light) !important;
}

.fc-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 121, 0, 0.4) !important;
}

.fc-daygrid-day {
    transition: background-color 0.3s ease;
}

.fc-daygrid-day:hover {
    background-color: rgba(255, 121, 0, 0.05);
}

.fc-daygrid-day-number {
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px;
}

.fc-today {
    background-color: rgba(255, 121, 0, 0.1) !important;
    border: 2px solid var(--primary-color) !important;
}

.fc-event {
    border: none !important;
    padding: 6px 10px !important;
    margin: 2px 0 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.fc-event:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

.fc-event-title {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* Modal Customization */
.premium-modal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

/* .gradient-header {
    background: var(--gradient-secondary) !important;
    padding: 25px 30px;
    border: none;
} */

.premium-body {
    padding: 30px;
    background: rgba(255,255,255,0.98);
}

.premium-footer {
    padding: 20px 30px;
    background: var(--secondary-color);
    border: none;
}

.status-badge {
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-primary);
    color: white;
}

.btn-secondary-custom {
    background: var(--gradient-primary);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.btn-secondary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 121, 0, 0.4);
    color: white;
}

.info-row {
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid #ff7900;
    margin: 15px 0;
}


/* .info-value {
    color: #6c757d;
    font-size: 1.5rem !important;
    line-height: 1.5;
    padding: 8px 0;
} */


/* Légende */
.legend-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.legend-title {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-approved {
    background-color: #1e7e34;
}

.legend-review {
    background-color: #e0a800;
}

.legend-default {
    background-color: #bd2130;
}

.legend-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

  /* Styles pour les événements */

 /* Indicateur de chargement */
 .loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 12px;
}

.loading-spinner {
    text-align: center;
    color: #667eea;
}

.loading-spinner p {
    margin-top: 15px;
    font-weight: 500;
}
.event-demande {
    border-left: 4px solid #17a2b8 !important;
}

.event-reservation {
    border-left: 4px solid #28a745 !important;
}


/* Styles pour le panneau de filtres */
.filters-panel {
    background-color: #97938f;
    margin: -20px -30px 30px -30px;
    padding: 25px 30px;
    color: white;
    border-radius: 0;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filters-title {
    margin: 0;
    font-weight: 600;
    color: white;
}

.filters-stats {
    display: flex;
    gap: 20px;
}







.stat-item {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.filters-content .form-label {
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
}

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

.clear-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none !important;
    background: transparent !important;
    padding: 4px 8px;
}

.stats-detailed {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 25px;
}

.stat-badge {
    background: rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.stat-badge:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.stat-reservation {
    border-left: 4px solid #28a745;
}

.stat-demande {
    border-left: 4px solid #17a2b8;
}

/* Styles pour la légende */
.legend-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.legend-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.legend-color {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid;
    flex-shrink: 0;
}

.legend-text {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    white-space: nowrap;
}

/* Indicateur de chargement */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 12px;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    text-align: center;
    color: #667eea;
}

.loading-spinner p {
    margin-top: 15px;
    font-weight: 500;
}

/* Modal styles */
.premium-modal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.gradient-header {
    background-color: #ff7900;
    border-radius: 15px 15px 0 0;
}

.premium-body {
    padding: 30px;
}

.info-row {
    margin-bottom: 20px;
}



.info-value {
    color: #6c757d;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    border-left: 4px solid #ff7900;
}

.premium-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

.main-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 0px;
}

.card-header-custom {
    background-color: #ff7900;
    padding: 20px 30px;
    color: white;
}

.header-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-body-custom {
    padding: 30px;
    position: relative;
}

/* Tooltip personnalisé */
.custom-tooltip {
    position: absolute;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    max-width: 250px;
    z-index: 9999;
    white-space: pre-wrap;
}

/* Calendrier */
#calendar {
    min-height: 600px;
    transition: opacity 0.3s ease;
}

/* Responsive */




.info-row {
    margin-bottom: 1rem;
}

.info-label {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* .info-value {
    font-weight: 500;
} */

.custom-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9) !important;
    color: white !important;
    padding: 10px !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    z-index: 10000 !important;
    max-width: 300px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    pointer-events: none !important;
}

/* Styles pour la carte du Burkina Faso */
#mapBurkinaFaso {
    border-radius: 8px;
    border: 2px solid #28a745;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Style pour les labels des régions */
.region-label {
    background: none !important;
    border: none !important;
}

.region-label div {
    white-space: nowrap;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
    font-family: 'HelvNeue', sans-serif;
}
ar

/* Style pour les popups */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    border: 2px solid #007bff;
}

.leaflet-popup-content {
    margin: 10px 15px;
    font-size: 14px;
}

.leaflet-popup-tip {
    border-top-color: #007bff !important;
}

/* Style pour les contrôles */
.leaflet-control {
    border-radius: 6px !important;
}

/* Masquer les crédits Leaflet si souhaité */
.leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Style pour le curseur au survol des cercles */
.leaflet-interactive {
    cursor: pointer;
}

/* Animation pour les cercles */
.leaflet-interactive:hover {
    transition: all 0.3s ease;
}



.budget-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.budget-alloue {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
}

.budget-section {
    border-left: 4px solid #28a745 !important;
}

.budget-status .badge {
    font-size: 0.9em;
    padding: 8px 12px;
}



.stat-budget-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-budget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-budget-card.demande {
    background: var(--primary-orange);
    color: white;
}




.stat-budget-card.alloue {
    background: var(--success);
    color: white;
}

.stat-budget-card.taux {
    background: var(--info);
    color: white;
}

.stat-budget-card.moyenne {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-budget-icon {
    font-size: 3rem;
    margin-right: 20px;
    opacity: 0.8;
}

.stat-budget-details {
    flex: 1;
}

.stat-budget-number {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.stat-budget-label {
    font-size: 1.1rem;
    margin: 5px 0;
    opacity: 0.9;
}

.stat-budget-card small {
    opacity: 0.7;
}
