/*
 * Flatpickr time popup, coloured to match the cream and green booking form.
 * The field itself stays a normal input with a small clock on the right.
 */

input[data-tib-time24],
input[data-time24] {
  cursor: pointer;
  background-color: #fafaf7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.2' fill='none' stroke='%23294023' stroke-width='1.4'/%3E%3Cpath d='M8 4.6V8l2.2 1.4' fill='none' stroke='%23294023' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}

.tib-field input[data-tib-time24]:focus,
.tbf-field input[data-time24]:focus,
.res-field input[data-time24]:focus {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.2' fill='none' stroke='%23294023' stroke-width='1.4'/%3E%3Cpath d='M8 4.6V8l2.2 1.4' fill='none' stroke='%23294023' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 16px;
}

.flatpickr-calendar {
  font-family: Inter, sans-serif;
  border: 1px solid #e4e0d5;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(35, 62, 45, .14);
}

.flatpickr-calendar.noCalendar {
  width: 220px;
  padding: 4px 16px 14px;
}

.time24-note {
  text-align: center;
  color: #7d8a72;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .7rem .4rem .15rem;
}

.flatpickr-time {
  height: 64px;
  max-height: 64px;
  line-height: 64px;
  border-top: 0;
}

.flatpickr-time .numInputWrapper {
  height: 64px;
}

.flatpickr-time input.flatpickr-hour,
.flatpickr-time input.flatpickr-minute {
  font-family: Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #233e2d;
}

.flatpickr-time .flatpickr-time-separator {
  color: #233e2d;
  font-weight: 700;
}

.flatpickr-time input:hover,
.flatpickr-time input:focus,
.flatpickr-time .numInputWrapper:hover {
  background: #f4f1ea;
}

.flatpickr-time .numInputWrapper span.arrowUp,
.flatpickr-time .numInputWrapper span.arrowDown {
  width: 18px;
  opacity: 1;
}

.flatpickr-time .numInputWrapper span.arrowUp:after {
  border-bottom-color: #294023;
  border-bottom-width: 6px;
  border-left-width: 5px;
  border-right-width: 5px;
}

.flatpickr-time .numInputWrapper span.arrowDown:after {
  border-top-color: #294023;
  border-top-width: 6px;
  border-left-width: 5px;
  border-right-width: 5px;
}
