@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #0f1a2c;
  --secondary-color: #4a90e2;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --extra-light: #f8fafc;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Playfair Display", serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.about .section__container {
  padding-bottom: 2rem;
}

.section__subheader {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.section__header {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.section__description {
  margin-top: 1rem;
  color: var(--text-light);
}

.btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--secondary-color);
  outline: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.section__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section__nav span {
  padding: 10px 15px;
  font-size: 1.25rem;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.3s;
}

.section__nav span:hover {
  background-color: var(--secondary-color);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 2px;
}

.logo div {
  padding-inline: 12px;
  font-size: 2rem;
}

img,
video {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  padding-top: 0; /* Supprimer le padding-top pour éliminer l'espace blanc */
  margin: 0;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  isolation: isolate;
  width: 100%;
  z-index: 9;
  background-color: var(--primary-color);
}

.nav__bar {
  position: relative;
  z-index: 1000;
  isolation: isolate;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav__header {
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  background-color: var(--extra-light);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  justify-self: end;
}

.header__profile {
  justify-self: center;
}

.nav__links {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background-color: var(--white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.nav__links.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Amélioration de l'animation du menu burger */
.nav__links {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__links a {
  color: var(--text-light);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.nav__links.open a {
  transform: translateY(0);
  opacity: 1;
}

/* Délai progressif pour les liens */
.nav__links.open a:nth-child(1) { transition-delay: 0.1s; }
.nav__links.open a:nth-child(2) { transition-delay: 0.15s; }
.nav__links.open a:nth-child(3) { transition-delay: 0.2s; }
.nav__links.open a:nth-child(4) { transition-delay: 0.25s; }
.nav__links.open a:nth-child(5) { transition-delay: 0.3s; }
.nav__links.open a:nth-child(6) { transition-delay: 0.35s; }

.nav__links a:hover {
  color: var(--secondary-color);
}

.header {
  padding-block: 5rem;
  margin-top: 80px; /* Compenser la hauteur de la navbar fixe */
  background-image: linear-gradient(
      rgba(15, 26, 44, 0.5),
      rgba(15, 26, 44, 0.5)
    ),
    url("assets/header.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header__container .section__subheader {
  color: var(--white);
}

.header__container h1 {
  margin-bottom: 2rem;
  font-size: 6rem;
  font-weight: 800;
  line-height: 7rem;
  font-family: var(--header-font);
  color: var(--white);
}

.booking {
  background-color: var(--primary-color);
}

.booking__container form {
  max-width: 350px;
  margin: auto;
  display: grid;
  gap: 2rem;
}

.booking__info {
  max-width: 800px;
  margin: auto;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.input__group {
  display: grid;
  gap: 1rem;
}

.input__group label {
  font-weight: 600;
  color: var(--white);
}

.input__group input {
  width: 100%;
  font-size: 1rem;
  padding: 0.5rem;
  color: var(--white);
  background-color: transparent;
  outline: none;
  border: none;
  border-bottom: 1px solid var(--text-light);
  border-radius: 5px;
}

.input__group input::placeholder {
  color: var(--text-light);
}

.info__item {
  display: grid;
  gap: 0.5rem;
}

.info__item label {
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
}

.info__item p {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
}

.about {
  position: relative;
  isolation: isolate;
}

.about::before {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  height: 75%;
  width: 100%;
  background-image: url("assets/about-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: -1;
}

.about__container {
  display: grid;
  gap: 4rem 2rem;
  padding-bottom: 0;
}

.about__grid {
  display: grid;
  gap: 1rem;
}

.about__card {
  height: 100%;
  padding: 2rem;
  display: grid;
  place-content: center;
  text-align: center;
}

.about__card span {
  margin-bottom: 1rem;
  font-size: 3rem;
  color: var(--secondary-color);
}

.about__card h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.about__card p {
  color: var(--text-light);
}

.about__note {
  background: #f8f9fa;
  border-left: 4px solid var(--secondary-color);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.about__note p {
  margin: 0;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

.about__card:nth-child(4) {
  background-color: var(--primary-color);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.about__card:nth-child(4) :is(h4, p) {
  color: var(--white);
}

.about__image img {
  height: 100%;
  object-fit: cover;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.about__content .section__description {
  margin-bottom: 2rem;
}

.team__section {
  padding: 2rem 0 4rem 0;
  background-color: var(--extra-light);
}

.team__image {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.team__image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.room__container {
  padding-block: 5rem;
}

.room__container :is(.section__subheader, .section__header) {
  padding-inline: 1rem;
  text-align: center;
}

.room__grid {
  max-width: 1500px;
  margin-inline: auto;
  margin-top: 4rem;
  display: grid;
  gap: 0 1rem;
  justify-content: center;
}

.room__card img {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.room__card__details {
  margin-inline: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: var(--white);
  transform: translateY(-50%);
  border-radius: 5px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.room__card__details h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.room__card__details p {
  color: var(--text-light);
}

.room__card__details h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.room__card__details h3 span {
  font-size: 0.8rem;
}

.intro {
  position: relative;
  isolation: isolate;
  background-color: var(--primary-color);
}

.intro::before {
  position: absolute;
  content: "";
  right: 0;
  height: 100%;
  width: calc(100vw / 4);
  background-color: var(--secondary-color);
  z-index: -1;
}

.intro__container {
  display: grid;
  gap: 4rem 2rem;
}

.intro__container .section__subheader {
  color: var(--secondary-color);
}

.intro__container :is(.section__header, .section__description) {
  margin-bottom: 1rem;
  color: var(--white);
}

.intro__video {
  max-width: 450px;
  margin: auto;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.feature__container :is(.section__subheader, .section__header) {
  text-align: center;
}

.feature__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.feature__card span {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.feature__card h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.feature__card p {
  color: var(--text-light);
}

.menu {
  background-color: var(--extra-light);
}

.menu__header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu__items {
  list-style: none;
  margin-block: 4rem;
  display: grid;
  gap: 1rem 4rem;
}

.menu__items li {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.menu__items li:hover {
  background-color: var(--primary-color);
}

.menu__items img {
  max-width: 100px;
  border-radius: 2px;
}

.menu__items h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
  transition: 0.3s;
}

.menu__items p {
  max-width: 400px;
  color: var(--text-light);
  transition: 0.3s;
}

.menu__items li:hover :is(h4, p) {
  color: var(--white);
}

.camping__gallery {
  list-style: none;
  margin-block: 4rem;
  display: grid;
  gap: 1rem 4rem;
}

.gallery__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}

.gallery__item:hover {
  background-color: var(--primary-color);
}

.gallery__item img {
  max-width: 100px;
  border-radius: 2px;
}

.gallery__overlay h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
  transition: 0.3s;
}

.gallery__overlay p {
  max-width: 400px;
  color: var(--text-light);
  transition: 0.3s;
}

.gallery__item:hover :is(.gallery__overlay h4, .gallery__overlay p) {
  color: var(--white);
}

.menu__images {
  margin-bottom: 4rem;
  display: grid;
  gap: 1rem;
}

.menu__images img {
  border-radius: 5px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.menu__banner {
  list-style: none;
  padding: 4rem 2rem;
  display: grid;
  gap: 2rem;
  text-align: center;
  background-color: var(--primary-color);
  border-radius: 5px;
}

.menu__banner span {
  font-size: 3.5rem;
  color: var(--secondary-color);
}

.menu__banner h4 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

.menu__banner p {
  color: var(--text-light);
}

.news__header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem 1rem;
}

.news__card img {
  margin-bottom: 2rem;
  border-radius: 5px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.news__card__title {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news__card__title p {
  font-weight: 500;
  color: var(--text-light);
}

.news__card h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.news__card p {
  color: var(--text-light);
}

.footer {
  background-color: var(--primary-color);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
  text-align: center;
}

.footer__logo {
  margin-bottom: 2rem;
  color: var(--white);
}

.footer__logo div {
  background-color: var(--secondary-color);
}

.footer__socials {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 6px 10px;
  font-size: 1.25rem;
  color: var(--text-light);
  background-color: var(--white);
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--white);
  background-color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--white);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer__links a {
  color: var(--text-light);
  transition: 0.3s;
}

.footer__links a:hover {
  color: var(--secondary-color);
}

.footer__col:last-child .footer__links li {
  margin-bottom: 2rem;
}

.footer__links span {
  font-size: 2rem;
  color: var(--secondary-color);
}

.footer__links h5 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--white);
}

.footer__links p {
  color: var(--text-light);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

/* Styles pour les nouveaux footers */
.footer__content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.footer__details p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.footer__contact h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer__contact p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer__note {
  font-style: italic;
  color: var(--secondary-color) !important;
  margin-top: 1rem !important;
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Pages de connexion et formulaire */
.login__section, .form__section {
  padding: 8rem 0 4rem 0;
  background-color: var(--extra-light);
  min-height: 100vh;
}

.login__container, .form__container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login__header, .form__header {
  text-align: center;
  margin-bottom: 3rem;
}

.user__info {
  background-color: var(--extra-light);
  padding: 1rem;
  border-radius: 5px;
  margin: 1rem 0;
  text-align: center;
}

.user__info p {
  margin: 0.25rem 0;
  color: var(--text-dark);
}

.login__form, .registration__form {
  display: grid;
  gap: 2rem;
}

.form__group {
  display: grid;
  gap: 0.5rem;
}

.form__group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.form__group input,
.form__group textarea {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 5px;
  font-size: 1rem;
  transition: 0.3s;
  font-family: inherit;
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form__section__group {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background-color: var(--extra-light);
  border-radius: 10px;
}

.form__section__group h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio__group {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.radio__label, .checkbox__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 5px;
  transition: 0.3s;
}

.radio__label:hover, .checkbox__label:hover {
  background-color: rgba(74, 144, 226, 0.05);
}

.radio__custom, .checkbox__custom {
  width: 22px;
  height: 22px;
  border: 2px solid #cbd5e0;
  border-radius: 50%;
  position: relative;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.checkbox__custom {
  border-radius: 4px;
}

.radio__label input[type="radio"],
.checkbox__label input[type="checkbox"] {
  display: none;
}

.radio__label input[type="radio"]:checked + .radio__custom {
  border-color: var(--secondary-color);
  background-color: var(--secondary-color);
}

.radio__label input[type="radio"]:checked + .radio__custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: var(--white);
  border-radius: 50%;
}

.checkbox__label input[type="checkbox"]:checked + .checkbox__custom {
  border-color: var(--secondary-color);
  background-color: var(--secondary-color);
}

.checkbox__label input[type="checkbox"]:checked + .checkbox__custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
}

/* Améliorer la visibilité des cases à cocher */
.checkbox__label {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.radio__label {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.checkbox__label:hover .checkbox__custom {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.radio__label:hover .radio__custom {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

/* Forcer la visibilité des éléments personnalisés */
.radio__custom, .checkbox__custom {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

.info__box {
  background-color: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 5px;
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.info__box i {
  color: var(--secondary-color);
  font-size: 1.25rem;
  margin-top: 0.125rem;
}

.info__box p {
  margin: 0;
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn__full {
  width: 100%;
}

.btn__primary {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn__primary:hover {
  background-color: #3a7bd5;
  transform: translateY(-2px);
}

.btn__secondary {
  background-color: transparent;
  color: var(--text-dark);
  padding: 1rem 2rem;
  border: 2px solid var(--text-light);
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn__secondary:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn__outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn__outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn__outline:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn__danger {
  background-color: #dc2626;
  color: white;
  border: 2px solid #dc2626;
}

.btn__danger:hover {
  background-color: #b91c1c;
  border-color: #b91c1c;
  color: white;
}

.login__info {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background-color: rgba(74, 144, 226, 0.05);
  border-radius: 5px;
}

.login__info p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.login__info i {
  color: var(--secondary-color);
}

/* Page de sélection des bungalows */
.bungalows__section {
  padding: 8rem 0 4rem 0;
  background-color: var(--extra-light);
  min-height: 100vh;
}

.bungalows__container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bungalows__header {
  text-align: center;
  margin-bottom: 3rem;
}

.bungalows__grid {
  display: grid;
  gap: 3rem;
}

.bungalow__category h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.bungalow__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.bungalow__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.bungalow__card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
}

.bungalow__card.selected {
  border-color: var(--secondary-color);
  background-color: rgba(74, 144, 226, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

.bungalow__number {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  flex-shrink: 0;
}

.bungalow__card.selected .bungalow__number {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.bungalow__card.bungalow__full {
  cursor: not-allowed;
  background-color: #f8f9fa;
  border-color: #e9ecef;
}

.bungalow__card.bungalow__full:hover {
  transform: none;
  box-shadow: none;
  border-color: #e9ecef;
}

.bungalow__card.bungalow__partial {
  border-color: #ffc107;
  background-color: rgba(255, 193, 7, 0.05);
}

.bungalow__info {
  flex: 1;
}

.bungalow__info h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
}

.bungalow__occupancy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.occupancy__fraction {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.occupancy__label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.bungalow__occupants {
  margin: 0.75rem 0;
}

.occupants__dropdown {
  position: relative;
  z-index: 2;
}

.occupants__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background-color: rgba(74, 144, 226, 0.05);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  color: var(--text-dark);
}

.occupants__toggle:hover {
  background-color: rgba(74, 144, 226, 0.1);
  border-color: rgba(74, 144, 226, 0.3);
}

.occupants__label {
  font-weight: 600;
  color: var(--text-dark);
}

.occupants__arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
  color: var(--secondary-color);
}

.occupants__content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 3;
  padding: 0.5rem;
}

.occupants__dropdown.active .occupants__content {
  display: block;
}

.occupants__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.occupant__name {
  font-size: 0.75rem;
  color: var(--text-light);
  background-color: #f8f9fa;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.bungalow__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status__full {
  color: #dc3545;
  font-weight: 600;
}

.status__available {
  background-color: #10b981;
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.selection__summary {
  background-color: var(--extra-light);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  border: 2px solid var(--secondary-color);
}

.selection__summary h3 {
  margin: 0 0 1rem 0;
  color: var(--text-dark);
  font-size: 1.25rem;
}

.selected__info h4 {
  margin: 0 0 0.5rem 0;
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.selected__info p {
  margin: 0;
  color: var(--text-light);
}

.bungalows__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Page de contrat */
.contract__section {
  padding: 8rem 0 4rem 0;
  background-color: var(--extra-light);
  min-height: 100vh;
}

.contract__container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Message d'erreur de signature */
.signature__error {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  animation: slideIn 0.3s ease-out;
}

.error__content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.error__content i {
  color: #dc2626;
  font-size: 1.25rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.error__text h4 {
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.error__text p {
  color: #991b1b;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contract__header {
  text-align: center;
  margin-bottom: 3rem;
}

.contract__content {
  display: grid;
  gap: 2rem;
}

.contract__text {
  background-color: var(--extra-light);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--secondary-color);
  line-height: 1.8;
  font-size: 1.1rem;
}

.contract__text p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.contract__text p:last-child {
  margin-bottom: 0;
}

.contract__text strong {
  color: var(--secondary-color);
  font-weight: 700;
}

.signature__section {
  background-color: var(--white);
  padding: 2rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
}

.signature__section h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.25rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.signature__options {
  display: grid;
  gap: 2rem;
}

.signature__checkbox {
  padding: 1rem;
  background-color: var(--extra-light);
  border-radius: 5px;
}

.btn__small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.contract__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
}


.contract__legal {
  background-color: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 5px;
  padding: 1rem;
  margin-top: 1rem;
}

.contract__legal p {
  margin: 0;
  color: var(--text-dark);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contract__legal i {
  color: #ef4444;
  font-size: 1.1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .login__container, .form__container, .bungalows__container, .contract__container {
    margin: 1rem;
    padding: 2rem;
  }
  
  .form__actions, .bungalows__actions, .contract__actions {
    flex-direction: column;
  }
  
  .radio__group {
    grid-template-columns: 1fr;
  }
  
  .bungalow__list {
    grid-template-columns: 1fr;
  }
  
  .bungalow__occupants {
    margin: 0.5rem 0;
  }
  
  .occupants__toggle {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .occupants__content {
    padding: 0.4rem;
  }
  
  .occupants__list {
    gap: 0.2rem;
  }
  
  .occupant__name {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
  }
  
}

@media (width > 480px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__image:nth-child(1) {
    grid-area: 1/2/2/3;
  }

  .about__image:nth-child(1),
  .about__card:nth-child(4) {
    transform: translateY(2rem);
  }

  .feature__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu__images {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu__banner {
    grid-template-columns: repeat(2, 1fr);
  }

  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .footer__col:first-child {
    grid-column: 1/3;
  }

  .footer__links li {
    justify-content: flex-start;
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding-inline: 1rem;
    background-color: var(--primary-color);
  }

  .nav__bar {
    max-width: var(--max-width);
    margin: auto;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    background-color: var(--white);
    border-radius: 5px;
    transform: translateY(50%);
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    width: fit-content;
    padding: 0;
    position: static;
    flex-direction: row;
    transform: none;
    background-color: transparent;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    justify-self: center;
  }
  
  .nav__links a {
    transform: none;
    opacity: 1;
    transition: color 0.3s ease;
  }

  .header__profile {
    justify-self: end;
  }

  .booking__container form {
    max-width: 100%;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
  }

  .booking__info {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .about::before {
    height: 75%;
    width: 75%;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .room__grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }

  .intro__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .feature__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu__header {
    flex-direction: row;
  }

  .menu__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .camping__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu__images {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu__banner {
    grid-template-columns: repeat(4, 1fr);
  }

  .news__header {
    flex-direction: row;
  }

  .news__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: 2fr repeat(2, 1fr);
  }

  .footer__col:first-child {
    grid-column: unset;
  }
}

@media (width > 1024px) {
  .about__grid {
    gap: 2rem;
  }

  .room__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center;
  }

  .menu__images {
    gap: 2rem;
  }

  .news__grid {
    gap: 2rem;
  }
}

/* Styles pour la page de paiement */
.paiement-page {
  background: white !important;
}

.paiement-page body {
  background: white !important;
}

.paiement-page .header {
  background: var(--primary-color) !important;
  background-image: none !important;
}

.paiement__section {
  padding: 8rem 0 4rem 0;
  background: white;
}

.paiement__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.paiement__header {
  text-align: center;
  margin-bottom: 3rem;
}

.paiement__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.paiement__summary {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.paiement__summary h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--extra-light);
}

.summary__item:last-child {
  border-bottom: none;
}

.summary__item.total {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  border-top: 2px solid var(--primary-color);
  margin-top: 1rem;
  padding-top: 1rem;
}

.price {
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Notes de paiement */
.payment__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: rgba(74, 144, 226, 0.1);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.payment__note i {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* Catégories du récapitulatif */
.summary__category {
  margin-bottom: 1.5rem;
  background-color: var(--white);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
}

.summary__category:last-of-type {
  margin-bottom: 1rem;
}

.summary__category h4 {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.summary__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.summary__item span:first-child {
  color: var(--text-light);
  font-weight: 500;
}

.summary__item span:last-child {
  color: var(--text-dark);
  font-weight: 600;
}

/* Section total */
.summary__total {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.total__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.total__item.fees {
  color: #fbbf24;
  font-size: 0.9rem;
}

.total__item.final {
  font-size: 1.1rem;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

/* Page de remerciement */
.merci__section {
  padding: 8rem 0 4rem 0;
  background: linear-gradient(135deg, var(--extra-light) 0%, #f0f9ff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.merci__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.merci__content {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.merci__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.merci__icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.merci__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: var(--header-font);
}

.merci__subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.merci__info {
  margin-bottom: 2rem;
}

.info__card {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.info__card h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.info__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.info__item span:first-child {
  color: var(--text-light);
  font-weight: 500;
}

.info__item span:last-child {
  color: var(--text-dark);
  font-weight: 600;
}

.merci__message {
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.merci__message h3 {
  color: #065f46;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.merci__message p {
  color: #047857;
  margin: 0;
}

.merci__next-steps {
  margin-bottom: 2rem;
  text-align: left;
}

.merci__next-steps h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.steps__list {
  display: grid;
  gap: 1rem;
}

.step__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid var(--secondary-color);
}

.step__number {
  background-color: var(--secondary-color);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step__content h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.step__content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.merci__important {
  margin-bottom: 2rem;
  text-align: left;
}

.merci__important h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.important__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.important__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: #fef3c7;
  border-radius: 12px;
  border: 1px solid #f59e0b;
}

.important__item i {
  color: #d97706;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.important__item h4 {
  color: #92400e;
  font-size: 0.9rem;
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}

.important__item p {
  color: #a16207;
  font-size: 0.8rem;
  margin: 0;
}

/* Section de contact pour problèmes de paiement */
.merci__contact {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
}

.merci__contact h3 {
  color: #856404;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact__item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 0.25rem;
}

.contact__item h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact__item p {
  margin: 0.25rem 0;
  color: var(--text-light);
}

.contact__item p strong {
  color: var(--text-dark);
  font-size: 1.1rem;
}

.merci__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.merci__actions .btn {
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.merci__actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.merci__thank-you {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
}

.merci__thank-you i {
  color: #fbbf24;
  margin-right: 0.5rem;
}

/* Responsive pour la page de remerciement */
@media (max-width: 768px) {
  .merci__content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .merci__title {
    font-size: 2rem;
  }
  
  .merci__subtitle {
    font-size: 1rem;
  }
  
  .info__details {
    grid-template-columns: 1fr;
  }
  
  .important__items {
    grid-template-columns: 1fr;
  }
  
  .merci__actions {
    flex-direction: column;
  }
  
  .merci__actions .btn {
    min-width: auto;
    width: 100%;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: transparent;
  padding: 1rem 0;
  position: relative;
  margin-top: 80px;
}

.breadcrumbs__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.breadcrumb__item--active {
  color: var(--primary-color);
  font-weight: 600;
}

.breadcrumb__item--completed {
  color: #10b981;
}

.breadcrumb__item--completed:hover {
  color: #059669;
  cursor: pointer;
}

.breadcrumb__separator {
  color: #cbd5e1;
  font-size: 0.8rem;
}

.breadcrumb__icon {
  font-size: 1rem;
}

.breadcrumb__text {
  font-size: 0.85rem;
}

/* Responsive breadcrumbs */
@media (max-width: 768px) {
  .breadcrumbs__container {
    padding: 0 1rem;
    gap: 0.25rem;
    font-size: 0.8rem;
  }
  
  .breadcrumb__text {
    display: none;
  }
  
  .breadcrumb__icon {
    font-size: 1.1rem;
  }
  
  .breadcrumb__separator {
    font-size: 0.7rem;
  }
}

/* Page de profil */
.profil-page .header {
  position: relative;
  z-index: 10;
}

.profil__section {
  padding: 8rem 0 2rem 0;
  background-color: var(--white);
}

.profil__container {
  max-width: 1000px;
  margin: 0 auto;
}

.profil__header {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.profil__header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.profil__avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  flex-shrink: 0;
}

.profil__info {
  flex: 1;
}

.profil__info h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
  font-family: var(--header-font);
}

.profil__info p {
  color: var(--text-light);
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

.profil__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status__badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status__badge.status__validated {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #10b981;
}

.status__badge.status__pending {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

.status__badge.status__incomplete {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.profil__actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.profil__content {
  display: grid;
  gap: 1.5rem;
}

.profil__card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profil__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card__header {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card__header h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card__content {
  padding: 1.5rem;
}

.info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.info__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.info__item:last-child {
  border-bottom: none;
}

.info__item--full {
  grid-column: 1 / -1;
}

.info__label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info__value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
}

.status__paid {
  color: #10b981;
  font-weight: 700;
}

.status__pending {
  color: #f59e0b;
  font-weight: 700;
}

.status__full {
  color: #ef4444;
  font-weight: 700;
}

.status__available {
  color: #10b981;
  font-weight: 700;
}

.status__none {
  color: var(--text-light);
  font-weight: 500;
}

.status__yes {
  color: #10b981;
  font-weight: 700;
}

.status__no {
  color: #ef4444;
  font-weight: 700;
}

.occupants__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.occupant__name {
  background-color: #f1f5f9;
  color: var(--text-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal__content {
  background-color: var(--white);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal__header {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8fafc;
  border-radius: 16px 16px 0 0;
}

.modal__header h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.modal__close:hover {
  background-color: #f1f5f9;
}

.modal__body {
  padding: 1.5rem;
}

.modal__footer {
  padding: 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  background-color: #f8fafc;
  border-radius: 0 0 16px 16px;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.btn__small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

/* Responsive pour la page de profil */
@media (max-width: 768px) {
  .profil__header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .profil__actions {
    flex-direction: column;
    width: 100%;
  }
  
  .profil__actions .btn {
    width: 100%;
  }
  
  .info__grid {
    grid-template-columns: 1fr;
  }
  
  .modal__content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .modal__footer {
    flex-direction: column;
  }
  
  .modal__footer .btn {
    width: 100%;
  }
  
  /* Boutons encore plus petits sur très petits écrans */
  .bungalow__actions .btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
  }
  
  .info__section .btn__small {
    padding: 0;
    font-size: 0.7rem;
    width: 1.8rem;
    height: 1.8rem;
  }
  
  .info__section .btn__small i {
    font-size: 0.8rem;
  }
  
  /* Espacement supplémentaire */
  .bungalow__actions {
    margin-top: 1.25rem;
  }
}

/* Styles pour la modal de modification du bungalow */
.form__display {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--text-dark);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

.form__select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--white);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form__select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form__select:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.form__checkbox input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.form__checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form__checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Styles pour le bouton d'édition */
.btn__edit {
  background-color: #f59e0b;
  color: white;
  margin-left: 0.5rem;
}

.btn__edit:hover {
  background-color: #d97706;
  transform: translateY(-1px);
}

.btn__edit i {
  font-size: 0.9rem;
}

/* Responsive pour la modal de bungalow */
@media (max-width: 768px) {
  .form__display {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .form__select {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .form__checkbox {
    font-size: 0.9rem;
  }
  
  .checkmark {
    width: 18px;
    height: 18px;
  }
}

/* Système de connexion/inscription */
.auth__toggle {
  display: flex;
  background-color: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 2rem;
  gap: 4px;
}

.toggle__btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.toggle__btn--active {
  background-color: var(--white);
  color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle__btn:hover:not(.toggle__btn--active) {
  color: var(--text-dark);
}

.auth__form {
  margin-bottom: 1.5rem;
}

.auth__form .form__group {
  margin-bottom: 1.5rem;
}

.auth__form .form__group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.auth__form .form__group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth__form .form__group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.login__footer {
  text-align: center;
  margin-top: 1.5rem;
}

.login__footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.login__footer a:hover {
  text-decoration: underline;
}

/* Header avec profil */
.header__profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.profile__avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.profile__avatar:hover {
  transform: scale(1.05);
}

.profile__name {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.profile__logout {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.profile__logout:hover {
  background-color: #f1f5f9;
  color: var(--text-dark);
}

/* Responsive pour le header profil */
@media (max-width: 768px) {
  .header__profile {
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
  }
  
  .profile__name {
    display: none;
  }
  
  .profile__avatar {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  #profileLink {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .header__profile {
    display: none !important;
  }
  
  #profileLink {
    display: block !important;
  }
}

/* Page d'administration */
.admin-page {
  background-color: #f8fafc;
  min-height: 100vh;
}

.admin__login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.admin__login .login__container {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
  margin: 1rem;
}

.admin__logo {
  margin-bottom: 2rem;
}

.admin__logo i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.admin__logo h1 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin: 0;
}

.admin__login p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.admin__form .form__group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.admin__form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.admin__form input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
}

.admin__form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.login__footer {
  margin-top: 2rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.login__footer i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Interface d'administration */
.admin__interface {
  min-height: 100vh;
}

.admin__header {
  background-color: var(--white);
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin__nav {
  max-width: 95vw;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin__title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin__title i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.admin__title h1 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin: 0;
}

.admin__actions {
  display: flex;
  gap: 1rem;
}

/* Statistiques */
.admin__stats {
  padding: 2rem 0;
  background-color: var(--white);
}

.stats__container {
  max-width: 95vw;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat__card {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.stat__card:hover {
  transform: translateY(-2px);
}

.stat__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.stat__content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
}

.stat__content p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.9rem;
}

/* Filtres */
.admin__filters {
  padding: 1.5rem 0;
  background-color: var(--white);
  border-bottom: 1px solid #e2e8f0;
}

.filters__container {
  max-width: 95vw;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.search__box {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search__box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.search__box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
}

.filter__group select {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  background-color: var(--white);
}

/* Tableau */
.admin__table {
  padding: 2rem 0;
}

.table__container {
  max-width: 95vw;
  margin: 0 auto;
  padding: 0 2rem;
}

.table__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.table__header h2 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.table__wrapper {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.members__table {
  width: 100%;
  border-collapse: collapse;
}

.members__table th {
  background-color: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.members__table td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* Optimisation des largeurs de colonnes */
.members__table th:nth-child(1), .members__table td:nth-child(1) { width: 80px; } /* ID */
.members__table th:nth-child(2), .members__table td:nth-child(2) { width: 150px; } /* Nom complet */
.members__table th:nth-child(3), .members__table td:nth-child(3) { width: 200px; } /* Email */
.members__table th:nth-child(4), .members__table td:nth-child(4) { width: 120px; } /* Téléphone */
.members__table th:nth-child(5), .members__table td:nth-child(5) { width: 100px; } /* Régime */
.members__table th:nth-child(6), .members__table td:nth-child(6) { width: 200px; } /* Pathologies */
.members__table th:nth-child(7), .members__table td:nth-child(7) { width: 200px; } /* Commentaires */
.members__table th:nth-child(8), .members__table td:nth-child(8) { width: 100px; } /* Bungalow */
.members__table th:nth-child(9), .members__table td:nth-child(9) { width: 120px; } /* Paiement */
.members__table th:nth-child(10), .members__table td:nth-child(10) { width: 100px; } /* Inscription */
.members__table th:nth-child(11), .members__table td:nth-child(11) { width: 80px; } /* Actions */

.members__table tr:hover {
  background-color: #f8fafc;
}

.members__table tr:last-child td {
  border-bottom: none;
}

/* Styles pour les pathologies et commentaires */
.pathology__text, .comment__text {
  display: inline-block;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: help;
  color: var(--text-dark);
  font-size: 0.85rem;
}

.text__muted {
  color: #94a3b8;
  font-style: italic;
  font-size: 0.85rem;
}

/* Styles spécifiques pour les pathologies */
.pathology__text {
  background-color: #fef2f2;
  color: #dc2626;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border-left: 3px solid #fca5a5;
}

/* Styles spécifiques pour les commentaires */
.comment__text {
  background-color: #f0f9ff;
  color: #0369a1;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border-left: 3px solid #7dd3fc;
}

/* Styles pour les éléments cliquables */
.pathology__clickable, .comment__clickable {
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.pathology__clickable:hover, .comment__clickable:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pathology__clickable:hover::after {
  content: " 👁️";
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

.comment__clickable:hover::after {
  content: " 👁️";
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

/* Modal de texte */
.modal__text {
  max-width: 600px;
  width: 90%;
}

.text__content {
  max-height: 60vh;
  overflow-y: auto;
  padding: 1rem 0;
}

.text__content p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
}

/* Modal large */
.modal__large {
  max-width: 95vw;
  width: 95%;
}

.member__info {
  max-height: 60vh;
  overflow-y: auto;
}

.info__section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.info__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.info__section h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info__section .info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.info__section .info__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info__section .info__label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info__section .info__value {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* Styles pour la section bungalow compacte */
.bungalow__summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.bungalow__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.bungalow__number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.bungalow__number i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.bungalow__label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bungalow__value {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 700;
}

.bungalow__details {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.bungalow__capacity,
.bungalow__occupants {
  padding: 0.25rem 0.5rem;
  background: rgba(15, 26, 44, 0.1);
  border-radius: 6px;
  font-weight: 500;
}

.bungalow__occupants__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 100%;
}

.occupant__item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: rgba(15, 26, 44, 0.05);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-dark);
}

.occupant__item i {
  font-size: 0.7rem;
  color: var(--primary-color);
}

.bungalow__actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
}

.bungalow__actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Styles pour la carte de bungalow sélectionnée dans le profil */
.bungalow__selected {
  border: 2px solid var(--primary-color) !important;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  box-shadow: 0 4px 12px rgba(15, 26, 44, 0.15) !important;
}

.bungalow__selected .bungalow__number {
  background: var(--primary-color) !important;
  color: white !important;
}

.bungalow__selected .bungalow__status.status__available {
  background: var(--primary-color) !important;
  color: white !important;
}

/* Styles pour l'état "aucun bungalow sélectionné" */
.bungalow__no-selection {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 2px dashed #cbd5e1;
}

.bungalow__no-selection i {
  font-size: 3rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.bungalow__no-selection h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.bungalow__no-selection p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.bungalow__no-selection .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Styles pour le bungalow féminin */
.bungalow__feminine {
  border-color: #ec4899 !important;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%) !important;
}

.bungalow__feminine .bungalow__number {
  background: #ec4899 !important;
  color: white !important;
}

.bungalow__gender-icon {
  color: #ec4899;
  font-size: 1.1em;
  margin-left: 0.25rem;
}

.bungalow__gender-label {
  background: #ec4899;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0.5rem 0;
  display: inline-block;
}


/* Styles pour le bungalow 3A exclusif */
.bungalow__3a-exclusif {
  border-color: #8b5cf6 !important;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%) !important;
}

.bungalow__3a-exclusif .bungalow__number {
  background: #8b5cf6 !important;
  color: white !important;
}

.bungalow__3a-exclusif-label {
  background: #8b5cf6;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0.5rem 0;
  display: inline-block;
}

/* Styles pour le bungalow 7 - contours jaunes, fond jaune (sauf si féminin) */
.bungalow__7:not(.bungalow__feminine) {
  background-color: #fffcf2 !important;
  border-color: #ffc107 !important;
}

.bungalow__7:not(.bungalow__feminine) .bungalow__number {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
}

/* Styles pour le bungalow 8 - exactement comme le bungalow 7 (contours jaunes, fond jaune) */
.bungalow__8 {
  background-color: #fffcf2 !important;
  border-color: #ffc107 !important;
}

.bungalow__8 .bungalow__number {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
}

/* Styles pour le bungalow 9 - contours jaunes, fond jaune */
.bungalow__9 {
  background-color: #fffcf2 !important;
  border-color: #ffc107 !important;
}

.bungalow__9 .bungalow__number {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
}

.comments__text {
  background-color: #f8fafc;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-style: italic;
  color: var(--text-dark);
  margin: 0;
}

/* Responsive admin */
@media (max-width: 768px) {
  .admin__nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .admin__actions {
    width: 100%;
    justify-content: center;
  }
  
  .stats__container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .filters__container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search__box {
    min-width: auto;
  }
  
  .table__wrapper {
    overflow-x: auto;
  }
  
  .members__table {
    min-width: 1200px;
  }
  
  .modal__large {
    width: 98%;
    margin: 1rem;
  }
}

.paiement__methods {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.paiement__methods h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment__options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.payment__option {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid var(--extra-light);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment__option:hover {
  border-color: var(--primary-color);
  background: var(--extra-light);
}

.payment__option.selected {
  border-color: var(--secondary-color);
  background: rgba(74, 144, 226, 0.1);
}

.payment__icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.stripe__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.payment__info {
  flex: 1;
}

.payment__info h4 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.payment__info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.payment__radio {
  position: relative;
}

.payment__radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.payment__radio label {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-light);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment__radio input[type="radio"]:checked + label {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
}

.payment__radio input[type="radio"]:checked + label::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.payment__details {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--extra-light);
}

.details__card h4,
.details__transfer h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.transfer__info {
  background: var(--extra-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.transfer__info p {
  margin-bottom: 0.5rem;
  font-family: 'Courier New', monospace;
}

.transfer__info p:last-child {
  margin-bottom: 0;
}

.paypal__info {
  background: var(--extra-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.paypal__info p {
  margin-bottom: 0.5rem;
}

.paypal__info p:last-child {
  margin-bottom: 0;
}

.paypal__link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
}

.paypal__link:hover {
  text-decoration: underline;
}

.paiement__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.paiement__actions .btn {
  min-width: 200px;
}

/* Responsive pour la page de paiement */
@media (max-width: 768px) {
  .paiement__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form__row {
    grid-template-columns: 1fr;
  }
  
  .paiement__actions {
    flex-direction: column;
  }
  
  .paiement__actions .btn {
    width: 100%;
  }
}

/* Responsive pour les nouveaux footers */
@media (max-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer__social {
    justify-content: center;
  }
}

/* ===== STYLES POUR PAGES LÉGALES ===== */

/* Section légale */
.legal__section {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.legal__container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.legal__header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.legal__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.legal__subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.legal__date {
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
}

.legal__content {
  padding: 3rem 2rem;
}

.legal__section-content {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.legal__section-content:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal__section-content h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal__section-content h2::before {
  content: "📋";
  font-size: 1.2rem;
}

.legal__section-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal__section-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal__section-content li {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  position: relative;
}

.legal__section-content li::marker {
  color: var(--secondary-color);
  font-weight: bold;
}

.legal__section-content strong {
  color: var(--text-dark);
  font-weight: 600;
}

.legal__section-content a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.legal__section-content a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact__info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1rem 0;
}

.contact__info p {
  margin: 0.5rem 0;
  color: var(--text-dark);
}

.contact__info strong {
  color: var(--primary-color);
}

.legal__actions {
  padding: 2rem;
  background: #f8fafc;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.legal__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.legal__actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer légal */
.footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer__legal a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.footer__legal a:hover {
  color: var(--secondary-color);
  background-color: rgba(74, 144, 226, 0.1);
}

.footer__legal span {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Responsive pour les pages légales */
@media (max-width: 768px) {
  .legal__section {
    padding: 4rem 0 2rem;
  }
  
  .legal__container {
    margin: 0 1rem;
    border-radius: 15px;
  }
  
  .legal__header {
    padding: 2rem 1.5rem;
  }
  
  .legal__title {
    font-size: 2rem;
  }
  
  .legal__subtitle {
    font-size: 1rem;
  }
  
  .legal__content {
    padding: 2rem 1.5rem;
  }
  
  .legal__section-content {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .legal__section-content h2 {
    font-size: 1.3rem;
  }
  
  .legal__actions {
    padding: 1.5rem;
  }
  
  .legal__actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer__legal {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer__legal span {
    display: none;
  }
}

/* Améliorations responsive pour la landing page */
@media (max-width: 768px) {
  /* Header principal - réduction significative */
  .header__container h1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
    margin-bottom: 1rem;
    margin-top: 3rem;
    text-align: center;
  }
  
  .header__container .section__subheader {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    margin-top: 3rem;
    text-align: center;
  }
  
  /* Section headers - réduction modérée */
  .section__header {
    font-size: 2rem !important;
    line-height: 1.3;
    text-align: center;
  }
  
  /* Section subheaders */
  .section__subheader {
    font-size: 0.85rem;
    text-align: center;
  }
  
  /* Descriptions */
  .section__description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Espacement des sections */
  .section__container {
    padding: 3rem 1rem;
  }
  
  .about .section__container {
    padding: 3rem 1rem 2rem;
  }
  
  /* Grilles responsive */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .room__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Cartes de bungalows */
  .room__card img {
    width: 80%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  
  .room__card__details h4 {
    font-size: 1.1rem;
  }
  
  .room__card__details p {
    font-size: 0.85rem;
  }
  
  .room__card__details h3 {
    font-size: 1rem;
  }
  
  /* Cartes d'avantages */
  .feature__card {
    padding: 1.5rem;
    text-align: center;
  }
  
  .feature__card h4 {
    font-size: 1.1rem;
  }
  
  .feature__card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .feature__card span {
    font-size: 2rem;
  }
  
  /* Cartes about */
  .about__card {
    padding: 1.5rem;
    text-align: center;
  }
  
  .about__card h4 {
    font-size: 1.1rem;
  }
  
  .about__card p {
    font-size: 0.85rem;
  }
  
  /* Boutons */
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
  
  /* Navigation */
  .nav__links a {
    font-size: 0.9rem;
  }
  
  /* Footer */
  .footer__col h4 {
    font-size: 1.1rem;
  }
  
  .footer__col p {
    font-size: 0.85rem;
  }
  
  /* Centrer le logo du footer */
  .footer__logo {
    text-align: center;
    margin-bottom: 2rem;
    justify-content: center;
  }
  
  /* Team section */
  .team__image img {
    max-width: 100%;
    height: auto;
  }
  
  /* Gallery */
  .gallery__overlay h4 {
    font-size: 1rem;
  }
  
  .gallery__overlay p {
    font-size: 0.8rem;
  }
  
  /* Masquer les flèches de navigation dans la section images */
  .section__nav {
    display: none !important;
  }
  
  /* Intro section */
  .intro__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .intro__cotent {
    text-align: center;
  }
  
  /* Menu section */
  .menu__container {
    padding: 3rem 1rem;
  }
  
  .camping__gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .menu__images {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Section booking */
  .booking__container {
    padding: 2rem 1rem;
  }
  
  .booking__info {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .info__item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
  }
  
  .info__item label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .info__item p {
    font-size: 0.9rem;
    color: var(--white);
    margin: 0;
  }
  
  .bungalow__summary {
    padding: 0.75rem;
  }
  
  .bungalow__details {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .bungalow__occupants__list {
    flex-direction: column;
    align-items: center;
  }
  
  /* Boutons plus petits en mobile */
  .bungalow__actions .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    min-width: auto;
    width: auto;
  }
  
  /* Espacement entre bungalow et bouton */
  .bungalow__actions {
    margin-top: 1rem;
  }
  
  /* Boutons de modification des sections en carrés compacts */
  .info__section .btn__small {
    padding: 0;
    font-size: 0.75rem;
    min-width: auto;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  /* Masquer le texte des boutons en mobile, garder seulement l'icône */
  .info__section .btn__small span {
    display: none;
  }
  
  .info__section .btn__small i {
    font-size: 0.9rem;
    margin: 0;
  }

  /* Centrer le statut de profil en mobile */
  .profil__status {
    text-align: center;
    margin-top: 1rem;
  }

  /* Boutons de modification des cartes de profil en carrés compacts sur mobile */
  .card__header .btn__small {
    padding: 0;
    font-size: 0.75rem;
    min-width: auto;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
  }
  
  .card__header .btn__small i {
    font-size: 0.9rem;
    margin: 0;
  }
  
  /* S'assurer que le conteneur des boutons ne prend pas trop de place */
  .info__section .info__actions {
    flex-shrink: 0;
    margin-left: auto;
  }
  
  /* Ajuster le margin-top du header pour mobile */
  .header {
    margin-top: 70px;
  }
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
  .header__container h1 {
    font-size: 2rem !important;
  }
  
  .section__header {
    font-size: 1.5rem !important;
    text-align: center;
  }
  
  .section__subheader {
    font-size: 0.8rem;
    text-align: center;
  }
  
  .section__description {
    font-size: 0.85rem;
  }
  
  .feature__card h4,
  .room__card__details h4,
  .about__card h4 {
    font-size: 1rem;
  }
  
  .feature__card p,
  .room__card__details p,
  .about__card p {
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }
  
  /* Espacement encore plus réduit */
  .section__container {
    padding: 2rem 1rem;
  }
  
  .about .section__container {
    padding: 2rem 1rem 1rem;
  }
  
  /* Grilles en une colonne */
  .about__grid,
  .room__grid,
  .feature__grid {
    gap: 1.5rem;
  }
  
  /* Cartes plus compactes */
  .feature__card,
  .about__card {
    padding: 1rem;
  }
  
  /* Header encore plus petit */
  .header {
    padding-block: 3rem;
  }
  
  .header__container h1 {
    margin-top: 2.5rem;
    text-align: center;
  }
  
  .header__container .section__subheader {
    margin-top: 2.5rem;
    text-align: center;
  }
  
  /* Images d'hébergement encore plus petites */
  .room__card img {
    width: 70%;
    max-width: 250px;
  }
}

/* Amélioration du chargement des images */
img {
  transition: opacity 0.3s ease-in-out;
}

img[loading="eager"] {
  opacity: 1;
}

img[loading="lazy"] {
  opacity: 0.7;
  transition: opacity 0.5s ease-in-out;
}

img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

/* Placeholder pour les images en cours de chargement */
.about__image img,
.room__card img,
.gallery__item img,
.menu__images img,
.team__image img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Masquer l'animation de chargement une fois l'image chargée */
img[src]:not([src=""]) {
  background: none;
  animation: none;
}

/* S'assurer que les cartes sont toujours visibles */
.room__card,
.feature__card {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Forcer l'affichage des textes */
.room__card__details,
.feature__card h4,
.feature__card p {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}