/* Native selects, date/time — dark theme readability (Chrome, Firefox, Safari, Edge) */

:root {
  color-scheme: dark;
}

select,
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
  color: var(--text) !important;
  background-color: var(--card2) !important;
  border: 1px solid var(--bord2);
  border-radius: 3px;
  padding: 8px 10px;
  min-height: 42px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.35;
  caret-color: var(--gold);
  color-scheme: dark;
}

select:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(184, 150, 62, 0.35);
}

select option,
select optgroup {
  background-color: var(--card);
  color: var(--text);
}

/* Booking / calculator fields: inputs sit on dark .card — reinforce contrast */
.form-field select,
.form-field input[type="date"],
.form-field input[type="time"],
.cf-field select,
.cf-field input[type="date"],
.cf-field input[type="time"],
.bf-field select,
.bf-field input[type="date"],
.bf-field input[type="time"] {
  background-color: rgba(22, 22, 22, 0.95) !important;
  border: 1px solid var(--bord2);
}

/* WebKit: calendar & clock icons visible on dark background */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: none;
  opacity: 1;
  cursor: pointer;
  background: rgba(184, 150, 62, 0.16);
  border: 1px solid rgba(184, 150, 62, 0.35);
  border-radius: 4px;
  padding: 6px;
  margin-left: 6px;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  color: transparent;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
  background: rgba(184, 150, 62, 0.28);
}

input[type="date"]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF6A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

input[type="time"]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF6A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='12 7 12 12 15 14'/%3E%3C/svg%3E");
}

/* WebKit date/time text parts on dark backgrounds */
input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field,
input[type="time"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit-text,
input[type="time"]::-webkit-datetime-edit-hour-field,
input[type="time"]::-webkit-datetime-edit-minute-field {
  color: var(--text);
}

/* Google Places suggestions dropdown */
.pac-container {
  z-index: 8000 !important;
  font-family: var(--font-body) !important;
  background: var(--card) !important;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55) !important;
  margin-top: 2px;
}

.pac-item {
  color: var(--text) !important;
  border-top: 1px solid var(--border);
  padding: 10px 12px !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover,
.pac-item-selected,
.pac-item-query {
  background: rgba(184, 150, 62, 0.12) !important;
}

.pac-icon {
  margin-right: 8px;
}

.pac-matched {
  font-weight: 600;
  color: var(--gold2) !important;
}

.qb-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 52px;
}

.qb-submit-btn:hover {
  background: var(--gold2);
}

.qb-submit-btn:active {
  transform: scale(0.98);
}
