/* Container principal */
.VisitBooking_visitBooking__tFiY5 {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 177, 64, 0.1);
}

/* Notification */
.VisitBooking_notification__PB_B4 {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  animation: VisitBooking_slideInRight__X42Uc 0.3s ease-out;
  max-width: 400px;
}

.VisitBooking_notification__PB_B4.VisitBooking_success__mfT7Z {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-left: 4px solid #28a745;
}

.VisitBooking_notification__PB_B4.VisitBooking_error__EmF5V {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  border-left: 4px solid #dc3545;
}

.VisitBooking_notificationContent__GmiMa {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  gap: 0.75rem;
}

.VisitBooking_notificationContent__GmiMa i {
  font-size: 1.1rem;
}

.VisitBooking_notificationContent__GmiMa button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.VisitBooking_notificationContent__GmiMa button:hover {
  opacity: 1;
}

@keyframes VisitBooking_slideInRight__X42Uc {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* En-tête */
.VisitBooking_header__x1v6v {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f8f9fa;
}

.VisitBooking_title__JevjZ {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.VisitBooking_title__JevjZ i {
  color: #00b140;
}

.VisitBooking_subtitle__vg3qe {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
}

/* Navigation du mois */
.VisitBooking_monthNavigation__Jkuw3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
}

.VisitBooking_navButton__cY96X {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6c757d;
}

.VisitBooking_navButton__cY96X:hover:not(:disabled) {
  border-color: #00b140;
  color: #00b140;
  transform: translateY(-1px);
}

.VisitBooking_navButton__cY96X:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.VisitBooking_monthTitle__9bkh1 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

/* Container des créneaux */
.VisitBooking_slotsContainer__rrcp5 {
  margin-bottom: 1.5rem;
}

.VisitBooking_loading__a0oP4 {
  text-align: center;
  padding: 2rem;
  color: #6c757d;
}

.VisitBooking_spinner__W5qZj {
  width: 32px;
  height: 32px;
  border: 3px solid #e3e6f0;
  border-top: 3px solid #00b140;
  border-radius: 50%;
  animation: VisitBooking_spin__TYjhk 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes VisitBooking_spin__TYjhk {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.VisitBooking_slotsList__sqWYO {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.VisitBooking_dateGroup__Bf2Vj {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
}

.VisitBooking_dateHeader__yDW3Q {
  background: linear-gradient(135deg, #00b140 0%, #28a745 100%);
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.VisitBooking_slotsGrid__F6CK2 {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.VisitBooking_slotButton__7Hq8R {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.VisitBooking_slotButton__7Hq8R:hover:not(:disabled) {
  border-color: #00b140;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 177, 64, 0.2);
}

.VisitBooking_slotButton__7Hq8R.VisitBooking_selected__i1ScR {
  border-color: #00b140;
  background: linear-gradient(
    135deg,
    rgba(0, 177, 64, 0.1) 0%,
    rgba(40, 167, 69, 0.05) 100%
  );
  box-shadow: 0 4px 15px rgba(0, 177, 64, 0.2);
}

.VisitBooking_slotButton__7Hq8R:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.VisitBooking_slotTime__C6HQx {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.VisitBooking_slotTime__C6HQx i {
  color: #00b140;
}

.VisitBooking_slotInfo__069gp {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.VisitBooking_slotPrice__HAkU_ {
  font-weight: 600;
  color: #00b140;
  font-size: 0.9rem;
}

.VisitBooking_slotAvailability__0WAE3 {
  font-size: 0.8rem;
  color: #6c757d;
}

.VisitBooking_noSlots__JgWXI {
  text-align: center;
  padding: 2rem;
  color: #6c757d;
}

.VisitBooking_noSlots__JgWXI i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}

.VisitBooking_noSlots__JgWXI h6 {
  color: #495057;
  margin-bottom: 0.5rem;
}

/* Formulaire de contact */
.VisitBooking_contactForm__N9S3e {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.VisitBooking_formTitle__TPsik {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.VisitBooking_formTitle__TPsik i {
  color: #00b140;
}

.VisitBooking_formGroup__oaSpx {
  margin-bottom: 1rem;
}

.VisitBooking_formLabel___SAuB {
  display: block;
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.VisitBooking_formLabel___SAuB i {
  color: #00b140;
}

.VisitBooking_formInput__XGBVD,
.VisitBooking_formTextarea__7hBkG {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: white;
}

.VisitBooking_formInput__XGBVD:focus,
.VisitBooking_formTextarea__7hBkG:focus {
  outline: none;
  border-color: #00b140;
  box-shadow: 0 0 0 3px rgba(0, 177, 64, 0.1);
}

.VisitBooking_formTextarea__7hBkG {
  resize: vertical;
  min-height: 80px;
}

/* Résumé de la sélection */
.VisitBooking_selectionSummary__ttDMd {
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
  border: 1px solid rgba(0, 177, 64, 0.2);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.VisitBooking_summaryHeader__kcNeM {
  font-weight: 600;
  color: #00b140;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.VisitBooking_summaryContent__8LTBL {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.VisitBooking_summaryDate__f2_uz {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
}

.VisitBooking_summaryDetails__MVFu7 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #6c757d;
}

.VisitBooking_summaryTime__SpEKq,
.VisitBooking_summaryPrice__j7Bpg {
  display: flex;
  align-items: center;
}

.VisitBooking_summaryTime__SpEKq i,
.VisitBooking_summaryPrice__j7Bpg i {
  color: #00b140;
}

/* Actions de réservation */
.VisitBooking_bookingActions__EYq2z {
  margin-bottom: 1.5rem;
}

.VisitBooking_loginButton__hs0en,
.VisitBooking_bookButton__VinP1 {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.VisitBooking_loginButton__hs0en {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.VisitBooking_bookButton__VinP1 {
  background: linear-gradient(135deg, #00b140 0%, #28a745 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 177, 64, 0.3);
}

.VisitBooking_loginButton__hs0en:hover,
.VisitBooking_bookButton__VinP1:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.VisitBooking_bookButton__VinP1:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.VisitBooking_userTypeWarning__k4FpA {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.VisitBooking_buttonSpinner__DQJIv {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: VisitBooking_spin__TYjhk 1s linear infinite;
}

/* Informations importantes */
.VisitBooking_importantInfo___JNbr {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.25rem;
  border-left: 4px solid #00b140;
}

.VisitBooking_infoTitle__ry2QH {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.VisitBooking_infoTitle__ry2QH i {
  color: #00b140;
}

.VisitBooking_infoList__Hp_ve {
  list-style: none;
  padding: 0;
  margin: 0;
}

.VisitBooking_infoList__Hp_ve li {
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: #6c757d;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.VisitBooking_infoList__Hp_ve li i {
  color: #00b140;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Modal */
.VisitBooking_modal__FSozD {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 1rem;
}

.VisitBooking_modalContent__WQQ_3 {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.VisitBooking_modalHeader__k_HCm {
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #00b140 0%, #28a745 100%);
  color: white;
  border-radius: 16px 16px 0 0;
}

.VisitBooking_modalTitle__GbJLA {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
}

.VisitBooking_closeButton__HYdkS {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.VisitBooking_closeButton__HYdkS:hover {
  opacity: 1;
}

.VisitBooking_modalBody__AXN5e {
  padding: 1.5rem;
}

.VisitBooking_confirmationDetails__EDHJ8 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.VisitBooking_propertyInfo__jmYUd,
.VisitBooking_visitInfo__vLjoP,
.VisitBooking_contactInfo__uymPy {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.VisitBooking_propertyInfo__jmYUd h6,
.VisitBooking_visitInfo__vLjoP h6,
.VisitBooking_contactInfo__uymPy h6 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.VisitBooking_propertyInfo__jmYUd p,
.VisitBooking_visitInfo__vLjoP p,
.VisitBooking_contactInfo__uymPy p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #495057;
}

.VisitBooking_confirmationNote___oOLx {
  background: #e8f4fd;
  border: 1px solid #b8daff;
  color: #004085;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.VisitBooking_modalFooter__fXlwi {
  padding: 1.5rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.VisitBooking_modalFooter__fXlwi .VisitBooking_btn__NLMU8 {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .VisitBooking_visitBooking__tFiY5 {
    padding: 1rem;
  }

  .VisitBooking_monthNavigation__Jkuw3 {
    padding: 0.5rem 0.75rem;
  }

  .VisitBooking_navButton__cY96X {
    width: 36px;
    height: 36px;
  }

  .VisitBooking_monthTitle__9bkh1 {
    font-size: 1rem;
  }

  .VisitBooking_slotButton__7Hq8R {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .VisitBooking_slotInfo__069gp {
    align-items: flex-start;
    width: 100%;
  }

  .VisitBooking_summaryDetails__MVFu7 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .VisitBooking_modal__FSozD {
    padding: 0.5rem;
  }

  .VisitBooking_modalContent__WQQ_3 {
    max-height: 95vh;
  }

  .VisitBooking_modalHeader__k_HCm,
  .VisitBooking_modalBody__AXN5e,
  .VisitBooking_modalFooter__fXlwi {
    padding: 1rem;
  }

  .VisitBooking_modalFooter__fXlwi {
    flex-direction: column;
  }
}

/* ==================== NOUVELLE INTERFACE COMPACTE ==================== */

/* Vue compacte */
.VisitBooking_compactView__wyxPw {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Résumé du mois */
.VisitBooking_monthSummary__gysP4 {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

.VisitBooking_summaryItem__IdFDD {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #495057;
  font-weight: 500;
}

.VisitBooking_summaryItem__IdFDD i {
  color: #00b140;
  font-size: 1rem;
}

/* Grille de dates */
.VisitBooking_datesGrid__W1pLX {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.VisitBooking_dateCard__bU2rK {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.VisitBooking_dateCard__bU2rK:hover {
  border-color: #00b140;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 177, 64, 0.15);
}

.VisitBooking_dateCard__bU2rK.VisitBooking_selectedDate__ScXql {
  border-color: #00b140;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  box-shadow: 0 4px 12px rgba(0, 177, 64, 0.2);
}

.VisitBooking_dateNumber__FfK6V {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1;
}

.VisitBooking_dateDay__xzvtG {
  font-size: 0.75rem;
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.VisitBooking_datePlaces__BXZ89 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: #00b140;
  font-weight: 600;
}

.VisitBooking_datePlaces__BXZ89 i {
  font-size: 0.7rem;
}

.VisitBooking_multipleSlots__gU_WM {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #007bff;
  color: white;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 600;
}

.VisitBooking_freeTag__UuvNe {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #28a745;
  color: white;
  font-size: 0.7rem;
  padding: 2px 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Détails du jour sélectionné */
.VisitBooking_selectedDayDetails__oLE0v {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1rem;
}

.VisitBooking_detailsHeader__vL5u5 {
  font-weight: 600;
  color: #166534;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.VisitBooking_detailsHeader__vL5u5 i {
  color: #00b140;
}

/* Liste des créneaux du jour */
.VisitBooking_daySlotsList__rqdSw {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.VisitBooking_slotOption__aKT8K {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.VisitBooking_slotOption__aKT8K:hover {
  border-color: #00b140;
  box-shadow: 0 2px 8px rgba(0, 177, 64, 0.1);
}

.VisitBooking_slotOption__aKT8K.VisitBooking_selected__i1ScR {
  border-color: #00b140;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  box-shadow: 0 2px 8px rgba(0, 177, 64, 0.15);
}

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

.VisitBooking_slotTime__C6HQx {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.VisitBooking_slotTime__C6HQx i {
  color: #00b140;
  margin-right: 0.25rem;
}

.VisitBooking_slotPrice__HAkU_ {
  font-weight: 600;
  color: #00b140;
  font-size: 0.9rem;
}

.VisitBooking_slotAvailability__0WAE3 {
  font-size: 0.8rem;
  color: #6b7280;
  display: flex;
  align-items: center;
}

.VisitBooking_slotAvailability__0WAE3 i {
  color: #9ca3af;
  margin-right: 0.25rem;
}

/* Détails créneau unique */
.VisitBooking_singleSlotDetails__2dMBI {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.VisitBooking_slotDetailItem__EKZgl {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.VisitBooking_slotDetailItem__EKZgl i {
  color: #00b140;
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

.VisitBooking_slotDetailItem__EKZgl span {
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

/* Responsive pour la vue compacte */
@media (max-width: 768px) {
  .VisitBooking_datesGrid__W1pLX {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.5rem;
  }

  .VisitBooking_dateCard__bU2rK {
    padding: 0.5rem 0.25rem;
    min-height: 80px;
  }

  .VisitBooking_dateNumber__FfK6V {
    font-size: 1.25rem;
  }

  .VisitBooking_monthSummary__gysP4 {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .VisitBooking_summaryItem__IdFDD {
    font-size: 0.8rem;
  }

  .VisitBooking_selectedDayDetails__oLE0v {
    padding: 0.75rem;
  }

  .VisitBooking_slotOption__aKT8K {
    padding: 0.5rem;
  }

  .VisitBooking_slotHeader__C82N5 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* Indicateur de visite existante */
.VisitBooking_existingVisitAlert__yFwKj {
  background: linear-gradient(135deg, #e7f3ff 0%, #cce7ff 100%);
  border: 2px solid #0066cc;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  animation: VisitBooking_fadeInUp__IG0Vn 0.3s ease-out;
}

.VisitBooking_alertContent__XRehA {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.VisitBooking_alertIcon__4DKH_ {
  background: #0066cc;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.VisitBooking_alertText__7qFsg {
  flex: 1;
}

.VisitBooking_alertTitle__MIF50 {
  font-size: 1rem;
  font-weight: 600;
  color: #003d7a;
  margin: 0 0 0.25rem 0;
}

.VisitBooking_alertMessage__mekPW {
  color: #0066cc;
  font-size: 0.9rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.VisitBooking_statusBadge__YhR17 {
  font-weight: 600;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.8rem;
  background: #0066cc;
  color: white;
}

.VisitBooking_visitDate__knKa4 {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
  display: flex;
  align-items: center;
}

.VisitBooking_visitDate__knKa4 i {
  color: #0066cc;
}

.VisitBooking_viewVisitButton__RKuLI {
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  justify-content: center;
}

.VisitBooking_viewVisitButton__RKuLI:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.VisitBooking_alreadyBookedMessage__Gds0y {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 2px solid #28a745;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  color: #155724;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.VisitBooking_alreadyBookedMessage__Gds0y i {
  color: #28a745;
  font-size: 1.1rem;
}

@keyframes VisitBooking_fadeInUp__IG0Vn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive pour l'indicateur */
@media (max-width: 768px) {
  .VisitBooking_existingVisitAlert__yFwKj {
    padding: 0.75rem;
  }

  .VisitBooking_alertContent__XRehA {
    gap: 0.5rem;
  }

  .VisitBooking_alertIcon__4DKH_ {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .VisitBooking_alertTitle__MIF50 {
    font-size: 0.9rem;
  }

  .VisitBooking_alertMessage__mekPW {
    font-size: 0.85rem;
  }

  .VisitBooking_viewVisitButton__RKuLI {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Fixes pour uniformiser la taille des cartes de propriétés */

/* Assurer une hauteur fixe pour la section image */
.listing-style1 .list-thumb {
  height: 248px !important;
  overflow: hidden;
  position: relative;
  border-radius: 8px 8px 0 0;
}

/* Spécifique pour la vue en liste - Layout horizontal */
.listing-style1.listCustom.listing-type {
  display: flex !important;
  flex-direction: row !important;
  height: 280px !important; /* Hauteur fixe pour assurer que l'image occupe toute la hauteur */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 25px; /* Espacement entre les cartes en mode liste */
}

.listing-style1.listCustom.listing-type:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.listing-style1.listCustom.listing-type .list-thumb {
  height: 100% !important; /* Occuper toute la hauteur de la carte */
  width: 300px !important;
  min-width: 300px !important;
  flex-shrink: 0;
  border-radius: 8px 0 0 8px !important;
}

.listing-style1.listCustom.listing-type .list-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px; /* Augmenter la hauteur minimale pour plus d'espace */
}

/* S'assurer que l'image couvre bien toute la zone */
.listing-style1 .list-thumb img {
  -o-object-fit: cover !important;
     object-fit: cover !important;
  -o-object-position: center !important;
     object-position: center !important;
  width: 100% !important;
  height: 100% !important;
}

/* Uniformiser la hauteur du contenu de la carte en mode grid */
.listing-style1:not(.listCustom) .list-content {
  min-height: 180px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Uniformiser la hauteur du titre */
.listing-style1 .list-title {
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}

/* Titre en mode liste - plus de place */
.listing-style1.listCustom.listing-type .list-title {
  height: auto;
  -webkit-line-clamp: 1;
  margin-bottom: 10px;
}

/* Uniformiser la hauteur de la description */
.listing-style1 .list-text {
  height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 12px;
}

/* Description en mode liste - plus de place */
.listing-style1.listCustom.listing-type .list-text {
  height: auto;
  white-space: normal;
  margin-bottom: 15px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Assurer que la carte entière a une hauteur uniforme en mode grid */
.listing-style1:not(.listCustom) {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px; /* Augmenter l'espace entre les lignes en mode grid */
}

/* Ajouter un espacement spécifique pour le conteneur des cartes de propriétés */
.property-grid-container {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.property-card-col {
  padding: 10px;
  display: flex;
}

.property-card-col .listing-style1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-card-col .listing-style1 .list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-card-col .listing-style1 .list-meta2 {
  margin-top: auto;
}

/* S'assurer que l'espacement est visible en mode grid seulement */
.property-grid-container .property-card-col:not(:has(.listCustom)) {
  margin-bottom: 20px !important;
}

.listing-style1:not(.listCustom):hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Assurer que les slides Swiper ont la même hauteur */
.swiper-slide {
  height: auto;
}

.swiper-slide .item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Style pour le prix */
.listing-style1 .list-price {
  position: absolute;
  bottom: 10px;
  left: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}

/* Style pour le badge certifié */
.listing-style1 .list-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #28a745;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* Métadonnées en mode liste */
.listing-style1.listCustom.listing-type .list-meta {
  flex-wrap: wrap;
  gap: 10px;
}

.listing-style1.listCustom.listing-type .list-meta a {
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
  color: #666;
}

/* Styles pour le bouton Acheter */
.listing-style1 .ud-btn.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.listing-style1 .ud-btn.btn-sm:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.listing-style1 .ud-btn.btn-sm:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.listing-style1 .ud-btn.btn-sm i {
  font-size: 14px;
}

/* Ajustement de l'espacement pour accommoder le bouton */
.listing-style1 .list-content {
  padding-bottom: 20px;
}

/* Animation du spinner */
.listing-style1 .spinner-border-sm {
  width: 14px;
  height: 14px;
  border-width: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .listing-style1 .list-thumb {
    height: 200px !important;
  }

  .listing-style1.listCustom.listing-type {
    flex-direction: column !important;
    height: auto !important; /* Hauteur automatique sur mobile */
  }

  .listing-style1.listCustom.listing-type .list-thumb {
    height: 200px !important; /* Hauteur fixe pour l'image sur mobile */
    width: 100% !important;
    min-width: auto !important;
    border-radius: 8px 8px 0 0 !important;
  }

  .listing-style1.listCustom.listing-type .list-content {
    min-height: auto;
    padding: 15px;
  }

  .listing-style1:not(.listCustom) .list-content {
    min-height: 160px;
    padding: 15px;
  }

  .listing-style1 .list-title {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .listing-style1 .list-thumb {
    height: 180px !important;
  }

  .listing-style1.listCustom.listing-type .list-thumb {
    height: 160px !important;
  }

  .listing-style1:not(.listCustom) .list-content {
    min-height: 140px;
    padding: 12px;
  }

  .listing-style1.listCustom.listing-type .list-content {
    padding: 12px;
  }
}

/* Design moderne et soft pour la section PropertyListing avec couleur primaire */
.property-listing-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--primary-color, #00b140) 0%,
    #009935 100%
  );
  overflow: hidden;
  padding: 90px 0 90px 0;
}

/* Formes géométriques décoratives subtiles */
.property-listing-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}
.property-listing-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 10s ease-in-out infinite reverse;
}

/* Animations flottantes douces */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

/* Éléments décoratifs subtils */
.decorative-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape-1 {
  position: absolute;
  top: 20%;
  left: 15%;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transform: rotate(45deg);
  animation: pulse 6s ease-in-out infinite;
}
.shape-2 {
  position: absolute;
  top: 60%;
  right: 20%;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}
.shape-3 {
  position: absolute;
  bottom: 20%;
  left: 8%;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 30px solid rgba(255, 255, 255, 0.04);
  animation: float 7s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

/* Contenu principal */
.property-listing-content {
  position: relative;
  z-index: 2;
}

/* Badge d'en-tête soft */
.section-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  animation: slideInUp 0.8s ease-out;
}

/* Titre amélioré et soft */
.enhanced-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.enhanced-title .highlight {
  background: linear-gradient(45deg, #ffffff, #f1f5f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sous-titre doux */
.enhanced-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

/* Section statistiques soft */
.stats-section {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 50px 0;
  animation: slideInUp 0.8s ease-out 0.6s both;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 600;
  color: #f1f5f9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 5px;
}

/* Call-to-action buttons soft avec couleur primaire */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  animation: slideInUp 0.8s ease-out 0.8s both;
}

.btn-primary-custom {
  background: linear-gradient(45deg, #ffffff, #f8fafc);
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  color: var(--primary-color, #00b140);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #009935;
  background: linear-gradient(45deg, #f1f5f9, #ffffff);
  text-decoration: none;
}

.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 11px 26px;
  border-radius: 25px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}

/* Container des cartes avec effet doux */
.cards-container {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  animation: slideInUp 0.8s ease-out 1s both;
}

/* Animation douce pour les cartes */
.cards-container .listing-style1 {
  animation: fadeInScale 0.6s ease-out both;
}

.cards-container .listing-style1:nth-child(1) {
  animation-delay: 0.1s;
}
.cards-container .listing-style1:nth-child(2) {
  animation-delay: 0.2s;
}
.cards-container .listing-style1:nth-child(3) {
  animation-delay: 0.3s;
}
.cards-container .listing-style1:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Message vide stylisé et doux */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: white;
  animation: slideInUp 0.8s ease-out;
}

.empty-state .icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.empty-state h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 600;
}

.empty-state p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Message de chargement avec couleur primaire */
.loading-state {
  text-align: center;
  padding: 80px 20px;
  color: white;
  animation: slideInUp 0.8s ease-out;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Message d'erreur */
.error-state {
  text-align: center;
  padding: 80px 20px;
  color: white;
  animation: slideInUp 0.8s ease-out;
}

.error-state .icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  opacity: 0.6;
  color: #ff6b6b;
}

/* Responsive design */
@media (max-width: 768px) {
  .property-listing-hero {
    padding: 60px 0 40px 0;
  }

  .stats-section {
    gap: 30px;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .shape-1,
  .shape-2,
  .shape-3 {
    display: none; /* Masquer sur mobile pour simplifier */
  }

  .enhanced-title {
    font-size: 2.2rem;
  }

  .enhanced-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .property-listing-hero {
    padding: 40px 0 40px 0;
  }

  .enhanced-title {
    font-size: 1.9rem;
  }

  .stats-section {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}

