/* Customer calendar follows the landing page's navy and teal palette. */
.cs-picker.cs-order-picker {
  --picker-bg: #fff;
  --picker-text: #091b42;
  --picker-muted: #364a76;
  --picker-border: #ebeff7;
  --picker-hover: #ddfdf7;
  --picker-accent: #1ecaab;
  z-index: 10000;
}
.cs-picker.cs-order-picker .flatpickr-day.selected { color: #091b42; }
.cs-picker.cs-order-picker .flatpickr-day.flatpickr-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: transparent;
  border-color: transparent;
}
#order-details-date-display {
  padding-right: 2.75rem;
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23364a76' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E");
}
.order-time-slot { position: relative; cursor: pointer; }
.order-time-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.order-time-slot span {
  display: block;
  border: 1px solid #ebeff7;
  border-radius: 12px;
  padding: 10px 12px;
  color: #091b42;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 150ms, background-color 150ms;
}
.order-time-slot small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: #364a76; }
.order-time-slot:hover span { border-color: #1ecaab; }
.order-time-slot input:checked + span { border-color: #1ecaab; background: #ddfdf7; }
.order-time-slot input:focus-visible + span { outline: 2px solid #3472f6; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .order-time-slot span { transition: none; }
}
/* Flatpickr popovers use the planner's blue accent and follow the admin theme. */
.cs-picker {
  --picker-bg: #fff;
  --picker-text: #111827;
  --picker-muted: #6b7280;
  --picker-border: #e5e7eb;
  --picker-hover: #eff6ff;
  --picker-accent: #2563eb;
  background: var(--picker-bg);
  color: var(--picker-text);
  border: 1px solid var(--picker-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 16%);
  font-family: inherit;
  padding: 8px;
  width: min(325px, calc(100vw - 16px));
}
.dark .cs-picker {
  --picker-bg: #1f2937;
  --picker-text: #f3f4f6;
  --picker-muted: #9ca3af;
  --picker-border: #374151;
  --picker-hover: #374151;
  --picker-accent: #3b82f6;
}
.cs-picker::before, .cs-picker::after { display: none; }
.cs-picker .flatpickr-rContainer, .cs-picker .flatpickr-days { width: 100%; }
.cs-picker .dayContainer { width: 100%; min-width: 0; max-width: none; }
.cs-picker .flatpickr-months .flatpickr-month,
.cs-picker .flatpickr-current-month .flatpickr-monthDropdown-months,
.cs-picker .flatpickr-current-month input.cur-year {
  background: var(--picker-bg);
  color: var(--picker-text);
  fill: var(--picker-text);
}
.cs-picker .flatpickr-months .flatpickr-prev-month,
.cs-picker .flatpickr-months .flatpickr-next-month { top: 8px; color: var(--picker-text); fill: var(--picker-text); }
.cs-picker .flatpickr-months .flatpickr-prev-month:hover svg,
.cs-picker .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--picker-accent); }
.cs-picker .flatpickr-current-month .flatpickr-monthDropdown-months { border-radius: 6px; font-size: 15px; }
.cs-picker .flatpickr-current-month input.cur-year { font-size: 15px; }
.cs-picker span.flatpickr-weekday { color: var(--picker-muted); font-weight: 500; }
.cs-picker .flatpickr-day { color: var(--picker-text); border-radius: 8px; }
.cs-picker .flatpickr-day.prevMonthDay,
.cs-picker .flatpickr-day.nextMonthDay,
.cs-picker .flatpickr-day.flatpickr-disabled { color: var(--picker-muted); }
.cs-picker .flatpickr-day:hover, .cs-picker .flatpickr-day:focus {
  background: var(--picker-hover);
  border-color: var(--picker-hover);
}
.cs-picker .flatpickr-day.today { border-color: var(--picker-accent); }
.cs-picker .flatpickr-day.selected,
.cs-picker .flatpickr-day.selected:hover,
.cs-picker .flatpickr-day.selected:focus { background: var(--picker-accent); border-color: var(--picker-accent); color: #fff; }
.cs-picker.hasTime .flatpickr-time { border-color: var(--picker-border); }
.cs-picker.noCalendar { width: 220px; }
.cs-picker .flatpickr-time { max-height: 56px; height: 56px; }
.cs-picker .flatpickr-time .numInputWrapper { height: 56px; border-radius: 8px; }
.cs-picker .flatpickr-time input { color: var(--picker-text); font-size: 22px; font-variant-numeric: tabular-nums; }
.cs-picker .flatpickr-time .flatpickr-time-separator { color: var(--picker-muted); line-height: 56px; }
.cs-picker .numInputWrapper:hover,
.cs-picker .flatpickr-time input:hover,
.cs-picker .flatpickr-time input:focus { background: var(--picker-hover); }
.cs-picker .numInputWrapper span { border-color: var(--picker-border); }
.cs-picker .numInputWrapper span.arrowUp::after { border-bottom-color: var(--picker-muted); }
.cs-picker .numInputWrapper span.arrowDown::after { border-top-color: var(--picker-muted); }
.cs-picker :is(input, select, .flatpickr-day):focus-visible { outline: 2px solid var(--picker-accent); outline-offset: -2px; }

#planner .cs-date-input, #planner .cs-time-input {
  padding-right: 2.25rem;
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 1rem;
  font-variant-numeric: tabular-nums;
}
#planner .cs-date-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E");
}
#planner .cs-time-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}
@media (max-width: 374px) {
  #planner .cs-time-input { padding-right: 0.5rem; background-image: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-picker.animate.open { animation: none; }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
