/* 🚀 SYSTÈME DE RÉSERVATION - DESIGN ÉPOUSTOUFLANT 🚀 */

:root {
    /* Palette de couleurs moderne et vibrante */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    
    /* Dégradés modernes */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warning: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-danger: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Ombres modernes */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.15);
    --shadow-colored: 0 20px 40px rgba(99, 102, 241, 0.15);
    
    /* Bordures arrondies */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    
    /* Transitions fluides */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset et base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    position: relative;
}

/* Effet de particules flottantes en arrière-plan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* 🎨 NAVIGATION MODERNE ET ÉLÉGANTE */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1000;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    z-index: -1;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-normal);
    position: relative;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.navbar-nav .nav-link.active {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: var(--shadow-colored);
}

/* 🌟 HERO SECTION ÉPOUSTOUFLANTE */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding-top: 100px;
    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: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.hero-section h1 {
    color: white !important;
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.hero-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), transparent);
    border-radius: 2px;
    animation: expandLine 2s ease-out 0.5s both;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 100px; }
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-section .btn {
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-section .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: var(--transition-slow);
}

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

.hero-section .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-section .btn-primary {
    background: var(--gradient-success);
    color: white;
}

.hero-section .btn-outline-primary {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-section .btn-outline-primary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icône flottante */
.hero-section .fas.fa-calendar-alt {
    font-size: 8rem;
    opacity: 0.1;
    animation: floatIcon 6s ease-in-out infinite;
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-60%) rotate(5deg); }
}

/* 🎭 MODALS IMMERSIFS ET SPECTACULAIRES */
.modal-content {
    border: none;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    z-index: -1;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    border-bottom: none;
    padding: 2rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: headerShimmer 3s ease-in-out infinite;
}

@keyframes headerShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.modal-header .modal-title {
    font-weight: 800;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

.modal-header .btn-close:hover {
    opacity: 1;
    transform: scale(1.1) rotate(90deg);
}

.modal-body {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
    position: relative;
}

.modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

/* 📝 FORMULAIRES MODERNES ET INTERACTIFS */
.form-control, .form-select {
    border-radius: var(--radius-md);
    border: 2px solid rgba(226, 232, 240, 0.8);
    padding: 16px 20px;
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-weight: 500;
    position: relative;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.form-control:hover, .form-select:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.form-label {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.form-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: var(--transition-normal);
}

.form-control:focus + .form-label::after,
.form-select:focus + .form-label::after {
    width: 100%;
}

/* 🎯 BOUTONS SPECTACULAIRES ET INTERACTIFS */
.btn {
    border-radius: var(--radius-md);
    padding: 16px 32px;
    font-weight: 700;
    transition: var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.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: var(--transition-slow);
}

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

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
}

.btn-success:hover {
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-colored);
}

.btn-outline-secondary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.btn-outline-secondary:hover {
    background: var(--gradient-dark);
    color: white;
    border-color: transparent;
}

/* Boutons spéciaux avec effets */
.btn-lg {
    padding: 20px 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

/* 🎴 CARTES SPECTACULAIRES AVEC EFFETS DE PROFONDEUR */
.card {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: none;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
    font-weight: 700;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: cardHeaderShimmer 4s ease-in-out infinite;
}

@keyframes cardHeaderShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.card-body {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
    position: relative;
}

.card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
}

/* 📊 TABLES MODERNES ET ÉLÉGANTES */
.table {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.table thead th {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 1.5rem 1rem;
    position: relative;
}

.table thead th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.table tbody tr {
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.table tbody tr:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    transform: scale(1.01);
    box-shadow: var(--shadow-md);
}

.table tbody td {
    padding: 1.25rem 1rem;
    font-weight: 500;
    vertical-align: middle;
}

/* Alertes */
.alert {
    border: none;
    border-radius: 10px;
    border-left: 4px solid;
}

.alert-info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1), rgba(13, 202, 240, 0.05));
    border-left-color: var(--info-color);
    color: var(--dark-color);
}

