body {
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
}

.reservation-module {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

h1,
h2 {
    color: #2b2b2b;
}

h1 {
    font-size: 28px;
    margin-top: 0;
    border-bottom: 3px solid #b6422f;
    padding-bottom: 10px;
}

h2 {
    font-size: 20px;
    margin-top: 25px;
    color: #8b2f24;
}

.intro-reservation {
    font-size: 16px;
    line-height: 1.5;
}

label {
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    max-width: 520px;
    padding: 10px;
    margin-top: 4px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

textarea {
    max-width: 700px;
}

button {
    background: #8b2f24;
    color: #fff;
    border: none;
    padding: 11px 18px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #b6422f;
}

a {
    color: #8b2f24;
    font-weight: bold;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
}

th {
    background: #2b2b2b;
    color: #fff;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.message-success {
    background: #e8f5e9;
    color: #1b5e20;
    padding: 12px;
    border-left: 5px solid #2e7d32;
    border-radius: 6px;
}

.message-error {
    background: #ffebee;
    color: #b71c1c;
    padding: 12px;
    border-left: 5px solid #c62828;
    border-radius: 6px;
}

/* Bloc choix des visites guidées */

.prochaines-visites {
    margin: 20px auto;
    padding: 20px;
    background-image: url("https://www.mamma.jorgedubon.art/wp-content/uploads/2026/03/fond-marbre.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-left: 5px solid #8b2f24;
    border-radius: 10px;
    text-align: center;
}

.prochaines-visites h2 {
    margin-top: 0;
    color: #8b2f24;
}

.semaine-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 15px auto;
    flex-wrap: wrap;
}

.semaine-navigation button {
    background: #8b2f24;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.semaine-navigation button:hover {
    background: #b6422f;
    color: #ffffff;
}

#semaineLabel {
    background: rgba(255, 255, 255, 0.88);
    padding: 10px 18px;
    border-radius: 6px;
    color: #222;
    font-weight: bold;
    min-width: 180px;
    display: inline-block;
}

.prochaines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    max-width: 760px;
    margin: 0 auto;
}

.visite-btn {
    background: rgba(255, 255, 255, 0.92);
    color: #222;
    border: 2px solid #8b2f24;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    line-height: 1.4;
}

.visite-btn strong {
    color: #8b2f24;
}

.visite-btn small {
    color: #555;
}

.visite-btn:hover {
    background: #8b2f24;
    color: #ffffff;
}

.visite-btn:hover strong,
.visite-btn:hover small {
    color: #ffffff;
}

/* Panier */

#panierTable button {
    background: #555;
    padding: 7px 10px;
}

#panierTable button:hover {
    background: #222;
}

/* Mobile */

@media (max-width: 700px) {
    .reservation-module {
        padding: 12px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    h1 {
        font-size: 24px;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
    }

    table {
        font-size: 13px;
    }

    th,
    td {
        padding: 6px;
    }

    .semaine-navigation {
        gap: 8px;
    }

    .semaine-navigation button {
        width: 100%;
    }

    #semaineLabel {
        width: 100%;
        box-sizing: border-box;
    }

    .prochaines-grid {
        grid-template-columns: 1fr;
    }
	
	.btn-nouvelle-reservation {
    display: inline-block;
    background: #8b2f24;
    color: #ffffff !important;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn-nouvelle-reservation:hover {
    background: #b6422f;
}

}