/* Booking fields: matching dark styling for date and time on desktop and mobile. */
#book-form #f-date,
#book-form #f-time {
  display: block;
  width: 100%;
  min-width: 0;
  height: 60px;
  box-sizing: border-box;
  padding: 0 16px;
  border: 1px solid #303744;
  border-radius: 5px;
  background-color: #0c0e12;
  color: #f4f4f4;
  color-scheme: dark;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
}

/* A uniform dropdown, while retaining the phone's native selection menu. */
#book-form #f-time {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
#book-form .time-select-wrap { position: relative; }
#book-form .time-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 19px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #a4adbd;
  border-bottom: 1.5px solid #a4adbd;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
#book-form #f-time option { background-color: #0c0e12; color: #f4f4f4; }
#book-form #f-date:focus-visible,
#book-form #f-time:focus-visible {
  outline: 2px solid #789ef9;
  outline-offset: 2px;
}

/* Custom Danish calendar: no native iPhone date-picker overlay after enhancement. */
#book-form .dbs-date-picker { position: relative; min-width: 0; }
#book-form .dbs-date-trigger { display: none; }
#book-form .dbs-date-picker.dbs-enhanced #f-date {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0;
  border: 0; opacity: 0; clip-path: inset(50%); overflow: hidden;
  pointer-events: none;
}
#book-form .dbs-date-picker.dbs-enhanced .dbs-date-trigger {
  width: 100%; height: 60px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid #303744; border-radius: 5px; background: #0c0e12;
  color: #f4f4f4; text-align: left; padding: 0 16px;
  font: inherit; font-size: 18px; font-weight: 400; cursor: pointer;
}
#book-form .dbs-date-trigger svg { flex: 0 0 auto; }
#book-form .dbs-date-value.is-placeholder { color: #a5aab5; }
#book-form .dbs-date-trigger:hover, #book-form .dbs-date-trigger[aria-expanded="true"] { border-color: #789ef9; }
#book-form .dbs-date-trigger:focus-visible,
#book-form .dbs-calendar button:focus-visible { outline: 2px solid #789ef9; outline-offset: 2px; }
#book-form .dbs-calendar[hidden] { display: none !important; }
#book-form .dbs-calendar {
  width: 100%; box-sizing: border-box; margin-top: 10px; padding: 14px 10px 12px;
  border: 1px solid #384255; border-radius: 12px; background: #151a22;
  box-shadow: 0 12px 25px rgba(0,0,0,.18); color: #f4f4f4;
  font-family: inherit;
}
#book-form .dbs-calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 14px; }
#book-form .dbs-calendar-head strong { font-size: 16px; font-weight: 700; }
#book-form .dbs-calendar-nav { display: flex; align-items: center; gap: 5px; }
#book-form .dbs-calendar-nav button,
#book-form .dbs-calendar-bottom button {
  border: 1px solid #394153; border-radius: 7px; background: #10141b;
  color: #f4f4f4; cursor: pointer; font-family: inherit;
}
#book-form .dbs-calendar-nav button { width: 34px; height: 34px; font-size: 25px; line-height: 1; }
#book-form .dbs-calendar-nav button:disabled { opacity: .26; cursor: not-allowed; }
#book-form .dbs-calendar-weekdays,
#book-form .dbs-calendar-grid {
  display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 3px; text-align: center;
}
#book-form .dbs-calendar-weekdays { margin-bottom: 7px; }
#book-form .dbs-calendar-weekdays span { font-size: 11px; color: #aab4c7; font-weight: 600; padding: 4px 0; }
#book-form .dbs-calendar-grid button {
  width: 100%; height: 37px; min-width: 0; padding: 0;
  border: 1px solid transparent; border-radius: 7px; background: transparent;
  font-family: inherit; font-size: 14px; color: #eef0f7; cursor: pointer;
}
#book-form .dbs-calendar-grid button:hover { background: #29354b; }
#book-form .dbs-calendar-grid button[aria-current="date"] { border-color: #789ef9; }
#book-form .dbs-calendar-grid button[aria-pressed="true"] {
  background: #789ef9; color: #0c0e12; border-color: #789ef9; font-weight: 750;
}
#book-form .dbs-calendar-grid button:disabled { opacity: .22; cursor: not-allowed; }
#book-form .dbs-calendar-bottom {
  margin-top: 12px; padding: 11px 3px 0; border-top: 1px solid #333c4d;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between;
}
#book-form .dbs-calendar-bottom span { font-size: 11px; color: #aab4c7; flex: 1 1 130px; }
#book-form .dbs-calendar-bottom button { padding: 7px 12px; font-size: 12px; }
@media (max-width: 500px) {
  #book-form .dbs-calendar { padding: 14px 10px 12px; }
  #book-form .dbs-calendar-grid button { height: 42px; font-size: 15px; }
}