/* Toast */
.toast {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.toast-header {
    background: linear-gradient(135deg, var(--success-color), #146c43);
    color: white;
    border-bottom: none;
}

.toast-header .btn-close {
    filter: invert(1);
}

/* Cartes de réservation pour mobile/tablette */
.reservation-card .card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.reservation-card .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.reservation-card .card-body {
    padding: 1.25rem;
}

.reservation-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.reservation-card .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
}

.reservation-card .btn-group-sm .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* Cartes de réservation améliorées */
.reservation-card-enhanced {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.reservation-card-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15) !important;
    border-color: var(--primary-color);
}

.card-header-enhanced {
    padding: 1rem 1.25rem;
    border-bottom: none;
    color: white;
    position: relative;
}

.card-header-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    pointer-events: none;
}

.card-header-enhanced .badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

.info-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 0.75rem;
    border-radius: 10px;
    border-left: 4px solid var(--info-color);
}

.contact-info i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* Modal de détails de réservation */
.reservation-modal {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    overflow: hidden;
}

.reservation-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.reservation-modal-header .modal-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.reservation-modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.reservation-modal-header .btn-close:hover {
    opacity: 1;
}

.reservation-modal-body {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reservation-modal-footer {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
}

/* Cartes de détails dans le modal */
.detail-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: none;
    transition: all 0.3s ease;
    height: 100%;
}

.detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.detail-card-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #dee2e6;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-card-header i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.detail-card-header h6 {
    margin: 0;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.detail-card-body {
    padding: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

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

.detail-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.detail-item div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-item .label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item .value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.detail-item .value.amount {
    font-size: 1.2rem;
    color: var(--success-color);
    font-weight: 700;
}

/* Couleurs spécifiques pour les cartes */
.client-card .detail-card-header {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.appointment-card .detail-card-header {
    background: linear-gradient(135deg, #fff3e0, #ffcc02);
}

.payment-card .detail-card-header {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
}

.comments-card .detail-card-header {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
}

/* Commentaires */
.comments-content {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--info-color);
}

.comment-text {
    margin: 0;
    font-style: italic;
    color: var(--dark-color);
    line-height: 1.6;
}

.no-comments {
    margin: 0;
    color: #6c757d;
    font-style: italic;
}

/* Couleurs personnalisées */
.text-purple {
    color: #6f42c1 !important;
}

/* Section de synchronisation Google Calendar */
.google-sync-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #4285f4;
    margin: 0.5rem 0;
}

/* Animation du bouton de synchronisation Google */
#syncGoogleCalendar {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #4285f4, #34a853);
    border: none;
    color: white;
}

#syncGoogleCalendar:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
    background: linear-gradient(135deg, #3367d6, #2d8f47);
    color: white;
}

#syncGoogleCalendar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Animation de rotation pour l'icône de synchronisation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* Section de gestion des créneaux bloqués */
.blocked-slots-container {
    max-height: 400px;
    overflow-y: auto;
}

.blocked-slot-item {
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
    border: 1px solid #feb2b2;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.blocked-slot-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.2);
}

.blocked-slot-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.blocked-slot-title {
    font-weight: 600;
    color: #c53030;
    margin: 0;
}

.blocked-slot-type {
    background: #fed7d7;
    color: #c53030;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blocked-slot-dates {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blocked-slot-recurrence {
    background: #e6fffa;
    color: #234e52;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.blocked-slot-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-remove-blocked {
    background: #fed7d7;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-remove-blocked:hover {
    background: #feb2b2;
    color: #9b2c2c;
    transform: translateY(-1px);
}

/* Responsive pour les créneaux bloqués */
@media (max-width: 768px) {
    .blocked-slot-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .blocked-slot-actions {
        justify-content: center;
        width: 100%;
    }
    
    .btn-group.w-100 {
        flex-direction: column;
    }
    
    .btn-group.w-100 .btn {
        border-radius: 6px !important;
        margin-bottom: 0.25rem;
    }
    
    .btn-group.w-100 .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .blocked-slot-item {
        padding: 0.75rem;
    }
    
    .blocked-slot-title {
        font-size: 1rem;
    }
    
    .blocked-slot-dates {
        font-size: 0.85rem;
    }
}

