body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
    font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: var(--majeur);
    font-size: xxx-large;
    margin-top: 5%;
    margin-bottom: 30px;
    text-align: center;
}

h1 i {
    margin-right: 15px;
}

.no-reservations {
    font-size: 20px;
    color: var(--paraph);
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: var(--champs);
    border-radius: 20px;
    box-shadow: 0 4px 6px var(--ombres);
}

.reservations-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    width: 100%;
}

.reservation-card {
    background-color: var(--blanc);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 6px var(--ombres);
    max-width: 600px;
    width: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border-left: 5px solid var(--majeur);
}

.reservation-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 12px var(--ombres);
}

.reservation-card h3 {
    color: var(--majeur);
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
}

.reservation-card p {
    margin: 10px 0;
    font-size: 16px;
    color: var(--paraph);
}

.reservation-id {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 14px !important;
    color: var(--majeur) !important;
    font-weight: bold;
}

.reservation-card img {
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 2px 4px var(--ombres);
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
}

.status-confirmé, .status-confirme {
    color: var(--statut-confirme);
    font-weight: bold;
}

.status-en_attente {
    color: var(--statut-en-attente);
    font-weight: bold;
}

.status-annulé, .status-annule {
    color: var(--statut-annule);
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    .reservations-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 25px;
    }

    .reservation-card {
        width: auto;
    }
}