/* ————————————————————————————————
   Style "Spa & Bien-être" pour le tableau de bord admin
———————————————————————————————— */

:root {
  --fond: #f9f9f9;
  --rose-clair: #ffeef2;
  --vert-doux: #b4d7b5;
  --beige: #f8f2e7;
  --texte: #4b4b4b;
  --accent: #80bfa5;
  --accent-foncé: #5e9c83;
  --blanc: #ffffff;
  --ombre: rgba(0, 0, 0, 0.08);
  --doree: #ebded4;
}

/* Fond global */
body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: linear-gradient(265deg, var(--doree), var(--beige));
  color: var(--texte);
  margin: 0;
  padding: 2rem;
}

/* Titre principal */
h1 {
  text-align: center;
  font-weight: 600;
  color: var(--texte);
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

/* Cadre principal de chaque spa / offre */
.site-block {
  background: var(--blanc);
  padding: 2rem 2.5rem;
  margin: 2rem auto;
  border-radius: 20px;
  box-shadow: 0 4px 10px var(--ombre);
  max-width: 900px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Sous-titres */
h2 {
  font-weight: 500;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Labels + champs */
label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--accent-foncé);
}

input[type="text"],
input[type="url"],
textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="url"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Zones de texte plus grandes */
textarea {
  height: 120px;
  resize: vertical;
}

/* Bouton principal */
button[type="submit"] {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 45px;
}

button[type="submit"]:hover {
  background: var(--accent-foncé);
  transform: scale(1.03);
}
.logout-btn{
  text-align: left;
}

/* Message de succès ou d’erreur */
.alert {
  background: var(--vert-doux);
  color: #2f5c3e;
  border-left: 5px solid var(--accent-foncé);
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.error {
  background: #ffdcdc;
  color: #a94442;
  border-left: 5px solid #e57373;
}

/* Pied de page */
footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 14px;
  color: #777;
}

footer a {
  color: var(--accent-foncé);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}