/* ============================================
   BABYLONE V2 - INTERFACE MODERNE
   ============================================ */

/* Variables CSS */
:root {
    /* Palette de couleurs Babylone */
    --primary-color: #425b52;
    --primary-light: #5a7a6f;
    --primary-dark: #2d3f38;
    --accent-color: #dfb36d;
    --accent-light: #f0d19a;
    --accent-dark: #c89a4d;
    
    /* Couleurs neutres */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    
    /* Effets Glass */
    /* Effets Glass origine : --glass-bg: rgba(255, 255, 255, 0.08); */
    --glass-bg: rgba(66, 91, 82, 0.50);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-backdrop: blur(20px) saturate(180%);
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Bordures */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background-image: url('https://babylone-properties.com/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Effet de fond animé */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(223, 179, 109, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(90, 122, 111, 0.1) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5%, -5%); }
}

/* Container principal */
.main-container {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg);
}

/* Logo */
.logo-container {
    margin-bottom: var(--spacing-xl);
    animation: fadeInDown 0.8s ease-out;
}

.logo-container a {
    display: inline-block;
    transition: transform var(--transition-base);
}

.logo-container a:hover {
    transform: scale(1.05);
}

.logo-container img {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* Glass Card - Effet Glass */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    padding: var(--spacing-xl);
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: visible;
    transition: all var(--transition-base);
    /* Force le backdrop-filter sur Chrome */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

/* Large Glass Card pour réservation */
.glass-card-large {
    max-width: 800px;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.75rem;
    color: var(--white);
}

h3 {
    font-size: 1.25rem;
    color: var(--accent-light);
}

/* Formulaires */
.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.025em;
    text-transform: uppercase;
    opacity: 0.9;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(223, 179, 109, 0.1);
    transform: translateY(-2px);
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(223, 179, 109, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 179, 109, 0.4);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-full {
    width: auto;
    min-width: 200px;
    max-width: 300px;
    margin: 0 auto;
}

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

/* Bouton d'accès au compte (discret en haut à droite) */
.btn-account-access {
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-account-access:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

.btn-account-access svg {
    flex-shrink: 0;
}

/* Bouton de déconnexion discret */
.btn-logout-discrete {
    padding: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.btn-logout-discrete:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    transform: translateY(-1px);
}

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

.btn-logout-discrete svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .btn-account-access {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.75rem;
        border-radius: var(--radius-sm);
    }
    
    .btn-account-access svg {
        width: 14px;
        height: 14px;
    }
    
    .btn-logout-discrete {
        width: 32px;
        height: 32px;
    }
    
    .btn-logout-discrete svg {
        width: 14px;
        height: 14px;
    }
}

/* Layout deux colonnes pour inscription/connexion */
.auth-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 1000px;
}

/* Messages */
.message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    animation: slideInRight 0.3s ease-out;
}

.message-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.message-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.message-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

/* Checkbox personnalisé */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.checkbox-label a:hover {
    color: var(--accent-light);
}

/* Liens */
.link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
    display: inline-block;
}

.link:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Résultats de disponibilité */
.result {
    margin-top: var(--spacing-lg);
}

.result img {
    display: block;
    margin: 0 auto var(--spacing-md);
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
}

.availability-result {
    text-align: center;
}

.price-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-md) 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-row:last-child {
    border-bottom: none;
}

/* Date Range Picker personnalisé */
.daterangepicker {
    background: rgba(45, 63, 56, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

.daterangepicker td.available:hover,
.daterangepicker td.in-range:hover {
    background-color: var(--primary-light) !important;
    color: var(--white) !important;
}

.daterangepicker td.active,
.daterangepicker td.start-date,
.daterangepicker td.end-date {
    background-color: var(--accent-color) !important;
    color: var(--primary-dark) !important;
}

.daterangepicker .drp-buttons .btn {
    border-radius: var(--radius-md);
}

/* Résultats de disponibilité */
.availability-result {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.5s ease-out;
}

.availability-result img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-lg);
}

.price-details {
    display: grid;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.price-row strong {
    color: var(--accent-color);
}

/* Espace client */
.account-section {
    margin-bottom: var(--spacing-xl);
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.btn-logout {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Réservations */
.reservation-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

.reservation-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.reservation-number {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-color);
}

.status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pending {
    background: rgba(234, 179, 8, 0.2);
    color: #fde047;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-confirmed {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.reservation-details {
    display: grid;
    gap: var(--spacing-sm);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.detail-value {
    color: var(--white);
    font-weight: 500;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

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

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay .modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--white);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    transform: rotate(90deg);
}

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

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

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    padding: var(--spacing-lg);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Espace Client */
.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-header h2 {
    margin: 0;
}

.btn-logout {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.875rem;
}

.account-section {
    background: rgba(66, 91, 82, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.account-section h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--accent-light);
    display: flex;
    align-items: center;
}

/* Stylisation des boutons Mettre à jour */
.account-section .btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    margin-top: var(--spacing-md);
}

.account-section .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
}

/* Liste des réservations */
#reservationsList {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.reservation-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    transition: all var(--transition-speed) ease;
}

.reservation-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
    transform: translateX(4px);
}

.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.reservation-dates {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

.reservation-status {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reservation-status.confirmed {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.reservation-status.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.reservation-status.cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.reservation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.reservation-detail {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.reservation-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.reservation-detail-value {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.reservation-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reservation-actions .btn {
    width: auto;
    min-width: 150px;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
}

.reservation-empty {
    text-align: center;
    padding: var(--spacing-xxl);
    color: rgba(255, 255, 255, 0.6);
}

.reservation-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
}

.pagination-btn:not([disabled]):hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 179, 109, 0.2) !important;
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%) !important;
    border: 1px solid var(--accent-color) !important;
    box-shadow: 0 4px 12px rgba(223, 179, 109, 0.3) !important;
}

/* Résultats de disponibilité */
.availability-result {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.availability-result .form-group {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.availability-result input[type="text"],
.availability-result input[type="email"],
.availability-result input[type="tel"] {
    max-width: 100%;
}

.reservation-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.detail-item {
    text-align: center;
    padding: var(--spacing-sm);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .auth-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .glass-card {
        padding: var(--spacing-lg);
    }
    
    .main-container {
        padding: var(--spacing-md);
    }
    
    .logo-container img {
        max-width: 200px;
    }
    
    /* Page Mon Compte mobile */
    .account-section {
        padding: var(--spacing-md);
    }
    
    .account-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .btn-logout {
        width: 100%;
        justify-content: center;
    }
    
    .reservation-details {
        grid-template-columns: 1fr;
    }
    
    .reservation-item {
        padding: var(--spacing-md);
    }
    
    .reservation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    /* Résultats disponibilité mobile */
    .reservation-details-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }
    
    .availability-result {
        padding: var(--spacing-md);
    }
    
    /* Bouton "Je suis le voyageur" mobile */
    #fillMyInfo {
        font-size: 0.75rem !important;
        padding: var(--spacing-xs) !important;
        white-space: nowrap;
    }
    
    #fillMyInfo svg {
        display: none;
    }
    
}

@media (max-width: 480px) {
    .glass-card {
        padding: var(--spacing-md);
        border-radius: var(--radius-lg);
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .reservation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(223, 179, 109, 0.3);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(223, 179, 109, 0.5);
}

/* Sélection de texte */
::selection {
    background: var(--accent-color);
    color: var(--primary-dark);
}

::-moz-selection {
    background: var(--accent-color);
    color: var(--primary-dark);
}

