#ab-booking-form .ab-date-trigger {
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  border: 1px solid rgba(24, 49, 40, 0.18);
  border-radius: 12px;
  padding: 0 42px 0 13px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23183128' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E")
    no-repeat right 13px center;
  color: #183128;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
}

#ab-booking-form .ab-date-trigger:hover,
#ab-booking-form .ab-date-trigger:focus-visible,
#ab-booking-form .ab-date-trigger[aria-expanded="true"] {
  border-color: #1f4a3a;
  box-shadow: 0 0 0 3px rgba(31, 74, 58, 0.12);
  outline: 0;
}

#ab-booking-form .ab-date-trigger.is-placeholder {
  color: #6c776f;
}

#ab-booking-form .ab-picker {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(24, 49, 40, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(24, 49, 40, 0.12);
}

#ab-booking-form .ab-picker[hidden] {
  display: none;
}

#ab-booking-form .ab-picker-toolbar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(24, 49, 40, 0.12);
  background: #f8f4eb;
}

#ab-booking-form .ab-picker-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24, 49, 40, 0.14);
  border-radius: 50%;
  background: #fff;
  color: #183128;
  cursor: pointer;
  font-size: 1.2rem;
}

#ab-booking-form .ab-picker-nav:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

#ab-booking-form .ab-picker-title {
  color: #183128;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  text-align: center;
}

#ab-booking-form .ab-picker-context {
  display: block;
  margin-top: 2px;
  color: #5d6d64;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#ab-booking-form .ab-picker-body {
  padding: 16px;
}

#ab-booking-form .ab-picker-weekdays,
#ab-booking-form .ab-picker-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(34px, 1fr));
  gap: 7px;
}

#ab-booking-form .ab-picker-weekdays {
  margin-bottom: 7px;
  color: #68766e;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

#ab-booking-form .ab-picker-day {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #e7f0e5;
  color: #183128;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

#ab-booking-form .ab-picker-day:hover:not(:disabled),
#ab-booking-form .ab-picker-day:focus-visible {
  border-color: #1f4a3a;
  box-shadow: 0 0 0 2px rgba(31, 74, 58, 0.12);
  outline: 0;
}

#ab-booking-form .ab-picker-day.is-selected {
  background: #1f4a3a;
  color: #fff;
}

#ab-booking-form .ab-picker-day.is-in-range {
  background: #d5e4d1;
}

#ab-booking-form .ab-picker-day.is-booked,
#ab-booking-form .ab-picker-day:disabled {
  background: #f2d6c9;
  color: #9a4a34;
  cursor: not-allowed;
  opacity: 0.7;
  text-decoration: line-through;
}

#ab-booking-form .ab-picker-day.is-past {
  background: #f1f0ec;
  color: #9a9a94;
}

#ab-booking-form .ab-picker-day.is-checkout-only {
  border-color: #c76848;
  background: linear-gradient(135deg, #e7f0e5 50%, #f2d6c9 50%);
  color: #183128;
  cursor: pointer;
  opacity: 1;
  text-decoration: none;
}

#ab-booking-form .ab-picker-status,
#ab-booking-form .ab-date-error {
  grid-column: 1 / -1;
  margin: 0;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 0.76rem;
}

#ab-booking-form .ab-picker-status {
  color: #4f6259;
  background: #eef3ea;
}

#ab-booking-form .ab-picker-status.is-loading {
  color: #67562d;
  background: #f7f0dc;
}

#ab-booking-form .ab-date-error {
  color: #8e3425;
  background: #f8e2da;
}

#ab-booking-form .ab-date-error[hidden] {
  display: none;
}

#ab-booking-form .ab-stay-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(24, 49, 40, 0.14);
  border-radius: 16px;
  background: rgba(24, 49, 40, 0.12);
}

#ab-booking-form .ab-stay-preview[hidden] {
  display: none;
}

#ab-booking-form .ab-stay-preview > span {
  min-width: 0;
  padding: 15px;
  background: #eef3ea;
}

#ab-booking-form .ab-stay-preview strong,
#ab-booking-form .ab-stay-preview small {
  display: block;
}

#ab-booking-form .ab-stay-preview strong {
  overflow-wrap: anywhere;
  color: #183128;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

#ab-booking-form .ab-stay-preview small {
  margin-top: 3px;
  color: #5d6d64;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

#ab-booking-form .ab-picker-legend {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 13px;
  color: #5d6d64;
  font-size: 0.68rem;
}

#ab-booking-form .ab-picker-legend span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  background: #e7f0e5;
}

#ab-booking-form .ab-picker-legend .is-booked::before {
  background: #c76848;
}

@media (max-width: 560px) {
  #ab-booking-form .ab-stay-preview {
    grid-template-columns: 1fr;
  }

  #ab-booking-form .ab-picker-body {
    padding: 12px 9px 14px;
  }

  #ab-booking-form .ab-picker-weekdays,
  #ab-booking-form .ab-picker-days {
    gap: 4px;
  }

  #ab-booking-form .ab-picker-day {
    min-height: 38px;
    border-radius: 8px;
    font-size: 0.73rem;
  }
}
