/* ===========================================
   GLASSMORPHISM - PAGE RESERVATIONS
   Charte graphique : Fond sombre + Fenêtres claires + Poppins
   =========================================== */

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: 
        radial-gradient(circle at 20% 80%, rgba(100, 100, 100, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(150, 150, 150, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(80, 80, 80, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #1a1a1a 100%);
    min-height: 100vh;
    height: auto;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 60px !important;
    scroll-behavior: auto !important;
}

/* Empêcher les scrollbars multiples avec SweetAlert2 */
body.swal2-shown {
    overflow-y: hidden !important;
}

html.swal2-shown {
    overflow-y: hidden !important;
}

/* Empêcher les scrollbars sur les conteneurs SweetAlert */
.swal2-container {
    overflow: hidden !important;
}

.swal2-popup {
    overflow: visible !important;
}

.swal2-html-container {
    overflow-y: auto !important;
    max-height: 60vh !important;
}

/* Empêcher le scroll sur le body quand une modale est ouverte */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}


/* ===========================================
   NAVBAR
   =========================================== */

.navbar {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.dropdown-item {
    color: #333333 !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    transform: translateX(4px) !important;
}

/* ===========================================
   CONTENU PRINCIPAL
   =========================================== */

.container-fluid {
    padding: 20px !important;
    position: relative;
    z-index: 1;
    min-height: auto;
    height: auto;
}

/* ===========================================
   TITRE DE PAGE
   =========================================== */

h1 {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    margin-bottom: 1rem !important;
    animation: slideInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.text-center.text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    animation: slideInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    animation-fill-mode: both;
}

/* ===========================================
   CARTES
   =========================================== */

.card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    position: relative;
    z-index: 1;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    animation-fill-mode: both;
    transition: all 0.3s ease !important;
}

.card:hover {
    background: rgba(255, 255, 255, 0.85) !important;
}

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

.card-body {
    padding: 20px !important;
    position: relative;
    z-index: 2;
    color: #333333 !important;
}

/* ===========================================
   NAVIGATION DES SÉANCES
   =========================================== */

.date-display {
    padding: 20px 0;
    margin-bottom: 20px;
}

.date-display h3 {
    animation: slideInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

/* Boutons de navigation */
.btn-nav {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* ===========================================
   BOUTONS DE NAVIGATION (anciens styles conservés pour compatibilité)
   =========================================== */

.btn-outline-primary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #333333 !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #000000 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.btn-primary:active {
    transform: translateY(-1px) !important;
}

/* ===========================================
   FORMULAIRES
   =========================================== */

.form-control {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    color: #333333 !important;
}

.form-control:focus {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
    color: #333333 !important;
}

/* ===========================================
   BADGES
   =========================================== */

.badge {
    font-weight: 500 !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.badge-simple {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.badge-simple:hover {
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Badges colorés conservés pour compatibilité si nécessaire */
.badge.text-bg-primary {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.badge.text-bg-success {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.badge.text-bg-secondary {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.badge.bg-info {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.badge.text-bg-warning {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.badge.text-bg-danger {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.badge.text-dark {
    color: #333333 !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

/* Badge avec effet hover pour les boutons */
.badge[style*="cursor: pointer"] {
    transition: all 0.3s ease !important;
}

.badge[style*="cursor: pointer"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* ===========================================
   VUE CALENDRIER - COLLAPSE
   =========================================== */

.jour-item {
    margin-bottom: 20px;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-fill-mode: both;
}

.jour-item:nth-child(1) { animation-delay: 0.1s; }
.jour-item:nth-child(2) { animation-delay: 0.2s; }
.jour-item:nth-child(3) { animation-delay: 0.3s; }
.jour-item:nth-child(4) { animation-delay: 0.4s; }
.jour-item:nth-child(5) { animation-delay: 0.5s; }
.jour-item:nth-child(6) { animation-delay: 0.6s; }
.jour-item:nth-child(7) { animation-delay: 0.7s; }

.jour-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 16px 20px !important;
    border-radius: 16px !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #333333 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    overflow: hidden;
}

.jour-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: left 0.5s;
}

.jour-header:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

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

.jour-header h6 {
    margin: 0 !important;
    color: #333333 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.jour-header i {
    color: #333333 !important;
    transition: transform 0.3s ease !important;
}

.jour-header:hover i.fa-chevron-down,
.jour-header:hover i.fa-chevron-up {
    transform: scale(1.2) !important;
}

.jour-content {
    display: none;
    padding: 20px 0;
}

.jour-content.show {
    display: block;
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.creneaux-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.creneau-item {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    color: #333333 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.creneau-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
}

.creneau-item:hover {
    background: rgba(255, 255, 255, 0.75) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.creneau-clickable {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.creneau-clickable:hover {
    background: rgba(255, 255, 255, 0.7) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.creneau-clickable:active {
    transform: translateY(-1px) !important;
}

.creneau-item .fw-semibold {
    color: #333333 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 8px !important;
}

.creneau-item .text-muted {
    color: #666666 !important;
    font-size: 0.9rem !important;
}

.creneau-item i {
    color: #666666 !important;
}

/* ===========================================
   CRÉNEAUX OPEN GYM - STYLE INVERSÉ (GRIS/BLANC)
   =========================================== */

.creneau-open-gym {
    background: rgba(60, 60, 60, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.creneau-open-gym::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
}

.creneau-open-gym:hover {
    background: rgba(70, 70, 70, 0.85) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.creneau-open-gym .fw-semibold {
    color: #ffffff !important;
}

.creneau-open-gym .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.creneau-open-gym i {
    color: rgba(255, 255, 255, 0.9) !important;
}

.creneau-open-gym .badge-simple {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.badge-open-gym {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.badge-open-gym:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.badge-open-gym i {
    color: #ffffff !important;
}

/* ===========================================
   BOUTON SÉANCE - STYLES CONDITIONNELS
   =========================================== */

/* Bouton Séance sur carte classique (blanche) - Gris pour visibilité */
.btn-seance-classic {
    background: rgba(100, 100, 100, 0.8) !important;
    border: 1px solid rgba(100, 100, 100, 0.9) !important;
    color: #ffffff !important;
}

.btn-seance-classic:hover {
    background: rgba(80, 80, 80, 0.9) !important;
    border-color: rgba(80, 80, 80, 1) !important;
    color: #ffffff !important;
}

/* Bouton Séance sur carte Open Gym (grise) - Blanc pour visibilité */
.btn-seance-open-gym {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.btn-seance-open-gym:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
}

/* ===========================================
   BOUTONS D'ACTION
   =========================================== */

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.875rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.btn-success::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;
}

.btn-success:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

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

.btn-success:active {
    transform: translateY(-1px) !important;
}

.btn-outline-danger {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(220, 53, 69, 0.5) !important;
    color: #dc3545 !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.875rem !important;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
}

.btn-outline-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(108, 117, 125, 0.5) !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.875rem !important;
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3) !important;
}

.btn-outline-warning {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 193, 7, 0.5) !important;
    color: #ffc107 !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.875rem !important;
}

.btn-outline-warning:hover {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3) !important;
}

.btn-sm {
    padding: 6px 12px !important;
    font-size: 0.875rem !important;
}

.btn-outline-primary.btn-sm {
    padding: 6px 12px !important;
}

/* ===========================================
   ALERTES
   =========================================== */

.alert {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    color: #333333 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    z-index: 2;
}

.alert-light {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #333333 !important;
}

.alert .text-muted {
    color: #666666 !important;
}

/* ===========================================
   MODAL
   =========================================== */

.modal-content {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.modal-header {
    background: linear-gradient(135deg, #333333 0%, #555555 100%) !important;
    color: #ffffff !important;
    border-radius: 24px 24px 0 0 !important;
    border-bottom: none !important;
}

.modal-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

.modal-body {
    color: #333333 !important;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.modal-footer .btn-secondary {
    background: rgba(108, 117, 125, 0.8) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.modal-footer .btn-secondary:hover {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.list-group-item {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
    transition: all 0.3s ease !important;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: translateX(4px) !important;
}

/* ===========================================
   TEXTES
   =========================================== */

.text-muted {
    color: #666666 !important;
}

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

small {
    color: #666666 !important;
}

.card-body .text-muted,
.card-body small {
    color: #666666 !important;
}

.card-body h6,
.card-body .fw-bold,
.card-body strong {
    color: #333333 !important;
}

/* ===========================================
   ANIMATIONS
   =========================================== */

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

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

/* ===========================================
   SWEETALERT CUSTOM
   =========================================== */

.swal-popup-custom {
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.swal-popup-custom .swal2-title {
    color: #333333 !important;
    font-weight: 700 !important;
}

.swal-popup-custom .swal2-html-container {
    color: #333333 !important;
    background: transparent !important;
}

.swal-popup-custom .swal2-content {
    background: transparent !important;
}

.swal-popup-custom .swal2-footer {
    background: transparent !important;
    border-top: none !important;
}

.swal-popup-custom .swal2-actions {
    background: transparent !important;
    border-top: none !important;
}

.swal-popup-custom .btn-simple,
.swal-popup-custom .btn-simple-primary,
.swal-popup-custom .btn-simple-secondary,
.swal-popup-custom .btn-simple-danger,
.swal-popup-custom .btn-simple-disabled {
    background: rgba(240, 240, 240, 0.95) !important;
    border: 2px solid rgba(0, 0, 0, 0.15) !important;
    color: #333333 !important;
    font-weight: 500 !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.swal-popup-custom .btn-simple:hover,
.swal-popup-custom .btn-simple-primary:hover {
    background: rgba(230, 230, 230, 1) !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.swal-popup-custom .btn-simple-secondary:hover {
    background: rgba(220, 220, 220, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.swal-popup-custom .btn-simple-danger:hover {
    background: rgba(220, 220, 220, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.swal-popup-custom .btn-simple-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    background: rgba(255, 255, 255, 0.4) !important;
}

.swal-popup-custom .btn-simple-disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.swal-popup-custom .badge-simple {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #333333 !important;
    font-weight: 500 !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.swal-button-custom {
    background: rgba(240, 240, 240, 0.95) !important;
    border: 2px solid rgba(0, 0, 0, 0.15) !important;
    color: #333333 !important;
    font-weight: 500 !important;
    padding: 10px 24px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.swal-button-custom:hover {
    background: rgba(230, 230, 230, 1) !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.swal-button-custom-cancel {
    background: rgba(240, 240, 240, 0.95) !important;
    border: 2px solid rgba(0, 0, 0, 0.15) !important;
    color: #333333 !important;
    font-weight: 500 !important;
    padding: 10px 24px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.swal-button-custom-cancel:hover {
    background: rgba(220, 220, 220, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.swal-popup-custom .inscrit-item {
    transition: all 0.3s ease !important;
}

.swal-popup-custom .inscrit-item:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.swal-popup-custom .form-control {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    color: #333333 !important;
}

.swal-popup-custom .form-control:focus {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1) !important;
    color: #333333 !important;
    outline: none !important;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 768px) {
    .container-fluid {
        padding: 15px !important;
    }
    
    h1 {
        font-size: 1.8rem !important;
    }
    
    .card-body {
        padding: 16px !important;
    }
    
    .jour-header {
        padding: 12px 16px !important;
    }
    
    .jour-header h6 {
        font-size: 1rem !important;
    }
    
    .creneau-item {
        padding: 12px !important;
    }
    
    .creneau-item .fw-semibold {
        font-size: 0.95rem !important;
    }
    
    .creneau-item .text-muted {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding: 10px !important;
    }
    
    h1 {
        font-size: 1.5rem !important;
    }
    
    .card-body {
        padding: 12px !important;
    }
    
    .jour-header {
        padding: 10px 12px !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .jour-header h6 {
        font-size: 0.95rem !important;
    }
    
    .creneau-item {
        padding: 10px !important;
    }
    
    .creneau-item .fw-semibold {
        font-size: 0.9rem !important;
    }
    
    .creneau-item .text-muted {
        font-size: 0.8rem !important;
    }
    
    .badge {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
    }
    
    .btn-sm {
        padding: 4px 8px !important;
        font-size: 0.8rem !important;
    }
}
