
/* =====================================================
   RÉSERVATION CHIFFRE - STYLES GÉNÉRAUX
===================================================== */

.rc-results {
    text-align: center;
    margin: 20px 0;
}

.rc-no-results {
    text-align: center;
    margin: 30px 0;
    font-weight: bold;
    color: #900;
}

/* =====================================================
   STYLE 1 - TABLEAU
===================================================== */

.rc-table-wrapper {
    overflow-x: auto;
}

.rc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.rc-table th,
.rc-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.rc-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.rc-table tr:nth-child(even) {
    background-color: #fafafa;
}

.rc-table .button {
    padding: 6px 12px;
}

/* =====================================================
   MODALE PHOTO
===================================================== */

.rc-voir-photo {
    cursor: pointer;
    font-size: 20px;
    background: none;
    border: none;
}

.rc-photo-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.rc-photo-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
}

.rc-photo-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* =====================================================
   STYLE 2 - LISTE AMÉLIORÉE
===================================================== */

.rc-style2-list {
    list-style-type: disc;
    padding-left: 20px;
    max-width: 700px;
    margin: 20px auto;
}

.rc-style2-item {
    margin-bottom: 12px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    transition: background-color 0.3s ease;
}

.rc-style2-item:hover {
    background-color: #f0f0f0;
}

.rc-style2-text {
    font-weight: 600;
    font-size: 1.05em;
    color: #333;
}

.rc-style2-button {
    background-color: #0073aa;
    color: #fff;
    padding: 6px 14px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.rc-style2-button:hover {
    background-color: #005177;
}

/* =====================================================
   STYLE 3 - CARTES MODERNES
===================================================== */

.rc-style3-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.rc-style3-card {
    flex: 1 1 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background: #fff;
}

.rc-style3-photo {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
}

.rc-style3-no-photo {
    width: 100%;
    height: 120px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #666;
}

/* =====================================================
   STYLE 4 - CHAMPÊTRE MODERNE
===================================================== */

.rc-style4 .rc-champetre-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    font-family: "Georgia", serif;
    color: #4a3c31;
}

.rc-style4 .rc-champetre-card {
    background: #f9f5ef;
    border: 2px solid #d4c8b5;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 6px rgba(212, 200, 181, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rc-style4 .rc-champetre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(212, 200, 181, 0.6);
}

.rc-style4 .rc-champetre-photo {
    width: 100%;
    max-height: 110px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.rc-style4 .rc-champetre-no-photo {
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a6a53;
    height: 110px;
    border-radius: 10px;
}

.rc-style4 .rc-champetre-title {
    font-size: 1em;
    margin-bottom: 0.4em;
    font-weight: bold;
}

.rc-style4 .rc-champetre-price {
    color: #7a6a53;
    font-style: italic;
    margin-bottom: 0.6em;
    font-size: 0.9em;
}

.rc-style4 .rc-champetre-button {
    background-color: #9c8762;
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.rc-style4 .rc-champetre-button:hover {
    background-color: #7a6a53;
}

/* =====================================================
   STYLE 5 - GRILLE SÉLECTION
===================================================== */

.emplacements-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rc-style5-card {
    background: #fff;
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
}

.rc-style5-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.rc-style5-no-photo {
    width: 100%;
    height: 100px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 4px;
    margin-bottom: 10px;
}

.rc-style5-button {
    margin-top: 10px;
    display: inline-block;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 600px) {

    .rc-style2-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .rc-style3-container {
        flex-direction: column;
    }

}
