/* Styles pour le système de réservation */

.reservation-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.reservation-header {
    margin-bottom: 2rem;
    text-align: center;
}

/* Indicateur d'étapes */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

.step-indicator::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e9ecef;
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    max-width: 150px;
}

.step-number {
    width: 40px;
    height: 40px;
    line-height: 38px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    font-weight: bold;
    margin: 0 auto 10px;
    border: 2px solid #e9ecef;
}

.step-title {
    font-size: 0.85rem;
    color: #6c757d;
}

.step-item.active .step-number {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.step-item.active .step-title {
    color: #0d6efd;
    font-weight: bold;
}

.step-item.completed .step-number {
    background-color: #198754;
    color: white;
    border-color: #198754;
}

.step-item.completed .step-title {
    color: #198754;
}

/* Étape de réservation */
.reservation-step {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 2rem;
}

/* Grille de dates */
.date-grid .btn {
    height: 100%;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.date-grid .btn:hover {
    transform: translateY(-2px);
}

/* Sélection d'heure */
.time-selection .btn {
    font-weight: bold;
    transition: all 0.2s;
}

.time-selection .btn:hover {
    transform: translateY(-2px);
}

/* Sélection de zone */
.zone-selection .card {
    transition: all 0.2s;
    cursor: pointer;
}

.zone-selection .card:hover {
    border-color: #0d6efd;
    transform: translateY(-2px);
}

/* Responsive pour les petits écrans */
@media (max-width: 767.98px) {
    .step-title {
        display: none;
    }
    
    .reservation-step {
        padding: 1rem;
    }
    
    .step-indicator::before {
        top: 15px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        line-height: 28px;
        font-size: 0.8rem;
    }
}

/* Animation de transition pour les étapes */
.reservation-step {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Styles pour la page de confirmation */
.confirmation-icon {
    font-size: 4rem;
    color: #198754;
    margin-bottom: 1rem;
}

/* Badge de statut */
.status-badge {
    padding: 0.5em 0.75em;
    border-radius: 50rem;
    font-size: 0.75em;
    font-weight: 700;
}

.status-badge.confirmed {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #664d03;
}

.status-badge.cancelled {
    background-color: #f8d7da;
    color: #842029;
}
