/* ========================================
   OCYTOMILK - Styles globaux
   ======================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Abel", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADERS === */
header {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

/* === HAMBURGER MENU === */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* === NAVIGATION === */
nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
    position: relative;
}

nav ul li a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    color: #FF3366;
    border-bottom-color: #FF3366;
    background-color: #f8f9fa;
}

/* Menu utilisateur déroulant */
.user-menu {
    position: relative;
}

.user-menu > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-menu > a::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s;
}

.user-menu:hover > a::after {
    transform: rotate(180deg) translate(0px, 3px)
}

.user-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
}

.user-menu:hover .user-submenu {
    display: block;
}

.user-submenu li {
    margin: 0;
}

.user-submenu a {
    padding: 12px 20px !important;
    border-bottom: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    white-space: nowrap;
}

.user-submenu a:hover {
    background-color: #f0f0ff !important;
    color: #FF3366 !important;
    padding-left: 25px !important;
}

/* Badges dans le menu utilisateur */
.menu-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: linear-gradient(135deg, #FF3366 0%, #d94b8a 100%);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.menu-badge.badge-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* === MAIN CONTENT === */
main {
    min-height: calc(100vh - 250px);
    padding: 30px 0;
}

/* === PAGE HEADERS (tous harmonisés) === */
.compte-header,
.contact-header,
.formations-header,
.formation-detail-header,
.session-header,
.reservation-header,
.login-header,
.register-header,
.password-header,
.profile-header,
.header-section,
.presentation-hero,
.hero {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    padding: 40px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.compte-header h1,
.contact-header h1,
.formations-header h1,
.formation-detail-header h1,
.session-header h1,
.reservation-header h1,
.login-header h1,
.register-header h1,
.password-header h1,
.profile-header h1,
.header-section h1,
.presentation-hero h1,
.hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.compte-header p,
.contact-header p,
.formations-header p,
.formation-detail-header p,
.session-header p,
.reservation-header p,
.login-header p,
.register-header p,
.password-header p,
.profile-header p,
.header-section p,
.presentation-hero p,
.hero p {
    font-size: 18px;
    margin-top: 10px;
    opacity: 0.95;
}

.session-date-large {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* === FOOTER === */
footer {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: #333;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

footer a {
    color: #FF3366;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* === ALERTS === */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* === CARDS === */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #FF3366;
    border-bottom: 2px solid #FF3366;
    padding-bottom: 10px;
}

/* === BUTTONS === */
.btn {
    font-family: "Abel", sans-serif;
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* === FORMS === */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #FF3366;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF3366;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

/* === PAGE RESERVATION DETAIL === */
.reservation-container {
    max-width: 900px;
    margin: 0 auto;
}

.reservation-container .reservation-header {
    display: block !important;
}

.reservation-header h1 {
    margin-bottom: 20px;
    text-align: center !important;
}

.reservation-meta {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 40px;
    text-align: left !important;
}

.reservation-number {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.status-en_attente {
    background: #fff3cd;
    color: #856404;
}

.status-confirmee {
    background: #d4edda;
    color: #155724;
}

.status-annulee {
    background: #f8d7da;
    color: #721c24;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card h2 {
    font-size: 22px;
    color: #FF3366;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.payment-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.payment-row:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 18px;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 2px solid #FF3366;
}

.payment-label {
    color: #495057;
}

.payment-value {
    color: #2c3e50;
    font-weight: 600;
}

.check-icon {
    color: #28a745;
    font-size: 14px;
    margin-left: 8px;
}

.cross-icon {
    color: #dc3545;
    font-size: 14px;
    margin-left: 8px;
}

.payment-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 5px;
}

.payment-warning h3 {
    color: #856404;
    font-size: 16px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-warning p {
    color: #856404;
    margin: 0;
}

.history-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.history-card h2 {
    font-size: 22px;
    color: #FF3366;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.history-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

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

.history-date {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.history-event {
    font-size: 15px;
    color: #2c3e50;
}

.actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
        align-items: flex-start;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: left;
        padding: 15px 20px;
    }
    
    /* Sous-menu sur mobile */
    nav ul li .submenu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        background: #f8f9fa;
        display: none;
    }
    
    nav ul li.submenu-open .submenu {
        display: block;
    }
    
    nav ul li .submenu a {
        padding-left: 40px;
        font-size: 14px;
    }
    
    .user-submenu {
        position: static;
        display: none;
        box-shadow: none;
        background: #f8f9fa;
        padding: 0;
        margin: 0;
    }
    
    .user-menu.active .user-submenu {
        display: block;
    }
    
    .user-submenu a {
        padding-left: 40px !important;
        font-size: 14px;
    }
    
    .user-menu > a::after {
        margin-left: auto;
    }
    
    .login-container {
        padding: 20px;
    }
    
    .session-grid,
    .formation-grid,
    .reservation-grid {
        grid-template-columns: 1fr;
    }
    
    .session-sidebar,
    .formation-sidebar,
    .reservation-sidebar {
        position: static;
        order: -1;
    }
}

/* === LOGIN / REGISTER PAGES === */
.login-container {
    max-width: 450px;
    margin: 0 auto;
}

.register-container {
    max-width: 700px;
    margin: 0 auto;
}

.login-card,
.register-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
	padding: 40px;
}

.login-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.error-message,
.success-message {
    padding: 15px;
    margin: 20px;
    border-radius: 5px;
    text-align: center;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.login-form,
.register-form {
    padding: 30px;
}

.login-link,
.register-link {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
}

.login-link a,
.register-link a {
    color: #FF3366;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover,
.register-link a:hover {
    text-decoration: underline;
}

/* === PAGE D'ACCUEIL (index.php) === */
.sessions-preview {
    margin-top: 40px;
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h3 {
    color: #FF3366;
    margin-bottom: 15px;
    font-size: 20px;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

.sessions-section {
    margin: 50px 0;
}

.sessions-section h2 {
    color: #FF3366;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.session-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.session-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.session-date {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.session-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FF3366;
}

.session-places {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 15px;
}

.session-places.low {
    color: #ff9800;
}

.session-places.full {
    color: #ef5350;
}

.session-status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}

.badge-open {
    background: #d4edda;
    color: #155724;
}

.badge-low {
    background: #fff3cd;
    color: #856404;
}

.badge-full {
    background: #f8d7da;
    color: #721c24;
}

.cal-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 10px;
    margin-top: 3px;
}

.cal-badge.badge-open {
    background: #d4edda;
    color: #155724;
}

.cal-badge.badge-low {
    background: #fff3cd;
    color: #856404;
}

.cal-badge.badge-full {
    background: #f8d7da;
    color: #721c24;
}

.session-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.session-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* === PAGE COMPTE (compte.php) === */
.compte-sidebar {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    height: fit-content;
	margin-bottom: 30px;
}

.user-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: bold;
    margin: 0 auto 20px;
}

.user-name {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.compte-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
}

.section-content {
    display: none;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.reservation-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #FF3366;
}

/* Info item pleine largeur */
.info-item.full-width {
    grid-column: 1 / -1;
}

/* Actions du profil */
.profile-actions {
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

/* Sections de statut (réservations) */
.statut-section {
    margin-bottom: 20px;
}

.statut-header {
    cursor: pointer;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.statut-header:hover {
    background: #f0f0f0;
}

.statut-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.statut-icon {
    font-size: 1.2rem;
}

.statut-label {
    font-size: 1.2rem;
    font-weight: bold;
}

.statut-count {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.statut-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.statut-toggle.collapsed {
    transform: rotate(-90deg);
}

.statut-content {
    margin-top: 15px;
    padding-left: 20px;
}

/* Message vide */
.empty-message {
    text-align: center;
    padding: 30px;
    color: #777;
    font-style: italic;
}

/* Bouton découvrir formations */
.btn-discover {
    margin-top: 20px;
}

/* Section parrainage */
.parrainage-code-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.parrainage-code-label {
    margin-bottom: 10px;
}

.parrainage-code-value {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 3px;
    margin: 10px 0;
}

.btn-copy-code {
    background: white;
    color: #667eea;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-copy-code:hover {
    transform: translateY(-2px);
}

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

.parrainage-stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.parrainage-stat-number {
    font-size: 32px;
    font-weight: bold;
}

.parrainage-stat-number.filleuls {
    color: #667eea;
}

.parrainage-stat-number.actifs {
    color: #27ae60;
}

.parrainage-stat-number.reductions {
    color: #e67e22;
}

.parrainage-stat-label {
    color: #7f8c8d;
    font-size: 14px;
}


/* =====================================================
   CARTES DE RÉSERVATION - NOUVEAU DESIGN (compte.php)
   ===================================================== */

/* Carte principale */
.reservation-card-new {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
}

/* En-tête avec gradient */
.reservation-header-new {
    background: linear-gradient(135deg, #f7e559 0%, #f5c150 25%, #e8794a 50%, #d94b8a 75%, #c94b9a 100%);
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
}

.reservation-header-new h1 {
    color: white;
    font-size: 1.4em;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.reservation-title-new {
    color: white;
    font-size: 1.4em;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

/* Ligne numéro + statut */
.reservation-numero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 30px;
    flex-wrap: wrap;
}

.reservation-numero-label {
    color: #c9365c;
    font-size: 16px;
    font-weight: 700;
}

.reservation-numero-value {
    font-weight: 700;
    font-size: 16px;
    color: #c9365c;
}

.status-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.status-badge-new.status-en_attente {
    background: #fff3cd;
    color: #856404;
}

.status-badge-new.status-confirmee {
    background: #28a745;
    color: white;
}

.status-badge-new.status-annulee {
    background: #dc3545;
    color: white;
}

/* Bloc infos session (fond gris) */
.reservation-info-block {
    background: #f5f5f5;
    padding: 20px 30px 20px 30px;
    margin: 0 20px 20px 20px;
    border-radius: 10px;
}

.reservation-info-block .info-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.reservation-info-block .info-cell {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reservation-info-block .info-label {
    color: #888;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0;
}

.reservation-info-block .info-value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
}

.reservation-info-block .info-value small {
    font-weight: 400;
    color: #666;
}

/* Ligne pleine largeur pour le lieu */
.reservation-info-block .info-row-full {
    display: block;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.reservation-info-block .info-cell-full {
    width: 100%;
}

/* Bloc tarifs */
.reservation-tarifs-block {
    padding: 20px 30px;
}

/* Grille commune pour les deux versions */
.tarifs-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.tarif-cell {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tarif-label {
    color: #888;
    font-size: 13px;
}

.tarif-value {
    color: #2c3e50;
    font-weight: 700;
    font-size: 18px;
}

/* Badge code promo (vert) */
.promo-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #27ae60;
    color: white;
}

/* Badge parrainage (violet) */
.promo-badge.parrainage-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Version AVEC réduction - 3ème colonne avec sous-lignes */
.tarif-cell-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Couleur réduction (vert) */
.reduction-cell .tarif-value,
.tarif-value.reduction-value {
    color: #27ae60;
}

.tarif-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tarif-line .tarif-label {
    min-width: 60px;
}

.tarif-line .tarif-value {
    font-size: 16px;
}

/* Badges de paiement */
.payment-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.payment-badge.paid {
    background: #28a745;
    color: white;
}

.payment-badge.unpaid {
    background: #ff5722;
    color: white;
}

/* Documents */
.reservation-card-new .reservation-documents {
    padding: 15px 30px;
    border-top: 1px solid #eee;
}

/* Boutons d'action */
.reservation-actions-new {
    display: flex;
    gap: 15px;
    padding: 20px 30px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.btn-action {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    min-width: 140px;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-modifier {
    background: #9e9e9e;
    color: white;
}

.btn-payer {
    background: #28a745;
    color: white;
}

.btn-annuler {
    background: #dc3545;
    color: white;
}

/* Responsive cartes réservation */
@media (max-width: 768px) {
    .reservation-header-new {
        padding: 20px;
    }
    
    .reservation-title-new {
        font-size: 1.2em;
        text-align: center;
    }
    
    /* Numéro + statut sur une ligne */
    .reservation-numero-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 15px 20px;
    }
    
    .reservation-numero-value {
        font-size: 15px;
    }
    
    .status-badge-new {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    /* Bloc info - labels à gauche */
    .reservation-info-block {
        margin: 0 15px 20px 15px;
        padding: 15px;
    }
    
    .reservation-info-block .info-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .reservation-info-block .info-cell {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 5px;
    }
    
    .reservation-info-block .info-label {
        width: 100%;
        text-align: left;
    }
    
    .reservation-info-block .info-value {
        width: 100%;
        text-align: left;
    }
    
    /* Tarifs responsive - empilés verticalement */
    .tarifs-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 10px !important;
    }
    
    .tarif-cell {
        display: grid !important;
        grid-template-columns: auto 1fr 75px !important;
        align-items: center !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #eee;
        gap: 8px !important;
    }
    
    .tarif-cell .tarif-label {
        text-align: left !important;
    }
    
    .tarif-cell .tarif-value {
        text-align: right !important;
        font-size: 1.1em;
        white-space: nowrap !important;
    }
    
    .tarif-cell .payment-badge,
    .tarif-cell .promo-badge {
        justify-self: start !important;
        margin: 0 !important;
    }
    
    .tarif-cell:last-child,
    .tarif-cell-group {
        border-bottom: none;
    }
    
    .tarif-cell-group {
        gap: 0;
        padding-top: 5px;
    }
    
    .tarif-line {
        display: grid !important;
        grid-template-columns: auto 1fr 75px !important;
        align-items: center !important;
        padding: 8px 0 !important;
        gap: 8px !important;
    }
    
    .tarif-line .tarif-label {
        text-align: left !important;
        min-width: unset !important;
    }
    
    .tarif-line .tarif-value {
        text-align: right !important;
        font-size: 1.1em;
    }
    
    .tarif-line .payment-badge {
        justify-self: start !important;
        margin: 0 !important;
    }
    
    .reservation-tarifs-block {
        padding: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Boutons responsive */
    .reservation-actions-new {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .btn-action {
        width: auto;
        min-width: 140px;
    }
    
    /* Ordre des boutons en mobile */
    .btn-details { order: 1; }
    .btn-payer { order: 2; }
    .btn-modifier { order: 3; }
    .btn-annuler { order: 4; }
}

.parrainage-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #FF3366;
    border-bottom-color: #FF3366;
}

.parrainage-code-section {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.code-display {
    background: rgba(255,255,255,0.2);
    padding: 15px 25px;
    border-radius: 8px;
    display: inline-block;
    margin: 15px 0;
}

.code-value {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 3px;
}

.btn-copy {
    background: white;
    color: #FF3366;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #FF3366;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.parrainage-item {
    background: white;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.parrainage-info {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.filleul-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.parrainage-date {
    color: #999;
    font-size: 14px;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

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

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-historique {
    background: #999;
    color: #FFFFFF;
}

/* === PAGE FORMATIONS (formations.php) === */
.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.tab,
.tab-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #FF3366;
    color: #FF3366;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.tab:hover,
.tab-btn:hover,
.tab.active,
.tab-btn.active {
    background: #FF3366;
    color: white;
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.formation-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.formation-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
}

.formation-content {
    padding: 20px;
}

.formation-title {
    font-size: 20px;
    font-weight: 600;
    color: #FF3366;
    margin-bottom: 10px;
}

.formation-desc {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.formation-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.formation-duration,
.formation-price {
    color: #FF3366;
    font-weight: 600;
}

.formation-btn {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s;
}

.formation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.calendrier {
    background: white;
    border-radius: 10px;
    padding: 20px;
}

.calendrier-header {
    margin-bottom: 25px;
}

.calendrier-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.nav-mois {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.mois-titre {
    font-size: 24px;
    color: #FF3366;
    font-weight: 600;
    flex: 1;
}

.nav-btn {
    background: #FF3366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.nav-btn:active {
    transform: translateY(0);
}

.filtre {
    margin-bottom: 20px;
}

.filtre label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.filtre select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
	font-family: "Abel", sans-serif;
	line-height: 1.6;}

.filtre select:focus {
    outline: none;
    border-color: #FF3366;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.calendrier-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 10px;
}

.day-header {
    text-align: center;
    font-weight: 600;
    color: #FF3366;
    padding: 12px;
    font-size: 14px;
    text-transform: uppercase;
}

.calendrier-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.day-cell {
    min-height: 100px;
    border: 1px solid #eee;
    padding: 8px;
    background: white;
    position: relative;
    transition: all 0.3s;
}

.day-cell:hover {
    background: #f8f9fa;
    border-color: #FF3366;
}

.day-cell.other-month {
    background: #f8f9fa;
    opacity: 0.5;
}

.day-cell.today {
    background: #fff8e1;
    border-color: #ff9800;
    border-width: 2px;
}

.day-num {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.session-badge {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%); !important;
    color: white !important;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
}

.session-badge:hover {
    transform: scale(1.02);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.session-badge.peu-places {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
}

.session-badge.complet {
    background: linear-gradient(135deg, #ef5350 0%, #e53935 100%) !important;
}

.legende {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.legende-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legende-color,
.legende-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legende-box.dispo {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
}

.legende-box.peu {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.legende-box.complet {
    background: linear-gradient(135deg, #ef5350 0%, #e53935 100%);
}

/* === MODALE === */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.sessions-mois {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.mois-groupe {
    margin-bottom: 40px;
}

.mois-groupe:last-child {
    margin-bottom: 0;
}

.mois-titre {
    font-size: 24px;
    color: #FF3366;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF3366;
}

.session-item {
    background: #f0f1f3;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.session-item:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #e8eaed;
}

.session-info {
    flex: 1;
}

.session-info h4 {
    font-size: 18px;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 8px;
}

.session-dates {
    color: #FF3366;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.places-dispo {
    color: #4caf50;
    font-weight: 600;
}

.places-complet {
    color: #ef5350;
    font-weight: 600;
}

.btn-small {
    padding: 8px 15px;
    font-size: 14px;
}

/* === PAGES DETAIL (session_detail.php, formation_detail.php, reservation_detail.php) === */
.session-grid,
.formation-grid,
.reservation-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.session-main,
.formation-main,
.reservation-main {
    min-width: 0;
}

.session-sidebar,
.formation-sidebar,
.reservation-sidebar {
    position: sticky;
    top: 20px;
}

.price-box {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.price-box-title {
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.price-amount {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
}

.price-detail {
    font-size: 14px;
    opacity: 0.8;
}

.info-box {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.info-box-title {
    font-size: 16px;
    font-weight: 600;
    color: #FF3366;
    margin-bottom: 10px;
}

.info-box-content {
    color: #333;
    line-height: 1.6;
}

.login-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.login-notice a {
    color: #FF3366;
    font-weight: 600;
    text-decoration: none;
}

.login-notice a:hover {
    text-decoration: underline;
}

.session-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.session-link {
    display: block;
    color: #FF3366;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

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

.back-actions {
    margin-top: 30px;
    text-align: center;
}

.reservation-button {
    width: 100%;
    margin-bottom: 15px;
}

/* === PAGE PRÉSENTATION (presentation.php) === */
.content-section {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.content-section h2 {
    color: #FF3366;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF3366;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section h3 {
    color: #333;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.content-section ul li {
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.content-section ul li strong {
    color: #333;
}

.formatrice-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 5px solid #FF3366;
}

.formatrice-card h3 {
    color: #FF3366;
    margin-top: 0;
}

.formatrice-card p {
    line-height: 1.8;
    color: #555;
}

.formatrice-card ul {
    margin-top: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.value-item h4 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 0;
}

.value-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.cta-section {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.cta-section h2 {
    color: white;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
    opacity: 0.95;
}

.btn-light {
    background: white !important;
    color: #FF3366 !important;
}

.btn-light:hover {
    background: #f8f9fa !important;
}

.valeurs-section {
    margin-top: 40px;
}

.valeur-item {
    margin-bottom: 25px;
}

.valeur-item h4 {
    color: #FF3366;
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.formation-description,
.session-description {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.formation-description h2,
.session-description h2 {
    color: #FF3366;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF3366;
}

.formation-description p,
.session-description p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.formation-info,
.session-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.info-section {
    margin-bottom: 30px;
}

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

.info-section h2 {
    color: #FF3366;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF3366;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-section p,
.info-section div {
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.formateur-card,
.intervenant-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #FF3366;
    margin-bottom: 15px;
}

.formateurs-list,
.intervenants-list {
    display: grid;
    gap: 15px;
}

.formateur-name,
.intervenant-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.formateur-bio,
.intervenant-bio {
    color: #666;
    font-style: italic;
    line-height: 1.6;
}

.tarif-info {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.tarif-montant {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.tarif-detail {
    font-size: 14px;
    opacity: 0.9;
}

.horaires {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.horaires-label {
    font-weight: 600;
    color: #FF3366;
    margin-bottom: 5px;
}

.lieu-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.lieu-icon {
    color: #FF3366;
    margin-right: 5px;
}

.places-info {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.places-info.peu-places {
    background: #fff3cd;
    color: #856404;
}

.places-info.complet {
    background: #f8d7da;
    color: #721c24;
}

.session-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.session-actions .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #FF3366;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.retour-btn {
    background: #95a5a6;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 500;
}

.retour-btn:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.sessions-disponibles {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.sessions-disponibles h2 {
    color: #FF3366;
    font-size: 24px;
    margin-bottom: 20px;
}

.session-list-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.session-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.session-list-info h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
}

.session-list-date {
    color: #FF3366;
    font-weight: 600;
    margin-bottom: 5px;
}

.session-list-places {
    color: #28a745;
    font-size: 14px;
}

.login-required {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.login-required a {
    color: #FF3366;
    font-weight: 600;
    text-decoration: none;
}

.login-required a:hover {
    text-decoration: underline;
}

/* ========================================
   PAGE CONTACT - Styles spécifiques
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info,
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.contact-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.contact-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

.contact-detail {
    color: #555;
    line-height: 1.6;
}

.contact-detail a {
    color: #FF3366;
    text-decoration: none;
    font-weight: 500;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.map-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.map-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.map-placeholder {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    padding: 100px;
    text-align: center;
    border-radius: 8px;
    color: #6c757d;
    font-size: 18px;
}

/* Responsive pour la page contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .map-placeholder {
        padding: 60px 20px;
    }
}

/* ========================================
   PAGE MODIFIER PROFIL - Styles spécifiques
   ======================================== */

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.profile-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
	padding: 30px;
}

.profile-header {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.profile-header h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
}

.profile-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.profile-card .info-box {
    background: #e3f2fd;
    padding: 20px;
    margin: 20px 20px 0 20px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.form-section {
    padding: 0 30px;
    margin: 30px 0;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #FF3366;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #FF3366;
}

.form-control::placeholder {
    color: #bdc3c7;
}

textarea.form-control {
    resize: vertical;
    font-family: inherit;
}

.actions {
    padding: 30px;
    background: #f8f9fa;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Responsive pour modifier profil */
@media (max-width: 768px) {
    .profile-container {
        padding: 10px;
    }
    
    .profile-header {
        padding: 30px 20px;
    }
    
    .profile-header h1 {
        font-size: 24px;
    }
    
    .form-section {
        padding: 0 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .actions {
        flex-direction: column;
        padding: 20px;
    }
    
    .actions .btn {
        width: 100%;
    }
}

/* ========================================
   PAGE FORMATION DETAIL - Styles spécifiques
   ======================================== */

.formation-main {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.formation-sidebar {
    background: white;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.formation-image-large {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.formation-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-item {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-label {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    font-weight: 600;
}

.info-value {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
}

.price-highlight {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);;
    color: white;
    padding: 25px 20px;
    text-align: center;
    border-radius: 0 0 10px 10px;
}

.price-highlight .price {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
}

.formation-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.content-section {
    padding: 30px;
    border-bottom: 1px solid #e9ecef;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    color: #FF3366;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF3366;
}

.content-section p {
    line-height: 1.8;
    color: #555;
}

.people-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.people-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.people-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.people-profession {
    color: #7f8c8d;
    font-size: 14px;
}

.sessions-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.session-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.session-date-display {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.session-status {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.status-open {
    background: #d4edda;
    color: #155724;
}

.status-low {
    background: #fff3cd;
    color: #856404;
}

.status-full {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive pour formation detail */
@media (max-width: 968px) {
    .formation-main {
        grid-template-columns: 1fr;
    }
    
    .formation-sidebar {
        position: static;
    }
    
    .sessions-grid {
        grid-template-columns: 1fr;
    }
    
    .sessions-section {
        padding: 20px;
    }
}


.material-symbols-outlined {
	vertical-align: top;
}

.timeline-content{
	font-weight: bold;
	color: #FF3366;
}

/* ========================================
   PAGE CHANGER MOT DE PASSE - Styles spécifiques
   ======================================== */

.password-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.password-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-section {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.password-input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #7f8c8d;
    padding: 5px;
}

.toggle-password:hover {
    color: #3498db;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #95a5a6;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-danger {
    background: #fee;
    color: #c33;
    border-left: 4px solid #c33;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.security-tips {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #ffc107;
}

.security-tips h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 16px;
}

.security-tips ul {
    margin: 0;
    padding-left: 25px;
    color: #2c3e50;
}

.security-tips li {
    margin-bottom: 8px;
}

.password-strength {
    margin-top: 8px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
    border-radius: 2px;
}

.password-strength-text {
    font-size: 12px;
    margin-top: 5px;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* =====================================================
   TÉLÉCHARGEMENT DOCUMENTS (compte.php)
   ===================================================== */

.reservation-documents {
    margin: 20px 30px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

/* Variante orange - Documents à consulter (avant paiement) */
.reservation-documents.to-consult {
    background: #fff8e1;
    border-left: 3px solid #ff9800;
}

.reservation-documents.to-consult .documents-label {
    color: #e65100;
}

.reservation-documents.to-consult .doc-link {
    border-color: #ff9800;
    color: #e65100;
}

.reservation-documents.to-consult .doc-link:hover {
    background: #ff9800;
    color: white;
    border-color: #ff9800;
}

/* Variante rouge - Documents à signer (après paiement) */
.reservation-documents.to-sign {
    background: #fdf2f4;
    border-left: 3px solid #c9365c;
}

.reservation-documents.to-sign .documents-label {
    color: #c9365c;
}

.reservation-documents.to-sign .doc-link {
    border-color: #c9365c;
    color: #c9365c;
}

.reservation-documents.to-sign .doc-link:hover {
    background: #c9365c;
    color: white;
    border-color: #c9365c;
}

/* Variante vert - Documents à télécharger (après signature) */
.reservation-documents.to-download {
    background: #f0fdf4;
    border-left: 3px solid #27ae60;
}

.reservation-documents.to-download .documents-label {
    color: #27ae60;
}

.reservation-documents.to-download .doc-link {
    border-color: #27ae60;
    color: #27ae60;
}

.reservation-documents.to-download .doc-link:hover {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

/* Conteneur des documents */
.documents-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 30px;
}

.documents-container .reservation-documents {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

@media (max-width: 600px) {
    .documents-container .reservation-documents {
        min-width: 100%;
    }
}

.documents-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 14px;
}

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

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.doc-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .documents-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .doc-link {
        justify-content: center;
        width: auto;
    }
}

/* =====================================================
   PAIEMENT STRIPE (reservation_detail.php)
   ===================================================== */

/* Bouton payer */
.payment-action {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    text-align: center;
}

.payment-action p {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.payment-action .payment-info {
    margin: 15px 0 0 0;
    font-size: 12px;
    color: #7f8c8d;
}

.btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    color: white;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

/* Info box solde */
.payment-info-box {
    margin-top: 20px;
    padding: 20px;
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    border-radius: 0 8px 8px 0;
}

.payment-info-box h3 {
    margin: 0 0 10px 0;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-info-box p {
    margin: 0;
    color: #856404;
}

/* Formation réglée */
.payment-complete {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 8px;
    text-align: center;
    color: #155724;
}

.payment-complete .material-symbols-outlined {
    font-size: 40px;
    color: #27ae60;
}

.payment-complete p {
    margin: 10px 0 0 0;
    font-weight: 600;
}

/* Ligne total */
.payment-row.total {
    border-top: 2px solid #dee2e6;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 600;
}

/* Bouton annulation */
.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    color: white;
}

.btn-disabled {
    background: #bdc3c7;
    color: #7f8c8d;
    cursor: not-allowed;
    pointer-events: none;
}

/* Info annulation */
.annulation-info {
    margin-top: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #7f8c8d;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.annulation-info .material-symbols-outlined {
    color: #f39c12;
}

/* Déjà réservé (session_detail.php) */
.already-reserved {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 12px;
    margin-top: 15px;
}

.already-reserved .material-symbols-outlined {
    font-size: 48px;
    color: #27ae60;
}

.already-reserved p {
    margin: 15px 0;
    color: #155724;
}

.already-reserved .btn {
    margin-top: 10px;
}

/* ===== BLOCS DOCUMENTS (reservation_detail, compte, paiement_succes) ===== */
.documents-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.doc-box {
    flex: 1;
    min-width: 250px;
    padding: 15px;
    border-radius: 8px;
}

/* Bloc orange - Documents à consulter (avant paiement) */
.doc-box.to-consult {
    background: #fff8e1;
    border-left: 3px solid #ff9800;
}

.doc-box.to-consult .doc-box-title {
    color: #e65100;
}

.doc-box.to-consult .doc-link-btn {
    border-color: #ff9800;
    color: #e65100;
}

.doc-box.to-consult .doc-link-btn:hover {
    background: #ff9800;
    color: white;
}

/* Bloc rouge - Documents à signer (après paiement, avant signature) */
.doc-box.to-sign {
    background: #fdf2f4;
    border-left: 3px solid #c9365c;
}

.doc-box.to-sign .doc-box-title {
    color: #c9365c;
}

.doc-box.to-sign .doc-link-btn {
    border-color: #c9365c;
    color: #c9365c;
}

.doc-box.to-sign .doc-link-btn:hover {
    background: #c9365c;
    color: white;
}

/* Bloc vert - Documents à télécharger (après signature) */
.doc-box.to-download {
    background: #f0fdf4;
    border-left: 3px solid #27ae60;
}

.doc-box.to-download .doc-box-title {
    color: #27ae60;
}

.doc-box.to-download .doc-link-btn {
    border-color: #27ae60;
    color: #27ae60;
}

.doc-box.to-download .doc-link-btn:hover {
    background: #27ae60;
    color: white;
}

/* Titre et liens des blocs */
.doc-box-title {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
}

.doc-box-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.doc-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid;
    transition: all 0.2s;
}

.doc-link-btn:hover {
    transform: translateY(-1px);
}

.doc-link-btn .material-symbols-outlined {
    font-size: 18px;
}

/* Responsive blocs documents */
@media (max-width: 600px) {
    .doc-box {
        min-width: 100%;
    }
}

/* =====================================================
   PAGE ANNULATION RÉSERVATION (annuler_reservation.php)
   ===================================================== */

/* Section dates réservation/annulation */
.dates-annulation-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px 30px;
    border-top: 1px solid #eee;
}

.dates-annulation-section .date-block {
    flex: 1;
    min-width: 200px;
}

.dates-annulation-section .date-block-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.dates-annulation-section .date-block-value {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

/* Section info remboursement */
.refund-info-section {
    padding: 20px 30px;
}

.refund-box {
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

.refund-box.success {
    background: #d4edda;
    border-left: 4px solid #27ae60;
}

.refund-box.warning {
    background: #fff3cd;
    border-left: 4px solid #f39c12;
}

.refund-box strong {
    margin-bottom: 8px;
    color: #2c3e50;
}

.refund-box p {
    margin: 0;
    color: #2c3e50;
}

/* Section raison annulation */
.raison-annulation-section {
    padding: 20px 30px;
}

.raison-annulation-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}

.raison-annulation-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.raison-annulation-section textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* Responsive page annulation */
@media (max-width: 600px) {
    .dates-annulation-section {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .refund-info-section,
    .raison-annulation-section {
        padding: 15px 20px;
    }
}

/* =====================================================
   PAGE DETAIL RESERVATION (reservation_detail.php)
   ===================================================== */

/* Container principal */
.detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Section documents */
.documents-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    padding: 25px 30px;
}

.documents-section-title {
    color: #FF3366;
    font-size: 1.3em;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.documents-section-title img {
    width: 24px;
    height: 24px;
}

.documents-section hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0 20px 0;
}

.documents-intro {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Message signature confirmée */
.signature-confirmed {
    background: #d4edda;
    border: 1px solid #28a745;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.signature-confirmed-icon {
    width: 40px;
    height: 40px;
    background: #28a74520;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signature-confirmed-icon .material-symbols-outlined {
    color: #28a745;
    font-size: 24px;
}

.signature-confirmed-text strong {
    color: #155724;
    display: block;
}

.signature-confirmed-text small {
    color: #155724;
    opacity: 0.8;
}

/* Section Historique */
.historique-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    padding: 25px 30px;
}

.historique-section-title {
    color: #FF3366;
    font-size: 1.3em;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.historique-section hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0 20px 0;
}

.historique-item {
    color: #666;
    line-height: 1.8;
}

.historique-item strong {
    color: #c9365c;
}

/* Encart paiement */
.payment-cta-box {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 20px 20px;
}

.payment-cta-box h3 {
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-size: 1.1em;
}

.payment-cta-box .btn-payer-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.payment-cta-box .btn-payer-large:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.payment-cta-box .btn-payer-large .material-symbols-outlined {
    font-size: 20px;
}

.payment-cta-box .payment-secure {
    color: #888;
    font-size: 13px;
    margin-top: 15px;
}

/* Boutons d'action - detail et annulation */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.btn-action-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-action-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-annuler-resa {
    background: #dc3545;
    color: white;
}

.btn-contact {
    background: #6c757d;
    color: white;
}

.btn-confirmer-annulation {
    background: #dc3545;
    color: white;
}

.btn-valider {
    background: #27ae60;
    color: white;
}

.btn-valider:hover {
    background: #219a52;
}

@media (max-width: 600px) {
    .detail-container {
        padding: 10px;
    }
    
    .documents-section,
    .historique-section {
        padding: 20px 15px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-action-detail {
        justify-content: center;
    }
}

/* =========================================
   PAGE PAIEMENT SUCCES
   ========================================= */

.payment-success-box {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 20px 20px;
}

.payment-success-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.payment-success-icon .material-symbols-outlined {
    color: white;
    font-size: 32px;
}

.payment-success-box h3 {
    color: #28a745;
    margin: 0 0 10px 0;
    font-size: 1.4em;
}

.payment-success-box .email-info {
    color: #666;
    font-size: 14px;
}

.payment-success-box .email-info strong {
    color: #2c3e50;
}

/* =========================================
   PAGE SIGNATURE CONTRAT
   ========================================= */

.page-header-gradient {
    background: linear-gradient(90deg, rgba(255,242,75,1) 0%, rgba(217,47,137,1) 100%, rgba(196,162,180,1) 100%);
    padding: 40px 20px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    border-radius: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-header-gradient h1 {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 400;
}

.page-header-gradient p {
    font-size: 1em;
    opacity: 0.9;
}

.signature-instruction {
    padding: 0px 0 20px 0;
    margin: 0px 0px 20px;
    font-size: 1.1em;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
}

.step-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #FF3366;
    color: white;
    border-radius: 50%;
    font-size: 0.8em;
    font-weight: 600;
    margin: 0 3px;
}

.signature-content-wrapper {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 25px;
}

/* Options de sélection de session */
.sessions-list {
    margin-bottom: 25px;
}

.session-option {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.session-option:hover {
    border-color: #FF3366;
    background: #fff;
}

.session-option input[type="radio"] {
    margin-right: 12px;
    accent-color: #FF3366;
}

.session-option input[type="radio"]:checked + .session-option-content {
    color: #FF3366;
}

.session-option:has(input:checked) {
    border-color: #FF3366;
    background: #fff;
}

.session-option-content {
    display: inline-block;
}

.session-option-content strong {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
}

.session-option-content .places-dispo {
    color: #666;
    font-size: 14px;
}

@media (max-width: 768px) {
    .page-header-gradient {
        padding: 30px 15px;
        margin: 0 10px 20px 10px;
        border-radius: 15px;
    }
    
    .page-header-gradient h1 {
        font-size: 1.5em;
    }
    
    .signature-instruction {
        padding: 10px 0 15px 0;
        font-size: 1em;
    }
    
    .signature-content-wrapper {
        padding: 15px;
    }
}

/* =========================================
   PAGE PAIEMENT ECHEC
   ========================================= */

.echec-message-section {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 20px 20px;
}

.echec-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.echec-icon .material-symbols-outlined {
    font-size: 36px;
    color: white;
}

.echec-message-section h2 {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.echec-message-section p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.causes-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.causes-list li {
    padding-left: 20px;
    position: relative;
    color: #666;
}

.causes-list li::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #f39c12;
}

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

.btn-payer:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.echec-info-section {
    padding: 20px 0 0 0;
    text-align: left;
}

.echec-box.warning {
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

/* ===========================================
   QUESTIONNAIRE DE SATISFACTION
   À ajouter dans style.css
   =========================================== */

/* Questionnaire non complété - style rose comme to-sign */
.doc-link.questionnaire-pending,
.doc-link-btn.questionnaire-pending {
    border-color: #c9365c !important;
    color: #c9365c !important;
}

.doc-link.questionnaire-pending:hover,
.doc-link-btn.questionnaire-pending:hover {
    background: #c9365c !important;
    color: white !important;
    border-color: #c9365c !important;
}

.questionnaire-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Info block sans fond gris */
.reservation-info-block {
    padding: 20px 30px;
    background: transparent;
}

.info-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-cell {
    min-width: 150px;
}

.info-cell .info-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: block;
}

.info-cell .info-value {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

/* Sections du questionnaire */
.section-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.section-card .section-title {
    background: #f8f9fa;
    padding: 15px 20px;
    font-weight: 600;
    color: #FF3366;
    font-size: 1.3em;
    border-bottom: 1px solid #eee;
}

.question-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

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

.question-text {
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.question-text .required {
    color: #c9365c;
    margin-left: 5px;
}

/* Grille satisfaction avec remarques */
.satisfaction-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.satisfaction-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.satisfaction-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.satisfaction-option:hover {
    background: #fff5f7;
    border-color: #f0c0cc;
}

.satisfaction-option input {
    display: none;
}

.satisfaction-option input:checked + .option-content {
    color: #c9365c;
    font-weight: 600;
}

.satisfaction-option:has(input:checked) {
    background: #fff5f7;
    border-color: #c9365c;
}

.option-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.satisfaction-option:has(input:checked) .option-checkbox {
    background: #c9365c;
    border-color: #c9365c;
}

.satisfaction-option:has(input:checked) .option-checkbox::after {
    content: '✓';
    color: white;
    font-size: 14px;
}

.remarque-field {
    display: flex;
    flex-direction: column;
}

.remarque-field label {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.remarque-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    font-size: 1rem;
}

.remarque-field textarea:focus {
    outline: none;
    border-color: #c9365c;
}

/* Note 1 à 10 */
.note-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.note-option {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.note-option:hover {
    border-color: #c9365c;
    background: #fff5f7;
}

.note-option input {
    display: none;
}

.note-option:has(input:checked) {
    background: #c9365c;
    border-color: #c9365c;
    color: white;
}

/* Texte libre */
.texte-libre textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    font-size: 1rem;
}

.texte-libre textarea:focus {
    outline: none;
    border-color: #c9365c;
}

/* Question conditionnelle */
.question-conditionnelle {
    display: none;
    background: #fff8e1;
    border-left: 4px solid #ffc107;
}

.question-conditionnelle.visible {
    display: block;
}

/* Boutons questionnaire */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-retour {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Abel', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-retour:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-submit {
    padding: 12px 30px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Abel', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-save {
    padding: 12px 30px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Abel', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-save:hover {
    background: #5a6268;
}

/* Statut questionnaire */
.statut-banner {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.statut-banner.complete {
    background: #d4edda;
    color: #155724;
}

.statut-banner.en_cours {
    background: #fff3cd;
    color: #856404;
}

/* Responsive questionnaire */
@media (max-width: 768px) {
    .satisfaction-grid {
        grid-template-columns: 1fr;
    }
    
    .info-row {
        grid-template-columns: 1fr;
    }
    
    .note-options {
        gap: 5px;
    }
    
    .note-option {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
}
