.reservez-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', system-ui, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reservez-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.reservez-title {
    text-align: center;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 800;
    font-size: 1.5rem;
}

.reservez-form-group {
    margin-bottom: 24px;
}

.reservez-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #475569;
}

.reservez-help {
    display: block;
    font-size: 0.85em;
    color: #94a3b8;
    margin-bottom: 10px;
    margin-top: -4px;
}

.reservez-container input,
.reservez-container select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    color: #0f172a;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background-color: #f8fafc;
}

.reservez-container input:focus,
.reservez-container select:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.reservez-row {
    display: flex;
    gap: 20px;
}

.reservez-col-half {
    flex: 1;
}

@media (max-width: 500px) {
    .reservez-row {
        flex-direction: column;
        gap: 0;
    }
}

.reservez-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reservez-btn:hover {
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.reservez-btn:active {
    transform: translateY(0);
}

.reservez-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

#reservez-message {
    padding: 16px;
    margin-bottom: 25px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

#reservez-message.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

#reservez-message.success {
    background: #dcfce3;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.reservez-spinner {
    font-size: 1.2rem;
    animation: spin 1.5s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Custom Premium Glassmorphic Modal Styling */
.reservez-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    /* Fond sombre semi-transparent */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reservez-modal-overlay.active {
    opacity: 1;
}

.reservez-modal-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    width: 90%;
    max-width: 480px;
    padding: 35px 30px;
    box-sizing: border-box;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', system-ui, sans-serif;
}

.reservez-modal-overlay.active .reservez-modal-card {
    transform: scale(1);
}

.reservez-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.reservez-modal-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.reservez-modal-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.reservez-modal-body {
    margin-bottom: 30px;
}

.reservez-modal-text {
    text-align: center;
    color: #475569;
    font-size: 1.05rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 20px;
}

.reservez-modal-details-badge {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reservez-modal-badge-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.05em;
}

.reservez-modal-badge-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e40af;
}

.reservez-modal-subtext {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.reservez-modal-footer {
    display: flex;
    gap: 12px;
}

.reservez-modal-btn {
    flex: 1;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
}

.reservez-modal-btn-secondary {
    background: #e2e8f0;
    color: #475569;
}

.reservez-modal-btn-secondary:hover {
    background: #cbd5e1;
    color: #334155;
}

.reservez-modal-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.reservez-modal-btn-primary:hover {
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

.reservez-modal-btn-primary:active {
    transform: translateY(0);
}

/* Infographie du processus de réservation */
.reservez-infographic {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 auto 30px auto;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.reservez-info-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.reservez-info-step:hover {
    transform: translateX(4px);
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.05);
}

.reservez-info-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(59, 130, 246, 0.25);
    margin-top: 1px;
}

.reservez-info-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.reservez-info-text strong {
    color: #0f172a;
    font-weight: 700;
}

/* Style pour l'état désactivé du module */
.reservez-container.reservez-disabled-container {
    background: rgba(254, 242, 242, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-left: 6px solid #ef4444;
}

.reservez-disabled-message {
    text-align: center;
    padding: 20px 10px;
}

.reservez-disabled-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 20px;
    animation: pulse-warn 2s infinite ease-in-out;
}

.reservez-disabled-message p {
    font-size: 1.15rem;
    color: #991b1b;
    line-height: 1.6;
    font-weight: 600;
    margin: 0;
}

@keyframes pulse-warn {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.reservez-warning-pending {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #b45309;
}