/* Styles pour les dates bloquées dans le calendrier */
.calendar-day.blocked {
    background: linear-gradient(135deg, #fed7d7, #feb2b2) !important;
    color: #c53030 !important;
    cursor: not-allowed !important;
    position: relative;
}

.calendar-day.blocked::after {
    content: "🚫";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
}

.calendar-day.blocked:hover {
    background: linear-gradient(135deg, #feb2b2, #fc8181) !important;
    transform: none !important;
}

/* Distinction entre non disponible et bloqué */
.calendar-day.unavailable {
    background: #e2e8f0 !important;
    color: #a0aec0 !important;
}

.calendar-day.blocked {
    background: linear-gradient(135deg, #fed7d7, #feb2b2) !important;
    color: #c53030 !important;
}

/* ===== CALENDRIER INTÉGRÉ POUR LES CRÉNEAUX BLOQUÉS ===== */

.blocked-calendar-container {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.calendar-title {
    color: #2d3748;
    font-weight: 600;
    font-size: 1.1rem;
}

.blocked-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 1rem;
}

.blocked-calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: #4a5568;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    background: linear-gradient(135deg, #edf2f7, #e2e8f0);
    border-radius: 8px;
}

.blocked-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    border: 2px solid transparent;
    min-height: 35px;
}

.blocked-calendar-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* États des jours */
.blocked-calendar-day.other-month {
    color: #a0aec0;
    background: #f7fafc;
    cursor: not-allowed;
}

.blocked-calendar-day.other-month:hover {
    transform: none;
    box-shadow: none;
}

.blocked-calendar-day.past {
    color: #a0aec0;
    background: #f7fafc;
    cursor: not-allowed;
}

.blocked-calendar-day.past:hover {
    transform: none;
    box-shadow: none;
}

.blocked-calendar-day.available {
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    color: #234e52;
    border-color: #81e6d9;
}

.blocked-calendar-day.available:hover {
    background: linear-gradient(135deg, #b2f5ea, #81e6d9);
    color: #0d9488;
}

.blocked-calendar-day.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #5a67d8;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.blocked-calendar-day.range-start {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #5a67d8;
}

.blocked-calendar-day.range-end {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #5a67d8;
}

.blocked-calendar-day.in-range {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #3730a3;
    border-color: #a5b4fc;
}

.blocked-calendar-day.today {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-weight: 700;
}

.blocked-calendar-day.today.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #5a67d8;
}

/* Jours avec rendez-vous */
.blocked-calendar-day.has-appointments {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #f59e0b;
    position: relative;
}

.blocked-calendar-day.has-appointments::after {
    content: "📅";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
}

