.img-logo {
  height: 30px;
  width: auto;
  margin-left: 10px;
}

.site-name {
  font-size: 1.5rem;
  color: #333;
  margin: 0 10px;
  font-weight: bold;
  font-family: Tahoma;
}

/* Section recherche MaResi */
.input-form {
  height: 50px !important;
}

.btn-search_reservation {
  padding: 10px 30px;
  font-size: 20px;
  border-radius: 10px;
  width: 100%;
  background: linear-gradient(90deg, #3e8698 0%, #49bfe6 100%);
  border: none;
  transition: background 0.3s ease;
}

.btn-search_reservation:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #49bfe6 0%, #3e8698 100%);
}

.card-reservation {
  border: none;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(62, 134, 152, 0.18);
  filter: drop-shadow(0 4px 7px rgba(73, 191, 230, 0.12));
  background: linear-gradient(135deg, #eaf6fa 0%, #f7fbfc 100%);
  padding: 25px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-reservation:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 5px 5px rgba(62, 134, 152, 0.22);
  filter: drop-shadow(0 8px 10px rgba(73, 191, 230, 0.16));
}

/* Section préférée de MaResi */
.card-prefere {
  width: 370px;
  height: 600px;
  margin-right: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card-prefere:hover {
  transform: scale(1.05) translateY(-8px);
  z-index: 2;
}

.card-img-prefere {
  max-width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.card-title-prefere {
  color: #3e8698;
  font-weight: bold;
  font-size: 1.5rem;
}

.card-prix-prefere {
  color: #3e8698;
  font-weight: bold;
  font-size: 1.5rem;
}

.card-btn-prefere {
  background-color: #ffffff;
  color: #3e8698;
  border-color: #3e8698;
  border-radius: 15px;
  font-size: 1rem;
  transition: background 0.3s ease;
  width: 100%;
  text-align: center;
}

.card-btn-prefere:hover {
  background-color: #3e8698;
  color: #ffffff;
}

.badge-equipement {
  background-color: #c6c6c6;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.7rem;
  margin-bottom: 5px;
}

/* Section liste des residences */
.card-filtre {
  background-color: #fffdfd;
  border: none;
  border-radius: 5px;
  box-shadow: 1px 1px 1px 1px rgba(0.1, 0.1, 0.1, 0.1);
}

.card-liste {
  background-color: #ffffff;
  border: none;
  width: 100% !important;
  border-radius: 5px;
  box-shadow: 1px 1px 1px 1px rgba(0.1, 0.1, 0.1, 0.1);
}

.card-liste-residence {
  border: none;
  height: auto;
  width: 270px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-liste-residence:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.card-img-liste {
  max-width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.card-prix-liste {
  color: #3e8698;
  font-weight: bold;
  font-size: 1rem;
}

.card-title-liste {
  color: #3e8698;
  font-weight: bold;
  font-size: 1.3rem;
}

.card-btn-liste {
  background-color: #3e8698;
  color: #ffffff;
  border-color: #3e8698;
  display: none;
  border-radius: 10px;
  font-size: 12px;
  transition: background 0.3s ease;
  width: 100%;
  display: block;
  visibility: hidden;
  overflow: hidden;
  transition: visibility 0s, height 0.3s, padding 0.3s;
  text-align: center;
  font-weight: bold;
}

.card-btn-liste:hover {
  background-color: #759ca6;
  color: #ffffff;
}

.card-liste-residence:hover .card-btn-liste {
  display: block;
  visibility: visible;
  height: auto;
  padding: 10px 15px;
  margin-top: 10px;
  overflow: visible;
}

.card-notation-liste {
  color: #f4c150;
  font-size: 1rem;
}

.section-hebergement {
  padding: 20px;
  width: 1300px !important;
}

/* Section détails hébergements */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.img-detail-hebergement-principale {
  border-radius: 1rem;
  height: 420px;
  object-fit: cover;
}

.img-detail-hebergement-secondaire {
  border-radius: 0.6rem;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.img-detail-hebergement-secondaire:hover {
  transform: scale(1.05);
}

.nom-residence-detail {
  font-weight: 700;
  color: #3e8698;
}

.prix-detail-hebergement {
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
}

.badge-equipement {
  background-color: #f0f4ff;
  color: #004085;
  font-weight: 500;
  margin: 2px;
}

.badge-prefere {
  background-color: #ffa600ff;
  color: white;
  align-items: center;
  padding-top: 5px;
  font-weight: 500;
}

.btn-reserver-whatsapp {
  background-color: #25D366;
  border: none;
  color: white;
  transition: 0.3s ease;
  border-radius: 10px;
  height: 40px;
  width: auto;
  align-items: center;
  padding-top: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(0 4px 7px rgba(73, 191, 230, 0.12));
  background: linear-gradient(135deg, #17d25b 0%, #25D366 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: bold;
}

.btn-reserver-whatsapp:hover {
  background-color: #26a256;
  color: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(0 4px 7px rgba(73, 191, 230, 0.12));
  background: linear-gradient(135deg, #26a256 0%, #26a256 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-title {
  font-weight: 700;
  color: #333;
}

.section-hebergement {
  background-color: #f8f9fa;
  padding: 40px 0;
}

.prix-detail-hebergement {
  color: #3e8698;
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
}

.btn-reserver-liste {
  background-color: #3e8698;
  border: none;
  color: white;
  font-weight: bold;
  width: 100%;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 1rem;
  transition: background 0.3s ease;
  box-shadow: 0 4px 5px rgb(228, 228, 228);
}

.btn-reserver-liste:hover {
  background-color: #598b98;
  color: white;
  text-decoration: none;
  box-shadow: 0 2px 3px rgb(204, 204, 204);
}

.card-hebergements {
  width: auto;
}

/* CONEXION */
.login-section {
  background-color: #fafeff;
  min-height: 100vh;
}

#login-section .card {
  border: none;
}

#login-section .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(37, 117, 252, .25);
  border-color: #2575fc;
}

#login-section .btn-primary {
  background: #638f9a;
  border: none;
  transition: background 0.3s;
}

#login-section .btn-primary:hover {
  background: #3e8698;
}

.img-logo-login {
  height: 60px;
  width: auto;
}

.password-toggle {
  font-size: 1.2rem;
  user-select: none;
}