/* Tasting booking form. The native date field only opens its calendar from
   the small icon; the indicator is stretched over the whole control so any
   click opens it. */

#wineBookingForm .form-group {
  margin-bottom: 12px;
}

#wineBookingForm input,
#wineBookingForm select,
#wineBookingForm textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid #eadfd6;
  border-radius: 12px;
  background: #fff;
  color: #231a17;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}

#wineBookingForm textarea {
  min-height: 96px;
  resize: vertical;
}

#wineBookingForm input:focus,
#wineBookingForm select:focus,
#wineBookingForm textarea:focus {
  outline: none;
  border-color: #7b1e2b;
  box-shadow: 0 0 0 3px rgba(123, 30, 43, .15);
}

#wineBookingForm label {
  display: block;
  margin-bottom: 6px;
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
}

#wineBookingForm input[type="date"] {
  position: relative;
  cursor: pointer;
  min-height: 52px;
}

#wineBookingForm input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

#wineBookingForm .bk-people {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 6px 8px 6px 16px;
  border: 1px solid #eadfd6;
  border-radius: 12px;
  background: #fff;
}

#wineBookingForm .bk-people__label {
  flex: 1;
  min-width: 0;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #6f625c;
}

#wineBookingForm .bk-people__controls {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: #f6efe9;
}

#wineBookingForm .bk-people__btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #7b1e2b;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(35, 26, 23, .08);
}

#wineBookingForm .bk-people__btn:hover:not(:disabled) {
  background: #7b1e2b;
  color: #fff;
}

#wineBookingForm .bk-people__btn:disabled {
  opacity: .35;
  cursor: default;
}

#wineBookingForm .bk-people__input {
  width: 2.2rem;
  min-width: 2.2rem;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #231a17;
  -moz-appearance: textfield;
  appearance: textfield;
}

#wineBookingForm .bk-people__input:focus {
  border: 0;
  box-shadow: none;
}

#wineBookingForm .bk-people__input::-webkit-outer-spin-button,
#wineBookingForm .bk-people__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#wineBookingForm .btn-primary {
  width: 100%;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