.blocked-calendar-day.has-appointments:hover {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Jours bloqués (rouge) */
.blocked-calendar-day.is-blocked {
    background: linear-gradient(135deg, #fecaca, #fca5a5) !important;
    color: #991b1b !important;
    border: 2px solid #dc2626 !important;
    position: relative;
    cursor: not-allowed !important;
}

.blocked-calendar-day.is-blocked::after {
    content: "🚫";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
}

.blocked-calendar-day.is-blocked:hover {
    background: linear-gradient(135deg, #fca5a5, #f87171) !important;
    transform: none !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* Date actuelle améliorée */
.blocked-calendar-day.today {
    border: 3px solid #10b981 !important;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0) !important;
    color: #065f46 !important;
    font-weight: 700 !important;
    position: relative;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.blocked-calendar-day.today::before {
    content: "AUJOURD'HUI";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    font-size: 8px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    white-space: nowrap;
    z-index: 10;
}




/* Jours de repos */
.blocked-calendar-day.rest-day {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #6b7280;
    border-color: #9ca3af;
    position: relative;
}

.blocked-calendar-day.rest-day::after {
    content: "😴";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
}

.blocked-calendar-day.rest-day:hover {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

/* ===== MODAL DES RENDEZ-VOUS ===== */

.appointment-date-info {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.modal-appointment-item {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-appointment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

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

.modal-appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.modal-appointment-client {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.modal-appointment-time {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-appointment-service {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-appointment-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.modal-appointment-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.btn-cancel-appointment {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    border: 1px solid #f87171;
    color: #991b1b;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cancel-appointment:hover {
    background: linear-gradient(135deg, #fca5a5, #f87171);
    color: #7f1d1d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(248, 113, 113, 0.3);
}

/* Gestion des services */
.services-container {
    max-height: 400px;
    overflow-y: auto;
}

.service-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.service-title {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.service-price {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.service-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-edit-service {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    border: 1px solid #ffc107;
    color: #212529;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-edit-service:hover {
    background: linear-gradient(135deg, #e0a800, #e55a00);
    color: #212529;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.btn-delete-service {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: 1px solid #dc3545;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-delete-service:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.modal-appointment-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.modal-appointment-detail i {
    color: #3b82f6;
    width: 16px;
}

/* Couleurs codées pour le modal */
.modal-appointment-item.type-coiffure {
    border-left: 4px solid #8b5cf6;
}

.modal-appointment-item.type-coiffure .modal-appointment-service {
    color: #8b5cf6;
}

.modal-appointment-item.type-manucure {
    border-left: 4px solid #ec4899;
}

.modal-appointment-item.type-manucure .modal-appointment-service {
    color: #ec4899;
}

.modal-appointment-item.type-massage {
    border-left: 4px solid #06b6d4;
}

.modal-appointment-item.type-massage .modal-appointment-service {
    color: #06b6d4;
}

.modal-appointment-item.type-esthetique {
    border-left: 4px solid #f59e0b;
}

.modal-appointment-item.type-esthetique .modal-appointment-service {
    color: #f59e0b;
}

.modal-appointment-item.type-other {
    border-left: 4px solid #6b7280;
}

.modal-appointment-item.type-other .modal-appointment-service {
    color: #6b7280;
}

/* Responsive pour le modal */
@media (max-width: 768px) {
    .modal-appointment-details {
        grid-template-columns: 1fr;
    }
    
    .modal-appointment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal-appointment-time {
        align-self: flex-start;
    }
}

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

.appointment-client {
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.appointment-service {
    color: #d1d5db;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.appointment-time {
    color: #9ca3af;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.appointment-time i {
    color: #f59e0b;
}

/* Flèche du tooltip */
.appointment-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #1f2937;
}

/* Flèche du tooltip en position "below" */
.appointment-tooltip.tooltip-below::before {
    top: auto;
    bottom: -8px;
    border-bottom: none;
    border-top: 8px solid #1f2937;
}

/* Responsive pour le tooltip */
@media (max-width: 768px) {
    .appointment-tooltip {
        min-width: 200px;
        max-width: 280px;
        font-size: 0.85rem;
    }
    
    .appointment-item {
        padding: 0.5rem;
    }
}

/* Informations de sélection */
.calendar-selection-info {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 1rem;
}

.selection-info {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.selection-info .text-primary {
    color: #0ea5e9 !important;
}

.selection-info .text-success {
    color: #059669 !important;
}

/* Responsive pour le calendrier bloqué */
@media (max-width: 768px) {
    .blocked-calendar-container {
        padding: 1rem;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .blocked-calendar-day {
        font-size: 0.8rem;
        min-height: 35px;
    }
    
    .blocked-calendar-day-header {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }
}

@media (max-width: 576px) {
    .blocked-calendar-container {
        padding: 0.75rem;
    }
    
    .blocked-calendar-day {
        font-size: 0.75rem;
        min-height: 30px;
    }
    
    .calendar-title {
        font-size: 1rem;
    }
}

/* Cartes de réservation pour tablettes */
.reservation-card-tablet {
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.reservation-card-tablet:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    border-color: var(--primary-color);
}

.card-header-tablet {
    padding: 0.75rem 1rem;
    border-bottom: none;
    color: white;
    position: relative;
}

.card-header-tablet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    pointer-events: none;
}

.card-header-tablet .badge {
    font-size: 0.65rem;
    padding: 3px 6px;
    border-radius: 15px;
    font-weight: 600;
}

.card-body-tablet {
    padding: 1rem;
}

.tablet-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tablet-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tablet-info-item:hover {
    background: #e9ecef;
    transform: translateX(2px);
}

.tablet-info-item i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.tablet-info-item div {
    flex: 1;
}

.tablet-info-item .text-muted {
    font-size: 0.7rem;
    line-height: 1.2;
}

.tablet-info-item strong {
    font-size: 0.85rem;
    line-height: 1.2;
}

.tablet-contact-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 0.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--info-color);
    margin-bottom: 1rem;
}

.tablet-contact-info i {
    font-size: 0.8rem;
    width: 14px;
    text-align: center;
}

.tablet-contact-info .text-muted {
    font-size: 0.75rem;
}

/* Transitions fluides pour éviter les changements brusques */
.table-responsive,
#adminTabletContainer,
#adminCardsContainer {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Responsive Design */

/* Desktop large (1200px+) */
@media (min-width: 1200px) {
    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .table-responsive {
        opacity: 1;
        transform: translateY(0);
    }
    
    #adminTabletContainer,
    #adminCardsContainer {
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
    }
}

/* Tablettes larges (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .table-responsive {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    #adminTabletContainer {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    #adminCardsContainer {
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
    }
    
    .tablet-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    
    .tablet-info-item {
        padding: 0.45rem;
    }
    
    .tablet-info-item i {
        font-size: 0.85rem;
        width: 15px;
    }
    
    .tablet-info-item .text-muted {
        font-size: 0.7rem;
    }
    
    .tablet-info-item strong {
        font-size: 0.85rem;
    }
}

/* Tablettes moyennes (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .table-responsive {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    #adminTabletContainer {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    #adminCardsContainer {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .tablet-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .tablet-info-item {
        padding: 0.4rem;
    }
    
    .tablet-info-item i {
        font-size: 0.8rem;
        width: 14px;
    }
    
    .tablet-info-item .text-muted {
        font-size: 0.65rem;
    }
    
    .tablet-info-item strong {
        font-size: 0.8rem;
    }
    
    .card-header-tablet {
        padding: 0.6rem 0.8rem;
    }
    
    .card-body-tablet {
        padding: 0.8rem;
    }
    
    .tablet-contact-info {
        padding: 0.4rem;
    }
}

/* Mobile et petites tablettes (< 768px) */
@media (max-width: 767px) {
    .container-fluid {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .table-responsive,
    #adminTabletContainer {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    #adminCardsContainer {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .tablet-info-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .tablet-info-item {
        padding: 0.35rem;
        flex-direction: row;
    }
    
    .tablet-info-item i {
        font-size: 0.75rem;
        width: 12px;
    }
    
    .tablet-info-item .text-muted {
        font-size: 0.6rem;
    }
    
    .tablet-info-item strong {
        font-size: 0.75rem;
    }
    
    .card-header-tablet {
        padding: 0.5rem 0.7rem;
    }
    
    .card-header-tablet .fw-bold {
        font-size: 0.9rem;
    }
    
    .card-body-tablet {
        padding: 0.7rem;
    }
    
    .tablet-contact-info {
        padding: 0.35rem;
    }
    
    .tablet-contact-info .text-muted {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    /* Optimisations pour le panneau admin sur mobile */
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .reservation-card .card-body {
        padding: 1rem;
    }
    
    .reservation-card .card-title {
        font-size: 0.95rem;
    }
    
    .reservation-card .text-muted {
        font-size: 0.8rem;
    }
    
    .reservation-card .btn-group-sm .btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    /* Modal optimisé pour mobile */
    .reservation-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .reservation-modal-header .modal-title {
        font-size: 1.1rem;
    }
    
    .reservation-modal-body {
        padding: 1rem;
    }
    
    .reservation-modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .detail-card-header {
        padding: 0.75rem 1rem;
    }
    
    .detail-card-header h6 {
        font-size: 0.8rem;
    }
    
    .detail-card-body {
        padding: 1rem;
    }
    
    .detail-item {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        gap: 0.75rem;
    }
    
    .detail-item .label {
        font-size: 0.75rem;
    }
    
    .detail-item .value {
        font-size: 0.9rem;
    }
    
    .detail-item .value.amount {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Optimisations pour très petits écrans */
    .container-fluid {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .reservation-card .card-body {
        padding: 0.75rem;
    }
    
    .reservation-card .card-title {
        font-size: 0.9rem;
    }
    
    .reservation-card .text-muted {
        font-size: 0.75rem;
    }
    
    .reservation-card .btn-group-sm .btn {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
    
    .reservation-card .badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    /* Ajustement des colonnes sur très petits écrans */
    .reservation-card .row .col-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* 🎬 ANIMATIONS SPECTACULAIRES ET EFFETS VISUELS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(99, 102, 241, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.8), 0 0 30px rgba(99, 102, 241, 0.6);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes wiggle {
    0%, 7% {
        transform: rotateZ(0);
    }
    15% {
        transform: rotateZ(-15deg);
    }
    20% {
        transform: rotateZ(10deg);
    }
    25% {
        transform: rotateZ(-10deg);
    }
    30% {
        transform: rotateZ(6deg);
    }
    35% {
        transform: rotateZ(-4deg);
    }
    40%, 100% {
        transform: rotateZ(0);
    }
}

/* Classes d'animation */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.bounce {
    animation: bounce 1s;
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

.rotate {
    animation: rotate 2s linear infinite;
}

.wiggle {
    animation: wiggle 1s ease-in-out;
}

/* Effets de survol avancés */
.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.hover-rotate:hover {
    transform: rotate(5deg) scale(1.05);
}

.hover-bounce:hover {
    animation: bounce 0.6s;
}

/* Effets de chargement */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Particules flottantes */
.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-particle:nth-child(2) {
    animation-delay: -2s;
    background: rgba(139, 92, 246, 0.6);
}

.floating-particle:nth-child(3) {
    animation-delay: -4s;
    background: rgba(236, 72, 153, 0.6);
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Status badges */
.badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Google Calendar integration */
.google-calendar-btn {
    background: linear-gradient(135deg, #4285f4, #34a853);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.google-calendar-btn:hover {
    background: linear-gradient(135deg, #3367d6, #2d8f47);
    color: white;
    transform: translateY(-1px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Focus states */
.form-control:focus,
.form-select:focus,
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* 📅 CALENDRIER INTERACTIF ET SPECTACULAIRE */
.calendar-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.calendar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    z-index: -1;
}

.calendar-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    animation: calendarFloat 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes calendarFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(2deg) scale(1.05); }
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.1);
    position: relative;
}

.calendar-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    animation: expandLine 2s ease-out 0.5s both;
}

.calendar-title {
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    position: relative;
    z-index: 1;
}

.calendar-day-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.calendar-day-header::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: var(--transition-slow);
}

.calendar-day-header:hover::before {
    left: 100%;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 250, 252, 0.8);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.calendar-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.calendar-day:hover::before {
    opacity: 1;
}

.calendar-day:hover {
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.3);
}

.calendar-day.available {
    background: var(--gradient-success);
    color: white;
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.calendar-day.available:hover {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.calendar-day.unavailable {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    cursor: not-allowed;
    opacity: 0.6;
    border-color: rgba(239, 68, 68, 0.2);
}

.calendar-day.unavailable:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    transform: none;
    box-shadow: none;
}

.calendar-day.past {
    background: rgba(100, 116, 139, 0.1);
    color: var(--secondary-color);
    cursor: not-allowed;
    opacity: 0.5;
    border-color: rgba(100, 116, 139, 0.2);
}

.calendar-day.past:hover {
    background: rgba(100, 116, 139, 0.1);
    color: var(--secondary-color);
    transform: none;
    box-shadow: none;
}

.calendar-day.selected {
    background: var(--gradient-primary);
    color: white;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2), var(--shadow-xl);
    transform: scale(1.05);
}

.calendar-day.today {
    border: 3px solid var(--warning-color);
    background: var(--gradient-warning);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    position: relative;
}

.calendar-day.today::after {
    content: 'AUJOURD\'HUI';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning-color);
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    white-space: nowrap;
    z-index: 10;
}

.calendar-day.today.available {
    background: var(--gradient-success);
    color: white;
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* ⏰ CRÉNEAUX HORAIRES SPECTACULAIRES */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.time-slot {
    background: rgba(248, 250, 252, 0.8);
    border: 2px solid rgba(226, 232, 240, 0.5);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.time-slot:hover::before {
    opacity: 1;
}

.time-slot:hover {
    color: white;
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.time-slot.available {
    background: var(--gradient-success);
    border-color: rgba(16, 185, 129, 0.3);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.time-slot.available:hover {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.time-slot.unavailable {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot.unavailable:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    transform: none;
    box-shadow: none;
}

.time-slot.selected {
    background: var(--gradient-primary);
    color: white;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2), var(--shadow-xl);
    transform: scale(1.05);
}

/* Responsive pour le calendrier */
@media (max-width: 768px) {
    .calendar-container {
        padding: 15px;
    }
    
    .calendar-day {
        font-size: 0.9rem;
        padding: 8px 4px;
    }
    
    .calendar-day-header {
        font-size: 0.75rem;
        padding: 8px 4px;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .time-slot {
        padding: 10px 6px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .calendar-container {
        padding: 10px;
    }
    
    .calendar-day {
        font-size: 0.8rem;
        padding: 6px 2px;
    }
    
    .calendar-day-header {
        font-size: 0.7rem;
        padding: 6px 2px;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .time-slot {
        padding: 8px 4px;
        font-size: 0.8rem;
    }
}

/* 🎛️ PANNEAU ADMIN PROFESSIONNEL */
.admin-dashboard {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    position: relative;
}

.admin-dashboard::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.admin-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.admin-title {
    font-weight: 900;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    margin-bottom: 0.5rem;
}

.admin-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

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

.stat-icon.primary {
    background: var(--gradient-primary);
}

.stat-icon.success {
    background: var(--gradient-success);
}

.stat-icon.warning {
    background: var(--gradient-warning);
}

.stat-icon.danger {
    background: var(--gradient-danger);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Styles pour les sections admin */
.admin-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition-normal);
}

.admin-section:hover {
    box-shadow: var(--shadow-2xl);
}

.admin-section-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.admin-section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: headerShimmer 4s ease-in-out infinite;
}

.admin-section-title {
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.admin-section-body {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
}

/* Styles pour les boutons admin */
.admin-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.admin-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: var(--transition-slow);
}

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

.admin-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.admin-btn.danger {
    background: var(--gradient-danger);
}

.admin-btn.success {
    background: var(--gradient-success);
}

.admin-btn.warning {
    background: var(--gradient-warning);
}

/* Styles pour les formulaires admin */
.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-label {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.admin-form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.admin-form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Styles pour les listes admin */
.admin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-list-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.admin-list-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* Styles pour les badges admin */
.admin-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-badge.primary {
    background: var(--gradient-primary);
    color: white;
}

.admin-badge.success {
    background: var(--gradient-success);
    color: white;
}

.admin-badge.warning {
    background: var(--gradient-warning);
    color: white;
}

.admin-badge.danger {
    background: var(--gradient-danger);
    color: white;
}

/* ===== ANIMATIONS SUPPLÉMENTAIRES POUR L'EFFET WOW ===== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flipInX {
    from {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotateX(-20deg);
    }
    60% {
        transform: perspective(400px) rotateX(10deg);
        opacity: 1;
    }
    80% {
        transform: perspective(400px) rotateX(-5deg);
    }
    to {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

@keyframes lightSpeedIn {
    from {
        transform: translate3d(100%, 0, 0) skewX(-30deg);
        opacity: 0;
    }
    60% {
        transform: skewX(20deg);
        opacity: 1;
    }
    80% {
        transform: skewX(-5deg);
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes rubberBand {
    from {
        transform: scale3d(1, 1, 1);
    }
    30% {
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        transform: scale3d(1.05, 0.95, 1);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

@keyframes jello {
    11.1% {
        transform: skewX(-12.5deg) skewY(-12.5deg);
    }
    22.2% {
        transform: skewX(6.25deg) skewY(6.25deg);
    }
    33.3% {
        transform: skewX(-3.125deg) skewY(-3.125deg);
    }
    44.4% {
        transform: skewX(1.5625deg) skewY(1.5625deg);
    }
    55.5% {
        transform: skewX(-0.78125deg) skewY(-0.78125deg);
    }
    66.6% {
        transform: skewX(0.390625deg) skewY(0.390625deg);
    }
    77.7% {
        transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    }
    88.8% {
        transform: skewX(0.09765625deg) skewY(0.09765625deg);
    }
    100% {
        transform: skewX(0deg) skewY(0deg);
    }
}

@keyframes swing {
    20% {
        transform: rotate3d(0, 0, 1, 15deg);
    }
    40% {
        transform: rotate3d(0, 0, 1, -10deg);
    }
    60% {
        transform: rotate3d(0, 0, 1, 5deg);
    }
    80% {
        transform: rotate3d(0, 0, 1, -5deg);
    }
    to {
        transform: rotate3d(0, 0, 1, 0deg);
    }
}

@keyframes tada {
    from {
        transform: scale3d(1, 1, 1);
    }
    10%, 20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
    40%, 60%, 80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes wobble {
    from {
        transform: translate3d(0, 0, 0);
    }
    15% {
        transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    }
    30% {
        transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    }
    45% {
        transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    }
    60% {
        transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    }
    75% {
        transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

/* ===== CLASSES UTILITAIRES POUR LES NOUVELLES ANIMATIONS ===== */
.animate-slideInDown {
    animation: slideInDown 0.6s ease-out;
}

.animate-zoomIn {
    animation: zoomIn 0.6s ease-out;
}

.animate-flipInX {
    animation: flipInX 0.8s ease-out;
}

.animate-lightSpeedIn {
    animation: lightSpeedIn 0.8s ease-out;
}

.animate-rubberBand {
    animation: rubberBand 0.8s ease-out;
}

.animate-heartBeat {
    animation: heartBeat 1.3s ease-in-out infinite;
}

.animate-jello {
    animation: jello 0.9s ease-in-out;
}

.animate-swing {
    animation: swing 1s ease-in-out;
}

.animate-tada {
    animation: tada 1s ease-in-out;
}

.animate-wobble {
    animation: wobble 1s ease-in-out;
}

/* ===== EFFETS HOVER AVANCÉS ===== */
.hover-slide-up:hover {
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-zoom:hover {
    transform: scale(1.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-rotate:hover {
    transform: rotate(5deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-skew:hover {
    transform: skewX(-5deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-flip:hover {
    transform: rotateY(180deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-bounce:hover {
    animation: bounce 0.6s ease-in-out;
}

.hover-pulse:hover {
    animation: pulse 0.6s ease-in-out;
}

.hover-wiggle:hover {
    animation: wiggle 0.6s ease-in-out;
}

.hover-jello:hover {
    animation: jello 0.6s ease-in-out;
}

.hover-tada:hover {
    animation: tada 0.6s ease-in-out;
}

.hover-wobble:hover {
    animation: wobble 0.6s ease-in-out;
}

/* ===== EFFETS DE PARTICULES FLOTTANTES ===== */
.floating-particles {
    position: relative;
    overflow: hidden;
}

.floating-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 30px 30px;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* ===== EFFETS DE LUMIÈRE ===== */
.light-effect {
    position: relative;
    overflow: hidden;
}

.light-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: lightSweep 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes lightSweep {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* ===== EFFETS DE NEON ===== */
.neon-glow {
    text-shadow: 
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 15px var(--primary-color),
        0 0 20px var(--primary-color);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 
            0 0 5px var(--primary-color),
            0 0 10px var(--primary-color),
            0 0 15px var(--primary-color),
            0 0 20px var(--primary-color);
    }
    to {
        text-shadow: 
            0 0 2px var(--primary-color),
            0 0 5px var(--primary-color),
            0 0 8px var(--primary-color),
            0 0 12px var(--primary-color);
    }
}

/* ===== EFFETS DE MATRICE ===== */
.matrix-effect {
    position: relative;
    overflow: hidden;
}

.matrix-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    animation: matrixScan 2s linear infinite;
    pointer-events: none;
    z-index: 1;
}

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

/* Print styles */
@media print {
    .navbar,
    .modal,
    .toast-container {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
    }
    
    .admin-dashboard::before {
        display: none !important;
    }
    
    .stat-card,
    .admin-section {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}
