/* ===================== BASE ===================== */

body {
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;
    background: linear-gradient(to bottom, #fce4ec, #f8bbd0);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* ===================== TITRES ===================== */

.main-title {
    font-family: 'Great Vibes', cursive;
    font-size: 42px; /* mobile-first */
    color: #d81b60;
    margin-top: 25px;
    margin-bottom: 0;
    text-align: center;
}

.subtitle {
    font-size: 15px;
    color: #ad1457;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 1px;
}

/* ===================== FORMULAIRE ===================== */

.form-card {
    width: 90%;
    max-width: 380px;
    margin-bottom: 40px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-form input,
.review-form select,
.review-form textarea {
    padding: 12px;
    border: 1px solid #f3c1d8;
    border-radius: 8px;
    font-size: 16px;
}

.review-form textarea {
    height: 120px;
    resize: none;
}

/* ===================== BOUTON ROSE ===================== */

.booking-btn {
    display: block;
    padding: 12px 20px;
    background: #d81b60;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.booking-btn:hover {
    background: #ad1457;
    transform: scale(1.05);
}

/* ===================== AVIS ===================== */

.reviews-container {
    width: 90%;
    max-width: 900px;
    margin-bottom: 50px;
}

.review-card {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.review-card h3 {
    color: #d81b60;
    margin-top: 0;
}

.review-card p {
    margin: 10px 0;
}

.date {
    font-size: 14px;
    color: #777;
}

/* ===================== BOUTON RETOUR ===================== */

.back-top-left {
    position: absolute;
    top: 15px;
    left: 15px;
}

.back-btn {
    background: #d81b60;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
}

.back-btn:hover {
    background: #ad1457;
    transform: scale(1.05);
}

/* ===================== ADMIN ===================== */

.admin-top-right {
    position: absolute;
    top: 15px;
    right: 15px;
    text-align: right;
}

/* Style par défaut (desktop) */
.admin-button {
    background: #555;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Icône cadenas */
.admin-button .icon {
    font-size: 18px;
}

/* Texte admin */
.admin-button .text {
    display: inline;
}

/* Version connectée */
.admin-connected {
    background: #2e7d32 !important;
}

/* Menu déconnexion */
.logout-menu {
    display: none;
    margin-top: 6px;
}

.logout-item {
    background: #b71c1c;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
}

/* ===================== MOBILE : bouton admin compact ===================== */

@media (max-width: 480px) {

    .main-title {
        font-size: 36px;
        margin-top: 20px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* Réduction du bouton admin */
    .admin-button {
        padding: 6px 10px;
        border-radius: 18px;
        font-size: 16px;
    }

    /* Masquer le texte "Connexion administrateur" */
    .admin-button .text {
        display: none;
    }

    /* Garder uniquement l’icône */
    .admin-button .icon {
        font-size: 18px;
    }
}

/* ===================== DESKTOP ===================== */

@media (min-width: 900px) {
    .main-title { font-size: 70px; }
    .subtitle { font-size: 18px; }
}
