
:root {
  --bg-time-off: #d5d7da;
  --quantity-hour: 0;
  --w-hour: var(--px-60);
  --min-width: var(--px-200);
  --min-width-salon: calc(var(--min-width) * 1);
  --height-row: var(--px-28);
  --min-font-size: var(--px-12);
  --max-font-size: var(--px-16);
  --mg-scale: calc(var(--px-12) * -1);
  --height-row-hour: calc(var(--height-row) * 4);
  --tix-unConfirm: #9d85ff;
  --color-default: var(--bs-main);
}

.booking-page-body {
  width: 100%;
  height: 100%;
  display: grid;
  padding-top: 2px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-body-main);
  grid-template-rows: var(--px-60) 1fr;
  grid-template-columns: var(--px-240) 1fr var(--px-56);
}

.booking-page-body #create-booking-button-tracking {
  z-index: 12;
  width: 100%;
  height: 100%;
  position: absolute;
  max-width: var(--px-260);
  background: var(--bg-body-main);
}

.booking-page-body #btn-create-booking {
  width: auto;
  position: relative;
  top: var(--px-6);
  left: var(--px-6);
  transition: all 0.4s ease 0s;
  height: var(--px-60);
  padding: var(--px-12);
  border-radius: var(--px-16);
  box-shadow: var(--shadow-1);
}

.booking-page-body .booking-action-area {
  z-index: 14;
  display: flex;
  overflow: hidden;
  transition: width 0.4s ease 0s;
  max-width: var(--px-280);
  height: 100%;
  flex-direction: column;
  background: inherit;
}

.booking-page-body .booking-action-area::after {
  right: 0px;
  width: 1px;
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
}

.booking-page-body .booking-action-area #create-booking-button-tracking {
  display: flex;
  align-items: center;
  height: var(--px-80);
  padding: var(--px-12);
  justify-content: flex-start;
}

.booking-page-body[sidecalendar="closed"] #btn-create-booking {
  border-radius: 100%;
  min-width: var(--px-60);
  max-width: var(--px-60);
}

.booking-page-body[sidecalendar="closed"] #btn-create-booking span {
  display: none;
}

.booking-page-body .btn-navigation-calendar {
  bottom: 6px;
  right: var(--px-80);
  z-index: 12;
  opacity: 0.4;
  display: flex;
  position: absolute;
  align-items: center;
  width: var(--px-60);
  height: var(--px-60);
  justify-content: center;
  box-shadow: var(--shadow-5);
  border-radius: var(--px-60);
  background: var(--bs-white);
  color: var(--bs-text);
}

.booking-page-body .btn-navigation-calendar:hover {
  opacity: 1;
}

.booking-page-body .btn-navigation-calendar i {
  font-size: var(--px-20);
}

.booking-page-body[sidecalendar="closed"] .booking-action-area,
.booking-page-body.create-appointment .booking-action-area {
  width: 0;
  display: none;
}

.booking-page-body[sidecalendar="closed"] .booking-calendar-area,
.booking-page-body.create-appointment .booking-calendar-area {
  grid-column: 1 / 3;
}

.booking-page-body[sidecalendar="closed"] .btn-action-form-calendar,
.booking-page-body.create-appointment .btn-action-form-calendar {
}

.booking-page-body[sidecalendar="closed"] .btn-action-form-calendar .fa-chevron-left,
.booking-page-body.create-appointment .btn-action-form-calendar .fa-chevron-left {
  transform: rotate(180deg);
}

.booking-page-body .booking-calendar-area {
  display: flex;
  overflow: auto;
  position: relative;
  flex-direction: column;
  max-height: calc(100% - var(--px-8));
  touch-action: manipulation;
  background: var(--bs-surface-bg);
  border-radius: 20px;
  border: 1px solid var(--bs-border-calendar);
}

.booking-page-body .booking-calendar-area::-webkit-scrollbar {
}

.booking-page-body .booking-calendar-area::-webkit-scrollbar-thumb {
}

.booking-page-body .booking-calendar-area.scrollable-content.touch-scrolling {
  transition-duration: 0ms;
}

.booking-page-body .booking-calendar-area .area-hours-view {
  top: 0;
  z-index: 8;
  width: 100%;
  display: flex;
  text-align: end;
  position: sticky;
  flex-direction: row;
  align-items: flex-start;
  min-height: var(--px-88);
  max-height: var(--px-88);
  color: var(--bs-text);
  font: normal normal 700 var(--s-13);
  /* backdrop-filter: blur(12px); */
  background: var(--bs-surface-bg);
}

.booking-page-body .booking-calendar-area .header-hours {
  top: 0;
  left: 0px;
  z-index: 3;
  display: flex;
  position: sticky;
  align-items: center;
  flex-direction: column;
  min-width: var(--w-hour);
  max-width: var(--w-hour);
  min-height: var(--px-88);
  justify-content: flex-end;
  background: var(--bs-surface-bg);
  border-bottom: 1px solid var(--pos-calendar-grid, var(--bs-border-strong));
  border-right: 1px solid var(--pos-calendar-grid, var(--bs-border-color));
}

.booking-page-body .booking-calendar-area .list-hour-view {
  top: 0px;
  left: 0px;
  z-index: 2;
  display: flex;
  position: sticky;
  flex-direction: column;
  min-width: var(--w-hour);
  max-width: var(--w-hour);
  background: var(--bs-surface-bg);
  border-right: 1px solid var(--pos-calendar-grid, var(--bs-border-calendar));
}

.booking-page-body .booking-calendar-area .list-hour-view .item-hour {
  display: flex;
  flex-flow: column;
  position: relative;
  background: inherit;
  justify-content: flex-end;
  min-height: var(--height-row-hour);
  max-height: var(--height-row-hour);
  border-bottom: 1px solid var(--pos-calendar-grid, var(--bs-border-color));
  flex-direction: column;
  align-items: center;
}

.booking-page-body .booking-calendar-area .list-hour-view .item-hour p.time {
  z-index: 3;
  width: calc(100% - var(--px-12));
  height: var(--px-20);
  display: flex;
  white-space: nowrap;
  align-items: center;
  padding-left: var(--px-20);
  color: var(--bs-text);
  font: normal normal 603 var(--s-10);
  background: inherit;
  position: relative;
  top: var(--px-8);
  left: -8px;
}

.booking-page-body .booking-calendar-area .list-hour-view .item-hour[time="0:00 AM"] {
  display: none;
}

.booking-page-body .booking-calendar-area .list-hour-view .item-hour p.quantity-appt {
  z-index: 3;
  display: flex;
  overflow: hidden;
  align-items: center;
  width: var(--px-20);
  height: var(--px-20);
  justify-content: center;
  background: #ffe8f4;
  border-radius: var(--px-20);
  color: var(--bs-pink);
  font: normal normal 700 var(--s-12);
  position: relative;
  bottom: calc(-1 * var(--px-28));
  position: absolute;
}

.booking-page-body .booking-calendar-area .header-hours.gmt span {
  white-space: nowrap;
  color: var(--bs-main-600);
  font: normal normal 600 var(--s-10);
  display: flex;
  background: inherit;
  height: var(--px-24);
}

.booking-page-body .booking-calendar-area .area-calendar-view {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.booking-page-body .booking-calendar-area .header-calendar-view {
  z-index: 1;
  width: 100%;
  display: flex;
  position: sticky;
  flex-direction: row;
  min-height: 100%;
  background: inherit;
  border-bottom: 1px solid var(--pos-calendar-grid, var(--bs-border-strong));
}

.booking-page-body .booking-calendar-area .header-calendar-view .item-day {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-evenly;
  color: var(--bs-text);
  font: normal normal 600 var(--s-12);
}

.booking-page-body .booking-calendar-area .header-calendar-view .item-day .day {
  display: flex;
  cursor: pointer;
  width: var(--px-44);
  border-radius: 100%;
  align-items: center;
  height: var(--px-44);
  justify-content: center;
  font: normal normal 600 var(--s-26);
}

.booking-page-body .booking-calendar-area .header-calendar-view .item-day .day:hover {
  background: var(--bs-surface-bg);
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column {
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: inherit;
  color: var(--bs-text);
  font: normal normal 600 var(--s-12);
  min-width: var(--min-width);
  max-width: var(--min-width);
  border-right: 1px solid var(--pos-calendar-grid, var(--bs-border-color));
  gap: 4px;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.scale-80 div,
.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.scale-80 p {
  transform: scale(0.8);
}

.booking-page-body
  .booking-calendar-area
  .header-calendar-view
  .ui-tech-column.add-blocked-time::after {
  top: 0px;
  left: 0px;
  z-index: -2;
  content: "";
  width: 100%;
  height: 100vh;
  position: absolute;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.094);
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.noScroll {
  z-index: 2;
  position: sticky;
  left: calc(var(--min-width) + var(--w-hour)) !important;
  background: var(--bs-surface-bg);
}

.booking-page-body
  .booking-calendar-area
  .header-calendar-view
  .ui-tech-column.noScroll:first-of-type {
  z-index: 2;
  position: sticky;
  left: var(--w-hour) !important;
}

.booking-page-body
  .booking-calendar-area
  .header-calendar-view
  .ui-tech-column.noScroll[index="1"] {
  min-width: var(--min-width-salon);
  max-width: var(--min-width-salon);
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .photo {
  display: flex;
  cursor: pointer;
  position: relative;
  align-items: center;
  width: var(--px-48);
  height: var(--px-48);
  justify-content: center;
  text-transform: uppercase;
  color: var(--bs-text);
  border-radius: var(--px-60);
  border: 4px solid var(--bs-surface-bg);
  font: normal normal 600 var(--s-22);
  background: transparent;
  backdrop-filter: blur(4px);
}

/* Ticket count: quiet chip beside the name (no longer overlapping the avatar/name) */
.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: calc(100% - 12px);
  margin: 0;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .name .name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .name .quantity-appt {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 999px;
  background: rgba(23, 33, 29, 0.06);
  color: #4d5852;
  font: 600 10.5px/1 "Sora", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .name .quantity-appt {
  background: color-mix(in srgb, var(--lane-hue) 12%, var(--bs-surface-bg));
  color: color-mix(in srgb, var(--lane-hue) 70%, #17211d);
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .photo img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.noScroll .photo {
  color: var(--bs-main-900);
  outline: unset !important;
  box-shadow: unset;
  border: 0;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .name {
  text-align: center;
  font: normal normal 600 var(--s-13);
  color: var(--bs-text);
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column:not(.noScroll, .lane) {
  box-sizing: border-box;
  height: 88px;
  min-height: 88px;
  max-height: 88px;
  gap: 6px;
  padding: 8px 4px;
  overflow: hidden;
  background: var(--bs-surface-bg, #fff);
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.scale-80 :is(.tech-avatar, .name) {
  transform: none;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-busy-fill {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  display: block;
  height: var(--tech-busy-fill, 22%);
  overflow: hidden;
  opacity: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--tech-busy-color, var(--pos-accent, rgb(84, 110, 160))) 18%, transparent) 0%,
    color-mix(in srgb, var(--tech-busy-color, var(--pos-accent, rgb(84, 110, 160))) 10%, transparent) 60%,
    color-mix(in srgb, var(--tech-busy-color, var(--pos-accent, rgb(84, 110, 160))) 4%, transparent) 100%
  );
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--tech-busy-color, var(--pos-accent, rgb(84, 110, 160))) 48%, transparent);
  pointer-events: none;
  transition: height 250ms cubic-bezier(.23, 1, .32, 1), opacity 250ms cubic-bezier(.23, 1, .32, 1);
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-busy-fill[hidden] {
  display: none;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.tech-is-busy {
  --tech-busy-color: var(--pos-accent, rgb(84, 110, 160));
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.tech-is-busy .tech-busy-fill {
  opacity: 1;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-wave {
  position: absolute;
  top: -3px;
  left: 0;
  display: flex;
  width: 240px;
  height: 6px;
  color: color-mix(in srgb, var(--tech-busy-color, var(--pos-accent, rgb(84, 110, 160))) 50%, transparent);
  animation: tech-header-wave 6s linear infinite;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-wave svg {
  flex: none;
  width: 120px;
  height: 6px;
  overflow: visible;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-wave path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1px;
  stroke-linecap: round;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-bubble {
  position: absolute;
  top: 94%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tech-busy-color, var(--pos-accent, rgb(84, 110, 160))) 32%, transparent);
  opacity: 0;
  animation: tech-header-bubble 5.8s ease-in-out infinite;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-bubble:nth-of-type(1) { left: 24%; }
.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-bubble:nth-of-type(2) { left: 52%; animation-delay: 2.1s; }
.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-bubble:nth-of-type(3) { left: 76%; animation-delay: 3.7s; }

@keyframes tech-header-wave {
  to { transform: translateX(-120px); }
}

@keyframes tech-header-bubble {
  0% { top: 94%; opacity: 0; }
  15% { opacity: .85; }
  80% { opacity: .6; }
  100% { top: 6%; opacity: 0; }
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .photo.tech-avatar {
  flex: none;
  width: 42px;
  height: 42px;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  backdrop-filter: none;
  z-index: 1;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-avatar-ring {
  position: absolute;
  inset: 0;
  width: 42px;
  height: 42px;
  overflow: visible;
  fill: none;
  color: var(--tech-color, var(--bs-main));
  pointer-events: none;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-avatar-ring circle {
  stroke: currentColor;
  stroke-width: 1.75px;
  opacity: .6;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .photo.tech-avatar img,
.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-avatar-initial {
  position: absolute;
  inset: 4px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-avatar-initial {
  background: color-mix(in srgb, var(--tech-color, var(--bs-main)) 8%, var(--bs-surface-bg, #fff));
  color: color-mix(in srgb, var(--tech-color, var(--bs-main)) 72%, #17211d);
  font: 700 15px/1 "Sora", system-ui, sans-serif;
  text-transform: uppercase;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .photo.tech-avatar img:not(.dis-none) ~ .tech-avatar-initial,
.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .photo.tech-avatar:has(img:not(.dis-none)) .tech-avatar-initial {
  display: none;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-countdown {
  position: absolute;
  left: 50%;
  bottom: -6px;
  z-index: 2;
  padding: 3px 7px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tech-busy-color, var(--pos-accent, #167D8D)) 45%, #000);
  color: #fff;
  font: 700 9px/1 "Sora", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 1px 3px rgba(23, 33, 29, .22);
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.tech-is-overdue :is(.tech-wave, .tech-bubble) {
  display: none;
  animation: none;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .name {
  position: relative;
  z-index: 1;
  flex: none;
  gap: 6px;
  max-width: calc(100% - 8px);
  font: 600 12.5px/16px "Sora", system-ui, sans-serif;
  color: var(--bs-text);
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .name .quantity-appt {
  min-width: 0;
  height: auto;
  padding: 1px 6px;
  border: 1px solid color-mix(in srgb, var(--bs-text) 6%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: #667085;
  font: 600 10px/1 "Sora", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-status-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (prefers-reduced-motion: reduce) {
  .booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-wave,
  .booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column .tech-bubble {
    display: none;
    animation: none;
  }
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .working-slot {
  flex: 1 1 0%;
  width: 100%;
  display: flex;
  position: absolute;
  min-width: var(--min-width);
  background: var(--bs-surface-bg);
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar {
  flex: 1 1 0%;
  z-index: 3;
  display: flex;
  background-size: 8px 8px;
  max-width: var(--min-width);
  min-width: var(--min-width);
  border-right: 1px solid var(--pos-calendar-grid, var(--bs-border-calendar));
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar.noScroll {
  z-index: 9;
  position: sticky;
  background-image: var(--cal-hatch);
  background-size: 10px 10px;
  min-height: calc(var(--height-row) * var(--quantity-hour));
  max-height: calc(var(--height-row) * var(--quantity-hour));
  background-color: var(--cal-off-bg);
}

.booking-page-body
  .booking-calendar-area
  .calendar-view-column-parent
  .col-calendar.online-booking {
  left: var(--w-hour) !important;
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar.salon {
  left: calc(var(--w-hour) + var(--min-width)) !important;
  min-width: var(--min-width-salon);
  max-width: var(--min-width-salon);
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar .working-slot {
  background: #fff9f3;
  border-right: 1px solid var(--pos-calendar-grid, var(--bs-border-calendar));
}

/* Unassigned lanes (Booking Online / Salon Appt): dashed "empty seat" avatar + a soft per-lane pastel tint */
.booking-page-body .booking-calendar-area .lane {
  --lane-hue: #6d63ff;
}

.booking-page-body .booking-calendar-area .lane-salon {
  --lane-hue: #ff8040;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.noScroll.lane {
  gap: 3px;
  --lane-bg: color-mix(in srgb, var(--lane-hue) 6%, var(--bs-surface-bg));
  background: var(--lane-bg);
  cursor: default;
  transition:
    box-shadow 0.2s ease,
    background-color 0.15s ease;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .photo.lane-avatar {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  backdrop-filter: none;
  cursor: inherit;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .lane-avatar .lane-glyph {
  flex: none;
  width: 26px;
  height: 26px;
}

/* Front figure gets a background-colored outline so it separates cleanly from the ghost behind it */
.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .lane-glyph .lane-cut {
  stroke: var(--lane-bg);
  stroke-width: 2.4;
  paint-order: stroke;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .lane-caption {
  margin: 0;
  color: #8a948f;
  font: 500 10px/13px "Sora", system-ui, sans-serif;
  white-space: nowrap;
}

/* Open tickets waiting: caption gets a dot and the header jumps to them on click */
.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.noScroll.lane.lane-attn {
  cursor: pointer;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.noScroll.lane.lane-attn:hover {
  --lane-bg: color-mix(in srgb, var(--lane-hue) 11%, var(--bs-surface-bg));
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane.lane-attn .lane-caption {
  color: var(--bs-text);
  font-weight: 600;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane.lane-attn .lane-caption::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--lane-hue);
  vertical-align: 1px;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane:focus-visible {
  outline: 2px solid var(--bs-main);
  outline-offset: -3px;
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar.lane .working-slot {
  background: color-mix(in srgb, var(--lane-hue) 4%, var(--bs-surface-bg));
}

/* Empty lane: quiet note pinned under the header while scrolling */
.booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar.lane .lane-empty {
  position: sticky;
  top: 112px;
  z-index: 2;
  align-self: flex-start;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  width: calc(100% - 16px);
  margin: 20px auto 0;
  color: color-mix(in srgb, var(--lane-hue) 45%, #9aa39e);
  font: 500 10.5px/14px "Sora", system-ui, sans-serif;
  text-align: center;
  pointer-events: none;
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar.lane.is-empty .lane-empty {
  display: flex;
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar.lane .lane-empty .tix-ico {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

/* Lane fold toggle (Booking Online / Salon Appt) */
.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .lane-toggle {
  display: inline-flex;
  position: absolute;
  top: 6px;
  right: 6px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--bs-border-color);
  border-radius: 6px;
  background: var(--bs-surface-bg);
  color: #5f6b65;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .lane-toggle:hover {
  color: var(--bs-text);
  border-color: var(--bs-gray-400);
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .lane-toggle:focus-visible {
  outline: 2px solid var(--bs-main);
  outline-offset: 1px;
}

.booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .lane-toggle .tix-ico {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

/* Folded lane: a slim strip (glyph, ticket count, expand chevron); later columns move left */
.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.noScroll.lane-online,
.booking-page-body .booking-calendar-area.online-collapsed .calendar-view-column-parent .col-calendar.lane-online,
.booking-page-body .booking-calendar-area.salon-collapsed .header-calendar-view .ui-tech-column.noScroll.lane-salon,
.booking-page-body .booking-calendar-area.salon-collapsed .calendar-view-column-parent .col-calendar.lane-salon {
  min-width: var(--lane-mini);
  max-width: var(--lane-mini);
  cursor: pointer;
}

.booking-page-body .booking-calendar-area.online-collapsed .calendar-view-column-parent .col-calendar.lane-online .working-slot,
.booking-page-body .booking-calendar-area.salon-collapsed .calendar-view-column-parent .col-calendar.lane-salon .working-slot {
  min-width: var(--lane-mini) !important;
  max-width: var(--lane-mini) !important;
}

.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.noScroll.lane-salon,
.booking-page-body .booking-calendar-area.online-collapsed .calendar-view-column-parent .col-calendar.lane-salon {
  left: calc(var(--w-hour) + var(--lane-mini)) !important;
}

/* Booking Online lane turned off in View options: removed entirely, Salon Appt pins to the hour rail */
.booking-page-body #calendar-view-area.online-hidden .header-calendar-view .ui-tech-column.lane-online,
.booking-page-body #calendar-view-area.online-hidden .calendar-view-column-parent .col-calendar.lane-online,
.booking-page-body #calendar-view-area.online-hidden .general-tix-bar .box-tix-appt-book[empid="-1"] {
  display: none !important;
}

.booking-page-body #calendar-view-area.online-hidden .header-calendar-view .ui-tech-column.noScroll.lane-salon,
.booking-page-body #calendar-view-area.online-hidden .calendar-view-column-parent .col-calendar.lane-salon {
  left: var(--w-hour) !important;
}

/* Tickets of a folded lane stay counted in its header but are not drawn */
.booking-page-body .booking-calendar-area.online-collapsed .general-tix-bar .box-tix-appt-book[keycolumn="-1"],
.booking-page-body .booking-calendar-area.salon-collapsed .general-tix-bar .box-tix-appt-book[keycolumn="0"] {
  display: none !important;
}

.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.noScroll.lane-online,
.booking-page-body .booking-calendar-area.salon-collapsed .header-calendar-view .ui-tech-column.noScroll.lane-salon {
  gap: 4px;
}

.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.noScroll.lane-online:hover,
.booking-page-body .booking-calendar-area.salon-collapsed .header-calendar-view .ui-tech-column.noScroll.lane-salon:hover {
  --lane-bg: color-mix(in srgb, var(--lane-hue) 11%, var(--bs-surface-bg));
}

.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.lane-online .photo.lane-avatar,
.booking-page-body .booking-calendar-area.salon-collapsed .header-calendar-view .ui-tech-column.lane-salon .photo.lane-avatar {
  width: 28px;
  height: 28px;
}

.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.lane-online .lane-avatar .lane-glyph,
.booking-page-body .booking-calendar-area.salon-collapsed .header-calendar-view .ui-tech-column.lane-salon .lane-avatar .lane-glyph {
  width: 22px;
  height: 22px;
}

.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.lane-online .name,
.booking-page-body .booking-calendar-area.salon-collapsed .header-calendar-view .ui-tech-column.lane-salon .name {
  max-width: 100%;
  /* Count slot is reserved even when empty so both folded strips line up */
  height: 18px;
  min-height: 18px;
}

.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.lane-online .name-text,
.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.lane-online .lane-caption,
.booking-page-body .booking-calendar-area.online-collapsed .calendar-view-column-parent .col-calendar.lane-online .lane-empty,
.booking-page-body .booking-calendar-area.salon-collapsed .header-calendar-view .ui-tech-column.lane-salon .name-text,
.booking-page-body .booking-calendar-area.salon-collapsed .header-calendar-view .ui-tech-column.lane-salon .lane-caption,
.booking-page-body .booking-calendar-area.salon-collapsed .calendar-view-column-parent .col-calendar.lane-salon .lane-empty {
  display: none !important;
}

.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.lane-online .lane-toggle,
.booking-page-body .booking-calendar-area.salon-collapsed .header-calendar-view .ui-tech-column.lane-salon .lane-toggle {
  position: relative;
  top: auto;
  right: auto;
}

.booking-page-body .booking-calendar-area.online-collapsed .header-calendar-view .ui-tech-column.lane-online .lane-toggle .tix-ico,
.booking-page-body .booking-calendar-area.salon-collapsed .header-calendar-view .ui-tech-column.lane-salon .lane-toggle .tix-ico {
  transform: none;
}

/* Touch screens: bigger chevron plus an invisible ~38px hit area */
@media (pointer: coarse) {
  .booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .lane-toggle {
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .lane-toggle::before {
    content: "";
    position: absolute;
    inset: -6px;
  }

  .booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.lane .lane-toggle .tix-ico {
    width: 16px;
    height: 16px;
  }
}

/* The booking drawer needs the same unobstructed scroll band as phones. */
.booking-page-body.create-appointment .booking-calendar-area .header-calendar-view .ui-tech-column.noScroll.lane,
.booking-page-body.create-appointment .booking-calendar-area .calendar-view-column-parent .col-calendar.noScroll.lane,
.booking-page-body.create-appointment .booking-calendar-area .general-tix-bar.noScroll {
  position: relative;
  left: 0 !important;
}

.booking-page-body #calendar-view-area.booking-tech-mode .header-calendar-view .ui-tech-column.lane,
.booking-page-body #calendar-view-area.booking-tech-mode .calendar-view-column-parent .col-calendar.lane,
.booking-page-body #calendar-view-area.booking-tech-mode .general-tix-bar .box-tix-appt-book[empid="-1"],
.booking-page-body #calendar-view-area.booking-tech-mode .general-tix-bar .box-tix-appt-book[empid="0"] {
  display: none !important;
}

/* Phones: pinned lanes would eat most of the viewport, so they scroll away with the tech columns */
@media (max-width: 768px) {
  .booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.noScroll.lane,
  .booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar.noScroll.lane,
  .booking-page-body .booking-calendar-area .general-tix-bar.noScroll {
    position: relative;
    left: 0 !important;
  }

  .booking-page-body .booking-calendar-area.lanes-scrolled .header-calendar-view .ui-tech-column.noScroll.lane,
  .booking-page-body .booking-calendar-area.lanes-scrolled .calendar-view-column-parent .col-calendar.salon {
    box-shadow: none;
  }
}

.booking-page-body .box-tix-appt-book.lane-flash {
  animation: lane-flash 1.8s ease-out;
}

@keyframes lane-flash {
  0%,
  35% {
    outline: 2px solid var(--bs-main);
    outline-offset: 2px;
  }
  100% {
    outline: 2px solid transparent;
    outline-offset: 6px;
  }
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar.salon {
  transition: box-shadow 0.2s ease;
}

.booking-page-body
  .booking-calendar-area.lanes-scrolled
  .header-calendar-view
  .ui-tech-column.noScroll[index="1"],
.booking-page-body .booking-calendar-area.lanes-scrolled .calendar-view-column-parent .col-calendar.salon {
  box-shadow: 10px 0 14px -10px rgba(23, 33, 29, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .booking-page-body .booking-calendar-area .header-calendar-view .ui-tech-column.noScroll.lane,
  .booking-page-body .booking-calendar-area .calendar-view-column-parent .col-calendar.salon {
    transition: none;
  }

  .booking-page-body .box-tix-appt-book.lane-flash {
    animation: none;
  }
}

.booking-page-body
  .booking-calendar-area
  .calendar-view-column-parent
  .col-calendar
  .working-slot[idx="1"] {
  min-width: var(--min-width-salon) !important;
  max-width: var(--min-width-salon) !important;
}

.booking-page-body
  .booking-calendar-area
  .calendar-view-column-parent
  .col-calendar
  .calendar-view-row,
.booking-page-body
  .booking-calendar-area
  .calendar-view-column-parent
  .col-calendar
  .calendar-view-row-hours {
  left: 0px;
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent {
  z-index: 0;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  /* Unavailable hours; SVG tile keeps diagonals anti-aliased (gradient hard stops look jagged) */
  --cal-off-bg: #f6f7f5;
  --cal-hatch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M-1 1l2-2M0 10L10 0M9 11l2-2' stroke='%2317211d' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E");
  background-image: var(--cal-hatch);
  background-size: 10px 10px;
  min-height: calc(var(--height-row) * var(--quantity-hour));
  max-height: calc(var(--height-row) * var(--quantity-hour));
  background-color: var(--cal-off-bg);
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .calendar-view-row {
  top: 0px;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: absolute;
  left: 0px;
  line-height: var(--height-row);
  background-size:
    var(--height-row) var(--height-row),
    14.2857143% 14.2857143%,
    100% 100%;
  background-image: linear-gradient(0deg, var(--pos-calendar-grid-subtle, var(--bs-border-color)) 0 1px, transparent 1px);
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .calendar-view-column {
  display: flex;
  width: 100%;
  height: inherit;
  position: relative;
}

.booking-page-body
  .booking-calendar-area
  .calendar-view-column-parent
  .calendar-view-column.weekView {
  grid-template-columns: repeat(7, 1fr);
  background-size: calc(14.2857%), 0%, 100%;
}

.booking-page-body
  .booking-calendar-area
  .calendar-view-column-parent
  .calendar-view-column.dayView {
  background-size: calc(100% / var(--quantity-tech)), 0%, 100%;
  grid-template-columns: repeat(var(--quantity-tech), minmax(var(--min-width), 1fr));
}

.booking-page-body .booking-calendar-area .calendar-view-column-parent .calendar-view-row-hours {
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  position: absolute;
  background-size:
    var(--height-row-hour) var(--height-row-hour),
    14.2857143% 14.2857143%,
    100% 100%;
  min-height: 100%;
  line-height: var(--height-row-hour);
  z-index: 1;
  background-image: linear-gradient(
    0deg,
    var(--pos-calendar-grid, var(--bs-border-calendar)) 0 1px,
    transparent 1px
  );
}

.booking-page-body
  .booking-calendar-area
  .calendar-view-column-parent
  .calendar-view-row-hours::after {
  position: absolute;
  content: "";
  top: 0px;
  width: calc(100%);
  height: 1px;
  background: var(--bs-border-strong);
}

.booking-page-body
  .booking-calendar-area
  .calendar-view-column-parent
  .calendar-area-show-all-time {
  inset: 0px;
  z-index: 7;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  flex-direction: column;
}

.booking-page-body
  .booking-calendar-area
  .calendar-view-column-parent
  .calendar-area-show-all-time
  .time-slot {
  width: 100%;
  height: var(--height-row-hour);
  line-height: var(--height-row);
  background-repeat: repeat-x;
}

.btn-action-form-calendar {
  color: var(--bs-text);
  background: inherit !important;
  /* border: 1px solid var(--bs-border-color); */
  min-width: var(--px-40);
  height: var(--px-40);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  z-index: 14;
  font-size: var(--px-20);
  transition: left 0.3s ease 0s;
}

.btn-action-form-calendar:hover {
  box-shadow: var(--shadow-5);
}

.btn-action-form-calendar .fa-chevron-left {
  transition: all 0.4s ease 0s;
  transform: rotate(0deg);
}

.booking-action-area .booking-filter-group-area {
  width: 100%;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 0;
}

.booking-action-area .booking-filter-group-area.default {
  overflow: hidden;
}

.booking-action-area .booking-filter-group-area.filter-tech {
  max-height: unset;
  height: auto;
}

.booking-action-area .booking-filter-group-area.filter-tech.opening {
  flex: 1 1 auto;
  min-height: 0;
}

.booking-action-area .booking-filter-group-area.filter-tech.opening .append-tech-filter-calendar {
  flex: 1 1 auto;
  min-height: 0;
}

.booking-action-area .booking-filter-group-area.opening {
  max-height: unset;
  gap: 2px;
}

.booking-action-area .booking-filter-group-area.opening .form-search-tech-filter {
  opacity: 0.6;
  background: 0;
  background: var(--bs-body-bg);
}

.booking-filter-parent {
  background: inherit;
  overflow: hidden;
  border-radius: 4px;
}

.booking-action-area .booking-filter-group-area .append-tech-filter-calendar {
  display: flex;
  overflow: auto;
  position: relative;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 var(--px-8);
}

.booking-action-area .booking-filter-group-area .form-search-tech-filter {
  margin: 4px var(--px-12);
  display: flex;
  overflow: hidden;
  transition: width 0.4s;
  border-radius: 4px;
  align-items: center;
  flex-direction: row;
  min-height: var(--px-40);
  max-height: var(--px-40);
  background: var(--bs-surface-bg-o);
  border-bottom: 2px solid transparent;
}

.booking-action-area .booking-filter-group-area .form-search-tech-filter:focus-within {
  opacity: 1;
  border-bottom: 2px solid var(--bs-main-500);
}

.booking-action-area .booking-filter-group-area .form-search-tech-filter i {
  display: flex;
  min-width: var(--px-40);
  background: inherit;
  align-items: center;
  height: var(--px-40);
  justify-content: center;
  border-radius: 4px 0px 0px 4px;
  font-weight: 500;
  color: var(--bs-text-muted);
}

.booking-action-area .booking-filter-group-area .form-search-tech-filter input {
  width: 100%;
  border: none;
  height: 100%;
  outline: none;
  padding: var(--px-8);
  border-radius: 0px 4px 4px 0px;
  color: var(--bs-text);
  font: normal normal 500 var(--s-13);
  background: inherit;
  padding-left: 0;
}

.booking-filter-parent {
  z-index: 2;
  width: 100%;
  display: flex;
  cursor: pointer;
  overflow: hidden;
  gap: var(--px-12);
  align-items: center;
  flex-direction: row;
  padding: 0 var(--px-16);
  transition: all 0.4s ease 0s;
  color: var(--bs-text);
  justify-content: space-between;
  font: normal normal 500 var(--s-13);
  border-radius: 0;
  min-height: var(--px-40);
}

.booking-filter-parent:hover {
  color: var(--bs-main);
}

.booking-filter-parent .team-member {
  display: flex;
  align-items: center;
}

.booking-filter-parent .team-member p {
}

.booking-filter-parent .quantity-staff-filter {
  display: flex;
  border-radius: 4px;
  align-items: center;
  margin: var(--px-4);
  width: var(--px-40);
  justify-content: center;
  min-height: var(--px-20);
  background: var(--salon-appt);
  font: normal normal 700 var(--s-13);
  color: var(--theme-mode-text-white);
}

.booking-filter-parent .fa-regular {
  transition: all 0.3s ease 0s;
  font-size: var(--px-16);
  color: var(--bs-text-muted);
}

.booking-action-area .booking-filter-group-area .checkbox-option-select {
  width: 100%;
  display: grid;
  cursor: pointer;
  align-items: center;
  grid-gap: var(--px-12);
}

.booking-action-area .booking-filter-group-area .checkbox-option-select p {
  margin: 0px;
  z-index: 1000;
  text-transform: capitalize;
  color: var(--bs-text);
  font: normal normal 400 var(--s-12);
}

.booking-action-area .booking-filter-group-area .checkbox-option-select p:not(.otxt) {
  gap: 4px;
  display: grid;
  align-items: center;
  grid-template-columns: var(--px-20) 1fr;
}

.booking-action-area .booking-filter-group-area .checkbox-option-select p i {
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--bs-text-muted);
  font-weight: 300;
  font-size: 14px;
}

.booking-action-area .booking-filter-group-area .checkbox-option-select p i.fa-mobile-button {
  color: var(--bs-teal);
}

.booking-action-area .booking-filter-group-area .checkbox-option-select p i.fa-user-xmark {
  color: var(--bs-red);
}

.booking-action-area .booking-filter-group-area .checkbox-option-select p i.fa-calendar-xmark {
  color: var(--bs-orange);
}

.booking-action-area .booking-filter-group-area .checkbox-option-select {
  display: none;
}

.booking-action-area .booking-filter-group-area.time-slots .toggle-btn input[type="radio"] {
  width: 0;
  height: 0;
  position: absolute;
  visibility: hidden;
}

.booking-action-area .booking-filter-group-area.time-slots .toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--px-20);
}

.booking-action-area .booking-filter-group-area.time-slots .toggle-btn label {
  width: var(--px-18);
  height: var(--px-18);
  border-radius: 50%;
  border: 2px solid var(--bs-border-color);
  background: var(--bs-surface-bg);
  position: relative;
}

.booking-action-area .booking-filter-group-area.time-slots .toggle-btn label:after {
  width: var(--px-8);
  height: var(--px-8);
  border-radius: 50%;
  background: var(--bs-main-500);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.booking-action-area
  .booking-filter-group-area.time-slots
  .toggle-btn
  input[type="radio"]:checked
  + label {
  border-color: var(--bs-main-500);
  background: var(--bs-surface-bg);
}

.booking-action-area
  .booking-filter-group-area.time-slots
  .toggle-btn
  input[type="radio"]:checked
  + label:after {
  transform: translate(-50%, -50%) scale(1);
}

.booking-action-area .booking-filter-group-area .quick-info-tech {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-start;
  grid-gap: 4px var(--px-16);
  flex-direction: column;
  justify-content: center;
}

.booking-action-area .booking-filter-group-area .quick-info-tech span.turn {
  display: flex;
  gap: var(--px-4);
  align-items: center;
  color: var(--bs-text-muted);
  font: italic normal 400 var(--s-11);
}

.booking-action-area .booking-filter-group-area .quick-info-tech span.turn strong {
  color: var(--bs-text);
  font: normal normal 600 var(--s-12);
}

.booking-action-area .booking-filter-group-area .quick-info-tech .photo {
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--px-42);
  height: var(--px-42);
  position: relative;
  width: var(--px-42);
}

.booking-action-area .booking-filter-group-area .quick-info-tech .track-img-error-box,
.booking-action-area .booking-filter-group-area .quick-info-tech img {
  display: flex;
  align-items: center;
  width: var(--px-42);
  height: var(--px-42);
  justify-content: center;
  border-radius: var(--px-42);
  border: 3px solid var(--bs-surface-bg);
}

.booking-action-area .booking-filter-group-area .quick-info-tech .index-turn {
  display: flex;
  overflow: hidden;
  position: absolute;
  align-items: center;
  width: var(--px-18);
  height: var(--px-18);
  justify-content: center;
  background: var(--bs-surface-bg);
  border-radius: var(--px-20);
  right: -8px;
  bottom: -2px;
  color: var(--bs-text);
  font: normal normal 800 var(--s-12);
  border: 1px solid var(--bs-border-color);
  box-shadow: var(--shadow-1);
}

.booking-action-area .booking-filter-group-area .quick-info-tech p {
  font: normal normal 500 var(--s-12);
  text-transform: capitalize;
}

.booking-action-area .booking-filter-group-area:not(.opening) .tech-list-calendar {
  display: none;
}

.booking-action-area .booking-filter-group-area.opening .tech-list-calendar {
  display: flex;
}

.booking-action-area .booking-filter-group-area.opening .checkbox-option-select {
  display: flex;
  align-items: center;
  padding: var(--px-8) var(--px-16);
  justify-content: space-between;
  padding-left: var(--px-28);
}

.booking-action-area .booking-filter-group-area.opening .checkbox-option-select:hover {
  background: var(--bs-surface-bg-o);
}

.booking-action-area .booking-filter-group-area.opening .booking-filter-parent {
}

.booking-page-body .box-tix-appt-book {
  z-index: 5;
  display: flex;
  border-style: solid;
  position: absolute;
  background: var(--bs-surface-bg);
  flex-direction: column;
  border-radius: 0 8px 8px 0;
  border-width: 1px 1px 1px 5px;
  justify-content: flex-end;
  border-color: #a6a6a6;
  border-left-color: var(--tix-confirm);
  box-shadow:
    0px 6px 10px 0px rgb(0 0 0 / 10%),
    0px 1px 18px 0px rgb(0 0 0 / 12%),
    0px 3px 5px -1px rgb(0 0 0 / 16%);
  /* Fix for touch issues */
  pointer-events: auto;
  user-select: auto !important; /* Allow touch interaction */
  touch-action: auto !important; /* Allow default touch behavior */
}

.booking-page-body .box-tix-appt-book.no-status .appt-book-ser-time {
  padding-right: var(--px-8);
}

.booking-page-body .box-tix-appt-book.no-status .tix-status-book {
  width: 0;
}

.booking-page-body .box-tix-appt-book.noDrag {
}

.booking-page-body .box-tix-appt-book.noDrag .tix-info-book {
  pointer-events: none !important;
}

.booking-page-body .box-tix-appt-book.salonAppt {
  z-index: 8;
}

.booking-page-body .box-tix-appt-book:hover,
.booking-page-body .box-tix-appt-book.popup,
.booking-page-body .box-tix-appt-book:active {
  z-index: 8;
}

.booking-page-body .box-tix-appt-book.is-popup {
  box-shadow: var(--bs-main-100) 0px 1px 2px 6px !important;
}

.booking-page-body .box-tix-appt-book.is-popup .tix-info-book {
  background: var(--bs-main-200);
}

.booking-page-body .box-tix-appt-book.ticket-is-showing,
.booking-page-body .box-tix-appt-book.tickets-is-showing,
.booking-page-body .box-tix-appt-book.group-is-showing {
  outline: 2px solid var(--bs-blue);
  box-shadow: rgba(133, 68, 249, 0.23) 0px 1px 2px 6px !important;
}

.booking-page-body .box-tix-appt-book:not(.weekView).active {
  width: var(--min-column) !important;
  box-shadow: rgba(0, 0, 0, 0.5) 2px 2px 15px;
}

.booking-page-body .box-tix-appt-book.active .tix-info-book {
  color: var(--theme-mode-text-dark);
}

.booking-page-body .box-tix-appt-book.animation {
  animation: 250ms ease 0s 1 normal forwards running cd-move-in;
}

.booking-page-body .box-tix-appt-book.active {
  z-index: 40;
}

.booking-page-body .box-tix-appt-book:hover,
.booking-page-body .box-tix-appt-book:focus {
  box-shadow: rgba(0, 0, 0, 0.5) 2px 2px 28px;
}

.booking-page-body .box-tix-appt-book:hover .tix-bar-resize-book,
.booking-page-body .box-tix-appt-book:hover .tix-info-book,
.booking-page-body .box-tix-appt-book:focus .tix-info-book {
  z-index: 4;
}

.booking-page-body .box-tix-appt-book.opacity-processing {
  pointer-events: none;
  opacity: 0.4;
}

.booking-page-body .box-tix-appt-book.dragging,
.booking-page-body .box-tix-appt-book.appointment-copy,
.booking-page-body .box-tix-appt-book.holding-to-change-duration {
  z-index: 50;
  box-shadow: rgba(0, 0, 0, 0.533) 2px 2px 28px;
}

.booking-page-body .box-tix-appt-book.appointment-copy .resize-s,
.booking-page-body .box-tix-appt-book.timeOff .resize-s {
  pointer-events: none !important;
}

.booking-page-body .box-tix-appt-book.timeOff {
  box-shadow: none;
  text-decoration: none;
  border-color: rgb(132, 132, 132) !important;
  background-size: 12px 12px !important;
  background-image: linear-gradient(
    45deg,
    transparent 46%,
    rgb(199 199 199) 49%,
    rgba(16, 25, 40, 0.2) 51%,
    transparent 55%
  ) !important;
  background-color: var(--bs-border-calendar) !important;
}

.booking-page-body .box-tix-appt-book.timeOff .tix-info-book {
  color: var(--theme-mode-text-dark);
}

.booking-page-body .box-tix-appt-book.timeOff .tix-bar-resize-book {
  display: none;
}

.booking-page-body .box-tix-appt-book .tix-info-book {
  width: 100%;
  display: flex;
  overflow: hidden;
  height: calc(100%);
  align-items: start;
  position: relative;
  white-space: pre-line;
  justify-content: start;
  flex-direction: column;
  text-overflow: ellipsis;
  color: rgb(255, 255, 255);
  text-transform: capitalize;
  font: normal normal 600 var(--s-12);
  border-radius: inherit;
}

.booking-page-body .box-tix-appt-book.black-font .tix-info-book {
  color: var(--bs-text);
}

.booking-page-body .box-tix-appt-book .tix-info-book.line-through {
  font-style: italic;
  text-decoration: line-through;
}

.booking-page-body .box-tix-appt-book .tix-moved-book {
  position: absolute;
  height: var(--px-30);
  display: none;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  font: normal normal 700 var(--s-12);
  color: rgb(255, 255, 255);
  top: -40px;
  left: -2px;
  cursor: pointer;
  z-index: 20;
}

.booking-page-body .box-tix-appt-book.dragging .tix-moved-book {
  display: grid;
  grid-gap: 8px;
  justify-items: end;
  grid-template-columns: 1fr 1fr;
}

.booking-page-body .box-tix-appt-book .tix-moved-book .holding-revert-appointment {
  height: 100%;
  border-radius: 4px;
  width: 95%;
  align-items: center;
  display: inline-grid;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 20px;
  color: var(--theme-mode-text-white);
  background: var(--bs-gray-500) 0% 0% no-repeat padding-box;
  min-width: var(--px-80);
}

.booking-page-body .box-tix-appt-book .tix-moved-book .holding-moved-appointment {
  height: 100%;
  background: var(--bs-blue) 0% 0% no-repeat padding-box;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 20px;
  border-radius: 4px;
  width: 95%;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  color: var(--theme-mode-text-white);
  min-width: var(--px-80);
}

.booking-page-body .box-tix-appt-book .tix-moved-book .holding-moved-appointment:hover,
.booking-page-body .box-tix-appt-book .tix-moved-book .holding-revert-appointment:hover {
  opacity: 0.6;
}

.booking-page-body .box-tix-appt-book .tix-copy-book {
  position: absolute;
  height: var(--px-30);
  display: none;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  font: normal normal 700 var(--s-12);
  color: rgb(255, 255, 255);
  top: -3px;
  right: 0px;
  cursor: pointer;
  z-index: 20;
}

.booking-page-body .box-tix-appt-book.clone-appointment-copy .tix-copy-book {
  display: flex;
}

.booking-page-body .box-tix-appt-book.holding-to-change-duration .tix-moved-book {
  display: none !important;
}

.booking-page-body .box-tix-appt-book .tix-copy-book .holding-drag-appointment {
  position: absolute;
  height: 24px;
  border-radius: 6px 6px 0px 0px;
  width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  font: normal normal 800 var(--s-12);
  color: var(--bs-text);
  bottom: var(--px-28);
  right: 0px;
  background: var(--bs-blue);
}

.booking-page-body .box-tix-appt-book .time {
  width: 100%;
  padding: 5px var(--px-8);
  color: inherit;
  font: normal normal 500 var(--s-11);
  opacity: 0.8;
}

.booking-page-body .box-tix-appt-book .client {
  background: unset !important;
  color: inherit;
  font: normal normal 700 var(--s-12);
  width: 100%;
  min-height: var(--px-20);
  padding: var(--px-4) var(--px-8);
  padding-bottom: 0;
}

.booking-page-body .box-tix-appt-book .appt-book-ser-time {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--px-8);
  padding-top: 0;
  flex: 1;
  overflow: hidden;
}

.booking-page-body .box-tix-appt-book .appt-book-ser-time .ser {
  width: 100%;
  display: flex;
  padding: 4px;
  overflow: hidden;
  flex-direction: row;
  align-items: flex-start;
  border-radius: 4px;
  /* box-shadow: 1px 1px; */
  /* border: 1px dashed var(--bs-border-strong); */
  font: normal normal 500 var(--s-11);
  height: 100%;
}

.booking-page-body .box-tix-appt-book .appt-book-ser-time .ser i {
  font-size: var(--px-12);
  margin-right: 2px;
  box-shadow: var(--shadow-1);
  border-radius: 100%;
}

.booking-page-body .box-tix-appt-book.timeOff .appt-book-ser-time .ser {
  background: 0 !important;
}

.booking-page-body .box-tix-appt-book .appt-book-ser-time .ser span {
  color: var(--bs-text);
  font-weight: 400;
}

.booking-page-body .box-tix-appt-book.timeoff .appt-book-ser-time .ser {
  background: unset !important;
}

.booking-page-body .box-tix-appt-book .appt-book-ser-time .time {
  font: normal normal 700 var(--s-11);
  white-space: nowrap;
}

.booking-page-body .box-tix-appt-book .tix-info-book .noted {
  display: flex;
  padding: 0 var(--px-8);
  font: italic normal 500 var(--s-12);
}

.booking-page-body .box-tix-appt-book .tix-info-book .noted.empty {
  margin: 0px;
  height: 0px;
}

.booking-page-body .box-tix-appt-book .tix-info-book .noted mark {
  padding: 0px;
  background: unset;
  text-decoration: underline;
  color: var(--bs-text);
  font: italic normal 500 var(--s-12);
}

.booking-page-body .box-tix-appt-book .tix-bar-resize-book {
  position: absolute;
  bottom: -10px;
  left: 0;
  opacity: 1;
  height: var(--px-16);
  width: 100%;
  display: flex;
  align-items: center;
  padding: 2px;
  justify-content: center;
  flex-wrap: nowrap;
  /* backdrop-filter: blur(1px); */
}

.booking-page-body .box-tix-appt-book .tix-bar-resize-book i {
  cursor: ns-resize;
  position: relative;
  bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 22px;
  color: #4b5563;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  font-size: 10px;
  transform: rotate(90deg);
  pointer-events: none;
}

.booking-page-body .box-tix-appt-book.active .tix-bar-resize-book,
.booking-page-body .box-tix-appt-book:hover .tix-bar-resize-book {
  opacity: 1;
}

.booking-page-body .box-tix-appt-book.haspassedDate .holding-moved-appointment,
.booking-page-body .box-tix-appt-book.haspassedDate .resize-s,
.booking-page-body .box-tix-appt-book.block-confirm .tix-bar-resize-book.resize-s,
.booking-page-body .box-tix-appt-book.block-confirm .holding-moved-appointment,
.booking-page-body .box-tix-appt-book[status="3"] .tix-bar-resize-book.resize-s,
.booking-page-body .box-tix-appt-book[status="4"] .tix-bar-resize-book.resize-s,
.booking-page-body .box-tix-appt-book[status="7"] .tix-bar-resize-book.resize-s,
.booking-page-body .box-tix-appt-book[status="8"] .tix-bar-resize-book.resize-s,
.booking-page-body .box-tix-appt-book[status="9"] .tix-bar-resize-book.resize-s {
  display: none;
  pointer-events: none;
}

.booking-page-body .box-tix-appt-book[status="1"][confob="false"][bookonl="true"] {
  border-color: var(--tix-unConfirm);
}

.booking-page-body .box-tix-appt-book[status="7"] .client.wrap-line-1,
.booking-page-body .box-tix-appt-book[status="9"] .client.wrap-line-1 {
  text-decoration: line-through;
  background: var(--tix-closed);
}

.booking-page-body .box-tix-appt-book[status="7"],
.booking-page-body .box-tix-appt-book[status="8"],
.booking-page-body .box-tix-appt-book[status="4"],
.booking-page-body .box-tix-appt-book[status="9"] {
  border-color: var(--bs-gray-700);
}

.booking-page-body .box-tix-appt-book[status="2"]::after {
  left: 0;
  bottom: 0;
  opacity: 1;
  z-index: 12;
  width: 100%;
  content: "";
  height: 100%;
  display: flex;
  align-items: end;
  border-radius: 4px;
  position: absolute;
  background: #00000050;
  justify-content: start;
  mix-blend-mode: multiply;
  padding: 6px var(--px-16);
  font: normal normal 900 var(--s-15);
}

.booking-page-body .box-tix-appt-book[status="3"]::after {
  left: 0;
  bottom: 0;
  opacity: 1;
  z-index: 12;
  content: "";
  height: 100%;
  display: flex;
  align-items: end;
  border-radius: 4px;
  position: absolute;
  background: #00000092;
  justify-content: start;
  mix-blend-mode: multiply;
  padding: 6px var(--px-16);
  border-radius: 0px 4px 12px 4px;
  font: normal normal 900 var(--s-15);
  width: 100%;
}

.booking-page-body .box-tix-appt-book[status="4"]::after,
.booking-page-body .box-tix-appt-book[status="7"]::after,
.booking-page-body .box-tix-appt-book[status="9"]::after {
  left: 0;
  bottom: 0;
  opacity: 1;
  z-index: 12;
  width: 100%;
  content: "";
  height: 100%;
  display: flex;
  align-items: end;
  border-radius: 0px;
  position: absolute;
  background: #00000088;
  justify-content: start;
  mix-blend-mode: multiply;
  padding: 6px var(--px-16);
  font: normal normal 900 var(--s-15);
}

.booking-page-body .box-tix-appt-book[status="8"]::after,
.booking-page-body .box-tix-appt-book[status="7"]::after {
  left: 0;
  bottom: 0;
  opacity: 0.3;
  z-index: 12;
  width: 100%;
  content: "";
  height: 100%;
  display: flex;
  align-items: end;
  border-radius: 0px;
  position: absolute;
  background: #000;
  justify-content: start;
  mix-blend-mode: multiply;
  padding: 6px var(--px-16);
  font: normal normal 900 var(--s-15);
}

.booking-page-body .box-tix-appt-book::after {
  border-radius: 0 0 6px 6px !important;
}

.booking-page-body .box-tix-appt-book.no-status::after {
  width: 100% !important;
}

.booking-page-body .box-tix-appt-book .tix-status-book {
  z-index: 123123123123;
  gap: 2px;
  top: 0;
  height: auto;
  display: flex;
  overflow: hidden;
  position: absolute;
  width: var(--px-28);
  flex-direction: column;
  right: calc(-1 * var(--px-12) - 3px);
  background: white;
  color: var(--bs-main);
  border-radius: var(--px-12);
  border: 1px solid var(--bs-border-color);
  max-height: 100%;
  transition: all 0.4s;
}

.booking-page-body .box-tix-appt-book .tix-status-book .top:not(.dis-none) {
  min-width: var(--px-24);
  height: var(--px-24);
  display: flex;
  align-items: center;
  cursor: context-menu;
  justify-content: center;
  color: var(--bs-gray-600);
  border-radius: 100%;
}

.booking-page-body .box-tix-appt-book .tix-status-book i {
  font-size: var(--px-16);
  font-weight: 900;
}

.booking-page-body .box-tix-appt-book .tix-status-book i.fa-user-group {
}

.booking-page-body .box-tix-appt-book .tix-status-book i.fa-message-lines {
  color: var(--bs-gray-600);
}

.booking-page-body .box-tix-appt-book .tix-status-book i.fa-user-group-simple {
  color: var(--bs-green);
}

.booking-page-body .box-tix-appt-book .tix-status-book i.fa-user-xmark {
  color: var(--bs-gray-600);
}

.booking-page-body .box-tix-appt-book .tix-status-book i.fa-thumbs-up {
  color: var(--bs-main-400);
}

.booking-page-body .box-tix-appt-book .tix-status-book i.fa-mobile-button {
  color: var(--bs-gray-700);
  font-weight: 300;
  font-size: var(--px-20);
}

.booking-page-body .box-tix-appt-book .tix-status-book i.fa-sack-dollar {
  color: var(--bs-teal);
}

.booking-page-body .box-tix-appt-book .tix-status-book .bottom {
  position: absolute;
  right: var(--px-6);
}

.booking-page-body .box-tix-appt-book .special {
  position: absolute;
  top: calc(var(--px-7) * -1);
  left: calc(var(--px-20) * -1);
  z-index: 28;
}

.booking-page-body .box-tix-appt-book .special img {
  transform: scale(0.8);
}

.booking-page-body[filter="1"] .box-tix-appt-book[bookonl="false"],
.booking-page-body[filter="2"] .box-tix-appt-book[bookonl="true"] {
  display: none;
}

.booking-page-body .general-tix-bar {
  position: absolute;
  inset: 0px;
  z-index: 8;
}

.booking-page-body .general-tix-bar.noScroll {
  width: 0px;
  z-index: 10;
  position: sticky;
  left: var(--w-hour);
}

.booking-page-body .general-tix-bar.dragProcessing .box-tix-appt-book:not(.dragging) {
  opacity: 0.4;
  pointer-events: none;
}

.booking-page-body .general-tix-bar.dragProcessing .box-tix-appt-book.clone-appointment-copy,
.booking-page-body .general-tix-bar.dragProcessing .box-tix-appt-book.holding-to-moved {
  opacity: 0.8;
}

#popup-container-custom-id .btn-bottom-popup-group {
  border: 0px;
  z-index: 2;
  width: 98%;
  bottom: -2px;
  display: flex;
  position: sticky;
  gap: var(--px-6);
  align-items: center;
  justify-content: center;
  background: var(--theme-mode-bs-400);
}

#popup-container-custom-id .action-operation-button-click.checkin-group {
  border: 0px;
  z-index: 2;
  width: 98%;
  bottom: 5px;
  display: flex;
  cursor: pointer;
  position: sticky;
  margin: 5px auto;
  gap: var(--px-16);
  align-items: center;
  justify-content: center;
  background: var(--tix-inservice);
  font: normal normal 700 var(--s-16);
}

#popup-container-custom-id .action-operation-button-click.decline {
  background: var(--theme-mode-bs-400);
}

#popup-container-custom-id .action-operation-button-click.decline {
  color: var(--bs-danger);
}

#popup-container-custom-id .action-operation-button-click.checkin-group p {
  font: normal normal 800 var(--s-16);
}

#popup-container-custom-id .action-operation-button-click.checkin-group i {
  font-size: var(--px-20);
}

.popup-detail-ticket-book {
  display: flex;
  position: relative;
  height: fit-content;
  width: var(--px-500);
  padding: var(--px-20);
  flex-direction: column;
}

.popup-detail-ticket-book .header-popup {
  padding-top: var(--px-44);
}

.popup-detail-ticket-book .back-status {
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 0;
  display: flex;
  position: absolute;
  height: var(--px-100);
  padding: var(--px-16);
  border-radius: 4px 4px 0px 0px;
  background: var(--bs-dudu);
  justify-content: space-between;
}

.popup-detail-ticket-book .back-status p {
  flex: 1 1 0%;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  flex-direction: column;
  text-size-adjust: 100%;
  text-overflow: ellipsis;
  text-transform: capitalize;
  color: var(--theme-mode-text-white);
  font-size: clamp(var(--min-font-size), calc(var(--min-font-size) + 28%), var(--max-font-size));
}

.popup-detail-ticket-book .back-status p span {
  text-decoration: underline;
  font: normal normal 700 var(--s-12);
}

.popup-detail-ticket-book .back-status .action-operation-button-click {
  display: flex;
  gap: var(--px-12);
  align-items: center;
  height: var(--px-32);
  padding: 0 var(--px-16);
  margin-left: var(--px-12);
  color: var(--bs-text);
  justify-content: space-around;
  background: var(--theme-mode-bs-400);
}

.popup-detail-ticket-book .back-status .action-operation-button-click.decline,
.popup-detail-ticket-book .back-status .action-operation-button-click.decline p {
  color: var(--bs-danger);
}

.popup-detail-ticket-book .back-status .action-operation-button-click i {
  font-size: var(--px-20);
}

.popup-detail-ticket-book .back-status .action-operation-button-click p {
  color: var(--bs-text);
  font: normal normal 800 var(--s-15);
}

.popup-detail-ticket-book .back-status .action-operation-button-click.slide i,
.popup-detail-ticket-book .back-status .action-operation-button-click.slide p {
  position: absolute;
  left: -100%;
}

.popup-detail-ticket-book .info-client {
  z-index: 1;
  position: relative;
  display: grid;
  grid-template-areas: "photo name reminder" "photo phone reminder";
  align-items: center;
  border-radius: 8px;
  padding: var(--px-12);
  grid-gap: 2px var(--px-12);
  color: var(--bs-text);
  background: var(--bs-surface-bg);
  grid-template-columns: var(--px-60) 1fr;
  border: 1px solid var(--bs-border-color);
}

.popup-detail-ticket-book .info-client .action-operation-button-click {
  grid-area: reminder;
  color: var(--theme-mode-btn-text);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border: 0px;
  outline: 0px;
  cursor: pointer;
  border-radius: 4px;
  padding: 0 var(--px-12);
  background: var(--bs-dudu-o);
}

.popup-detail-ticket-book .info-client .name {
  grid-area: name;
  font: normal normal 800 var(--s-18);
}

.popup-detail-ticket-book .info-client .phone {
  grid-area: phone;
  font: normal normal 600 var(--s-14);
}

.popup-detail-ticket-book .info-client .client-photo {
  grid-area: photo;
  display: flex;
  height: var(--px-60);
  align-items: center;
  justify-content: center;
  background: var(--bs-dudu-o);
  border-radius: var(--px-60);
  color: var(--bs-text);
  font: normal normal 800 var(--s-22);
}

.popup-detail-ticket-book .client-photo span {
  color: var(--theme-mode-text-dark);
}

.popup-detail-ticket-book .client-photo img {
  width: 100%;
  height: 100%;
}
/*
    .popup-detail-ticket-book .btn-action-tracking-status {
        display: grid;
        height: var(--px-80);
        border-radius: 8px;
        justify-items: center;
        padding: var(--px-12) 0;
        grid-template-columns: repeat(auto-fit, minmax(var(--px-60), 1fr));
    }

        .popup-detail-ticket-book .btn-action-tracking-status .action-operation-button-click {
            height: 100%;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-around;
            padding: 0px;
            outline: 0px;
            border-radius: 0px;
            cursor: pointer;
            color: var(--bs-text);
        }

            .popup-detail-ticket-book .btn-action-tracking-status .action-operation-button-click:hover {
                border: 0px;
                background: var(--bs-dudu-o);
            }

            .popup-detail-ticket-book .btn-action-tracking-status .action-operation-button-click:last-of-type {
                border-right: 0px;
            }

            .popup-detail-ticket-book .btn-action-tracking-status .action-operation-button-click i {
                color: var(--bs-text);
                font-size: var(--px-22);
            }

            .popup-detail-ticket-book .btn-action-tracking-status .action-operation-button-click p {
                font: normal normal 700 var(--s-12);
                color: var(--bs-text);
                opacity: 0.7;
            }
*/
.booking-page-body .box-tix-appt-book.ticket-hidden-by-header-search {
  display: none !important;
}

.popup-detail-ticket-book .body-popup {
  display: flex;
  border-radius: 0px;
  flex-direction: column;
  padding-top: var(--px-16);
  border-top: 1px solid var(--bs-border-color);
}

.popup-detail-ticket-book .body-popup .table-tech-item {
  display: flex;
  flex-direction: column;
}

.popup-detail-ticket-book .body-popup .tech-service {
  display: grid;
  border-radius: 4px;
  align-items: center;
  padding: var(--px-12);
  color: var(--bs-text);
  background: var(--bs-surface-bg);
  grid-template-columns: 1fr var(--px-80) var(--px-120);
}

.popup-detail-ticket-book .body-popup .tech-service p {
  color: var(--bs-text);
  font: normal normal 800 var(--s-12);
}

.popup-detail-ticket-book .body-popup .tech-service .start-space {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr var(--px-60) var(--px-36);
}

.popup-detail-ticket-book .body-popup .tech-service .text-time {
  color: var(--bs-blue);
  font: normal normal 800 var(--s-12);
}

.popup-detail-ticket-book .body-popup .tech-service .action-operation-button-click {
  border: 0px;
  outline: 0px;
  display: grid;
  background: rgb(255, 255, 255);
  padding: 5px 8px;
  align-items: center;
  color: var(--theme-mode-btn-text);
  font: normal normal 700 var(--s-12);
  grid-template-columns: var(--px-20) 1fr;
}

.popup-detail-ticket-book .body-popup .tech-service .action-operation-button-click i {
}

.popup-detail-ticket-book .body-popup .item-services {
  display: grid;
  align-items: center;
  font: normal normal 600 var(--s-15);
  grid-template-columns: 1fr var(--px-80) var(--px-120);
}

.popup-detail-ticket-book .body-popup ul::after {
  content: "";
  border: 1px solid var(--theme-mode-bs-qs);
  position: absolute;
  top: 3px;
  bottom: 0px;
  left: var(--px-22);
  display: block;
}

.popup-detail-ticket-book .body-popup li {
  padding: var(--px-12);
}

.popup-detail-ticket-book .body-popup li::before {
  top: var(--px-15);
  height: var(--px-12);
  left: calc(var(--px-13) * -1);
  width: var(--px-12);
  border: 2px solid var(--bs-blue);
  background: var(--theme-mode-bs-qs);
}

.booking-page-body .booking-calendar-area .general-time-line-book {
  width: 100%;
  z-index: 50;
  position: absolute;
  pointer-events: none;
  margin-top: -2px;
  border-bottom: 2px solid #f05a7e;
}

.booking-page-body .booking-calendar-area .general-time-line-book::after {
  position: absolute;
  background: var(--pos-calendar-past-overlay, rgb(23 33 29 / 10%));
  content: "";
  left: 0px;
  height: 1e9px;
  width: 100%;
  bottom: 0px;
}

.booking-page-body .booking-calendar-area .general-time-box-book {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f05a7e;
  border-radius: var(--px-12);
  position: absolute;
  width: 97%;
  height: var(--px-20);
  margin-top: calc(var(--px-12) * -1);
  font: normal normal 500 var(--s-10);
  color: white;
  border: 0px;
  top: var(--px-12);
  right: 2px;
  z-index: 5;
  white-space: nowrap;
}

.booking-page-body .booking-calendar-area .general-time-box-drag {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-teal);
  border-radius: var(--px-12);
  position: absolute;
  width: 98%;
  height: var(--px-20);
  margin-top: calc(var(--px-12) * -1);
  font: normal normal 700 var(--s-10);
  color: var(--theme-mode-text-white);
  border: 0px;
  top: var(--px-12);
  right: 2px;
  z-index: 5;
  white-space: nowrap;
}

.booking-page-body .booking-calendar-area .mouse-over-timer {
  top: 99%;
  right: 0%;
  border: 0;
  margin: 0px;
  z-index: 10;
  display: flex;
  cursor: pointer;
  position: absolute;
  align-items: center;
  white-space: nowrap;
  padding: 4px;
  height: var(--height-row);
  background: var(--bs-main-100);
  transition: left 200ms ease 0s;
  color: var(--bs-main-600);
  font: normal normal 600 var(--s-14);
  border-radius: 0;
}

.booking-page-body .booking-calendar-area .mouse-over-timer.drag-time,
.booking-page-body .booking-calendar-area .mouse-over-timer.drag-end {
  background-size: 8px 8px;
  background-color: rgb(225, 225, 225);
  background-image: linear-gradient(
    45deg,
    transparent 46%,
    rgba(16, 25, 40, 0.2) 49%,
    rgba(16, 25, 40, 0.2) 51%,
    transparent 55%
  );
}

.booking-page-body .booking-calendar-area .mouse-over-timer.drag-start {
  background-size: 8px 8px;
  background-color: var(--bs-dudu-o);
  background-image: linear-gradient(
    45deg,
    transparent 46%,
    rgba(16, 25, 40, 0.2) 49%,
    rgba(16, 25, 40, 0.2) 51%,
    transparent 55%
  );
}

.booking-page-body .booking-calendar-area .mouse-over-timer.dis-none,
.booking-page-body .booking-calendar-area .mouse-over-timer.transform {
  pointer-events: none;
}

.booking-page-body .booking-calendar-area .mouse-over-timer.processing-booking {
  opacity: 0;
  pointer-events: none;
}

.booking-page-body .booking-calendar-area .mouse-over-timer.dragging-appt {
  display: none !important;
}

.area-time-off-on-calendar {
  display: flex;
  flex-flow: column;
  padding: var(--px-12) var(--px-16) var(--px-16);
  min-width: var(--px-340);
}

.area-time-off-on-calendar p.title {
  text-align: center;
  padding-top: var(--px-12);
  color: var(--bs-text);
  font: normal normal 600 var(--s-18);
}

.area-time-off-on-calendar .form-type-time-off {
  display: grid;
  gap: 10px;
  padding-top: var(--px-20);
  grid-template-columns: repeat(2, 1fr);
}

.area-time-off-on-calendar .form-type-time-off .input-type-add {
  display: flex;
  gap: var(--px-12);
  flex-direction: column;
  font: normal normal 600 var(--s-14);
}

.area-time-off-on-calendar .form-type-time-off .input-type-add select {
  color: var(--bs-text);
  border: 1px solid var(--bs-border-color);
}

.area-time-off-on-calendar .form-type-time-off .span-2 {
  grid-column: span 2;
}

.area-time-off-on-calendar .form-type-time-off textarea {
  border-radius: 4px;
  padding: var(--px-12);
  min-height: var(--px-100);
  color: var(--bs-text);
  font: normal normal 500 var(--s-14);
  background: var(--bs-surface-bg);
  border: 1px solid var(--bs-border-color);
}

.area-time-off-on-calendar .form-type-time-off button {
  max-height: var(--px-50);
}

.booking-page-body .box-tix-appt-book.holding-to-moved,
.booking-page-body .box-tix-appt-book.clone-appointment-copy {
  opacity: 0.8;
  border-width: 2px;
  pointer-events: none;
  border-style: dashed;
  border-color: var(--bs-dudu) !important;
}

.popup-container.adjust-calendar {
  border-radius: var(--px-20);
  border: 1px solid var(--bs-border-color);
  background: var(--bs-surface-bg);
}

.form-adjus-width-column-calendar {
  display: flex;
  gap: var(--px-16);
  padding: var(--px-16);
  flex-direction: column;
  position: relative;
  width: 100%;
  background: var(--bs-surface-bg);
  border-radius: var(--px-20);
  transition: opacity 150ms ease;
}

.popup-container.adjust-calendar .form-adjus-width-column-calendar {
  width: var(--px-288);
}

.form-adjus-width-column-calendar.proccessing {
  opacity: 0.55;
  pointer-events: none;
}

.form-adjus-width-column-calendar .title-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-adjus-width-column-calendar .title-header p {
  color: var(--bs-text);
  font: normal normal 600 var(--s-15);
}

.form-adjus-width-column-calendar .calendar-zoom {
  display: flex;
  gap: var(--px-18);
  flex-direction: column;
}

.form-adjus-width-column-calendar .range-input-adjust {
  display: flex;
  gap: var(--px-8);
  flex-direction: column;
}

.codex-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.codex-slider-label {
  color: var(--bs-text);
  font: normal normal 500 var(--s-13);
}

.codex-slider-value {
  min-width: var(--px-44);
  padding: var(--px-2) var(--px-8);
  border-radius: var(--px-100);
  background: var(--bs-surface-2-bg);
  color: var(--bs-text-muted);
  font: normal normal 600 var(--s-12);
  text-align: center;
}

.codex-slider {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--px-28);
  --codex-blue: var(--bs-main);
}

.codex-slider-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bs-gray-100);
  border-radius: var(--px-16);
  border: 1px solid var(--bs-border-color);
}

.codex-slider-range {
  position: absolute;
  inset: 0;
  width: var(--slider-pct, 0%);
  overflow: hidden;
  border-radius: var(--px-100);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--codex-blue), transparent 35%),
    var(--codex-blue)
  );
  transition: width 120ms ease;
}

.codex-slider-particles {
  position: absolute;
  inset: 0;
}

.codex-slider-particle {
  position: absolute;
  right: calc(100% - var(--slider-pct, 0%) + var(--particle-offset, 0px));
  width: var(--px-4);
  height: var(--px-4);
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  animation: codexSliderFlow 2.6s ease-out infinite;
}

@keyframes codexSliderFlow {
  0% {
    right: calc(100% - var(--slider-pct, 0%) + var(--particle-offset, 0px));
    opacity: 0;
    transform: scale(0.5);
  }
  12% {
    opacity: 0.9;
    transform: scale(1);
  }
  75% {
    opacity: 0.3;
  }
  100% {
    right: 100%;
    opacity: 0;
    transform: scale(0.5);
  }
}

.codex-slider-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.codex-slider-tick {
  position: absolute;
  top: 50%;
  width: var(--px-6);
  height: var(--px-6);
  border-radius: 50%;
  background: var(--bs-border-color);
  transform: translate(-50%, -50%);
  transition:
    background-color 150ms ease,
    transform 150ms ease;
}

.codex-slider-tick[data-selected="true"] {
  background: 0;
  transform: translate(-50%, -50%) scale(1.15);
}

.codex-slider-input {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  background: transparent;
}

.codex-slider-input::-webkit-slider-thumb {
  appearance: none;
  width: var(--px-28);
  height: var(--px-28);
}

.codex-slider-input::-moz-range-thumb {
  width: var(--px-28);
  height: var(--px-28);
  border: 0;
  background: transparent;
}

.codex-slider-thumb-rail {
  position: absolute;
  inset: 0 var(--px-10);
  pointer-events: none;
}

.codex-slider-thumb {
  position: absolute;
  top: 50%;
  left: var(--slider-pct, 0%);
  width: var(--px-32);
  height: var(--px-32);
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--codex-blue);
  box-shadow: var(--bs-shadow-sm);
  transform: translate(calc(-50% - 8px), -50%);
  transition:
    box-shadow 150ms ease,
    transform 150ms ease;
}

.codex-slider-input:active ~ .codex-slider-thumb-rail .codex-slider-thumb {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: var(--bs-shadow-md);
}

.codex-slider-input:focus-visible ~ .codex-slider-thumb-rail .codex-slider-thumb {
  outline: 2px solid var(--codex-blue);
  outline-offset: 2px;
}

.codex-reset-btn {
  display: flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--px-6);
  padding: var(--px-4) var(--px-10);
  border: 0;
  border-radius: var(--px-100);
  background: transparent;
  color: var(--bs-text-muted);
  font: normal normal 500 var(--s-12);
  transition:
    background-color 120ms ease,
    color 120ms ease;
}

.codex-reset-btn:hover {
  background: var(--bs-surface-2-bg);
  color: var(--bs-text);
}

.codex-slider-hint {
  color: var(--bs-text-muted);
  font: normal normal 400 var(--s-12);
}

.range-input-adjust.is-disabled .codex-slider,
.range-input-adjust.is-disabled .codex-reset-btn {
  opacity: 0.45;
  pointer-events: none;
}

.range-input-adjust.is-disabled .codex-slider-particle {
  animation: none;
}

.sc2-checkin__list .list-view-row .lvr-service,
#turn-tracker-page-body-id .append-all-appointment-today .lvr-service {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.sc2-checkin__list .list-view-row .lvr-meta,
#turn-tracker-page-body-id .append-all-appointment-today .lvr-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.sc2-checkin__list .list-view-row .lvr-icons,
#turn-tracker-page-body-id .append-all-appointment-today .lvr-icons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  gap: 4px;
}

.sc2-checkin__list .list-view-row .lvr-icons:empty,
#turn-tracker-page-body-id .append-all-appointment-today .lvr-icons:empty {
  display: none;
}

.sc2-checkin__list .list-view-row .lvr-time-entry,
#turn-tracker-page-body-id .append-all-appointment-today .lvr-time-entry {
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 4px;
}

.sc2-checkin__list .list-view-row .lvr-time-label,
#turn-tracker-page-body-id .append-all-appointment-today .lvr-time-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

@media (prefers-reduced-motion: reduce) {
  .codex-slider-particle {
    animation: none;
    opacity: 0.35;
  }

  .codex-slider-thumb,
  .codex-slider-tick {
    transition: none;
  }
}

.form-option-book-or-block {
  display: flex;
  width: 220px;
  padding: 8px;
  gap: 6px;
  flex-direction: column;
  background: var(--bs-surface-bg);
}

.form-option-book-or-block button {
  flex: none;
  display: flex;
  overflow: hidden;
  gap: 10px;
  min-height: 40px;
  border-radius: 8px;
  flex-direction: row;
  align-items: center;
  padding: 6px 10px 6px 6px;
  color: var(--bs-text);
  border: 0px !important;
  width: 100% !important;
  font-weight: 500;
}

.form-option-book-or-block button:focus-visible {
  outline: 2px solid var(--pos-primary-text, var(--bs-main));
  outline-offset: 2px;
}

.form-option-book-or-block button i {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 15px;
}

.form-option-book-or-block button p {
  font: normal normal 600 var(--s-13);
}

.form-option-book-or-block p.description {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  padding: 0px 12px;
  font: normal normal 700 var(--s-11);
}

.dropdown-menu.filter-calendar.show {
  display: flex;
  gap: var(--px-12);
  width: var(--px-280);
  flex-direction: column;
}

.dropdown-menu.filter-calendar.show div.checkbox-option-select {
  display: flex;
  align-items: center;
  color: var(--bs-text);
}

.confirmation-booking {
  display: flex;
  height: 100%;
  position: absolute;
  width: 100%;
  background: var(--bs-surface-bg);
  z-index: 150;
  flex-direction: column;
  padding: var(--px-20);
  justify-content: space-between;
  align-items: center;
  gap: var(--px-20);
  overflow: hidden;
  top: var(--px-52);
  height: calc(100% - var(--px-52));
}

.confirmation-booking .confirm-header {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  flex-direction: column;
  max-height: var(--px-100);
  justify-content: center;
}

.confirmation-booking .confirm-header .text {
  color: var(--bs-text);
  font: normal normal 700 var(--s-24);
}

.confirmation-booking .confirm-header .review {
  color: var(--bs-text-muted);
  font: normal normal 400 var(--s-14);
}

.confirmation-booking .list-booking-to-confirm {
  width: 80%;
  flex: 1 1 0%;
  display: flex;
  gap: var(--px-12);
  flex-direction: column;
  overflow: auto;
  max-width: var(--px-500);
}

.confirmation-booking .list-booking-to-confirm .box-confirmation {
  display: flex;
  flex-direction: column;
  gap: var(--px-16);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--px-8);
  padding: var(--px-16) var(--px-24);
  background: var(--bs-surface-bg);
}

.confirmation-booking .list-booking-to-confirm .row-confirmation {
  display: grid;
  gap: var(--px-12);
  align-items: center;
  grid-template-columns: var(--px-28) 1fr;
}

.confirmation-booking .list-booking-to-confirm .row-confirmation .client-name-confirm {
  text-align: end;
  grid-column: span 2;
  color: var(--main-color);
  font: normal normal 800 var(--s-17);
}

.confirmation-booking .list-booking-to-confirm .row-confirmation .fa-light {
  font-size: var(--px-16);
  opacity: 0.7;
}

.confirmation-booking .list-booking-to-confirm .row-confirmation strong {
  font-weight: 700;
}

.confirmation-booking .list-booking-to-confirm .row-confirmation p {
  font: normal normal 700 var(--s-14);
}

.confirmation-booking .btn-group-confirm {
  /* flex: 1 1 0%; */
  width: 100%;
  display: flex;
  gap: var(--px-16);
  max-height: var(--px-72);
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  padding: 0 var(--px-2);
}

.confirmation-booking .btn-group-confirm .btn-confirm-review-booking-apt {
  flex: 1;
  border: 0px;
  color: var(--bs-text);
  font: normal normal 700 var(--s-15);
  background: var(--bs-surface-bg);
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
  gap: var(--px-12);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--px-32);
  transition:
    background-color 0.2s ease,
    filter 0.2s ease;
}

.confirmation-booking .btn-group-confirm .btn-confirm-review-booking-apt:hover {
  background: var(--bs-gray-100);
}

.confirmation-booking
  .btn-group-confirm
  .btn-confirm-review-booking-apt.confirm:not(.sms):not(.email):not(.both) {
  color: white;
  max-width: 30%;
  height: var(--px-52);
  background: var(--bs-main);
  flex-direction: row-reverse;
}

.confirmation-booking
  .btn-group-confirm
  .btn-confirm-review-booking-apt.confirm:not(.sms):not(.email):not(.both):hover {
  filter: brightness(0.94);
  background: var(--bs-main-hover);
}

.confirmation-booking .btn-group-confirm .btn-confirm-review-booking-apt.sms {
  color: var(--bs-info);
  background: #fff;
  height: var(--px-52);
}

.confirmation-booking .btn-group-confirm .btn-confirm-review-booking-apt.sms:hover {
  background: rgba(13, 202, 240, 0.12);
}

.confirmation-booking .btn-group-confirm .btn-confirm-review-booking-apt.email {
  color: var(--bs-red);
  background: #fff;
  height: var(--px-52);
}

.confirmation-booking .btn-group-confirm .btn-confirm-review-booking-apt.email:hover {
  background: rgba(220, 53, 69, 0.1);
}

.confirmation-booking .btn-group-confirm .btn-confirm-review-booking-apt.both {
  color: var(--bs-green);
  background: #fff;
  height: var(--px-52);
}

.confirmation-booking .btn-group-confirm .btn-confirm-review-booking-apt.both:hover {
  background: rgba(25, 135, 84, 0.12);
}

.confirmation-booking .btn-group-confirm .btn-confirm-review-booking-apt span {
  white-space: nowrap;
  font: normal normal 600 var(--s-16);
}

.confirmation-booking .btn-group-confirm .btn-confirm-review-booking-apt i {
  font-weight: 500;
}

.booking-action-area .booking-filter-group-area .append-tech-filter-calendar {
}

.tech-list-calendar {
  display: flex;
  position: relative;
  align-items: center;
  padding: var(--px-8);
  color: var(--bs-text);
  gap: var(--px-12);
  justify-content: space-between;
  font: normal normal 500 var(--s-14);
  min-height: var(--px-52);
  max-height: var(--px-52);
}

.tech-list-calendar .color-tech {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--px-32);
  width: var(--px-32);
  border-radius: var(--px-32);
  color: white;
  font: normal normal 500 var(--s-13);
}

.tech-list-calendar .quantity-staff-filter {
  color: var(--bs-main);
}

.booking-action-area {
  --booking-selection: var();
  --booking-selection: var(--bs-main);
  --booking-selection-border: var(--bs-gray-400);
}

.booking-action-area #calendar-navigator {
  padding: 8px 12px 16px;
}

.booking-action-area #calendar-navigator table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 3px;
  font-size: 13px;
}

.booking-action-area #calendar-navigator table tr {
  height: 28px;
}

.booking-action-area #calendar-navigator table th.cur-month {
  padding: 8px 2px;
  text-transform: none;
  font-size: 14px;
}

.booking-action-area #calendar-navigator table .nav-btn {
  color: var(--booking-selection);
  font-size: 14px;
  border-radius: 6px;
}

.booking-action-area #calendar-navigator table tr .date-pick {
  position: relative;
  border-radius: 28px;
  border: 1px solid transparent;
  transition: background-color 120ms ease, color 120ms ease;
  font-size: 11px;
}

.booking-action-area #calendar-navigator table tr .date-pick.today {
  color: var(--booking-selection);
  background: transparent;
  border-color: var(--booking-selection-border);
  font-weight: 600;
}

.booking-action-area #calendar-navigator table tr .date-pick.today::after {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bs-accent);
}

.booking-action-area #calendar-navigator table tr .date-pick:hover,
.booking-action-area #calendar-navigator table .nav-btn:hover {
  color: var(--booking-selection);
  background: var(--booking-selection-soft);
}

.booking-action-area #calendar-navigator table tr .date-pick.selected,
.booking-action-area #calendar-navigator table tr .date-pick.selected:hover,
.booking-action-area #calendar-navigator table tr .date-pick:active {
  background: var(--booking-selection);
  color: #fff;
  border-color: var(--booking-selection);
  border-radius: 36px;
  opacity: 1;
}

.booking-action-area #booking-filter-group-area-staff {
  /* padding: 0 14px 12px; */
  background: var(--bs-surface-bg);
}

.booking-action-area .booking-filter-group-area.filter-tech.opening .form-search-tech-filter {
  min-height: 38px;
  max-height: 38px;
  margin: 6px 14px 8px;
  opacity: 1;
  border: 1px solid var(--booking-selection-border);
  border-radius: 6px;
  background: var(--bs-surface-bg);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.booking-action-area .booking-filter-group-area.filter-tech .form-search-tech-filter:focus-within {
  border: 1px solid var(--booking-selection);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--booking-selection), transparent 88%);
}

.booking-action-area .booking-filter-group-area.filter-tech .form-search-tech-filter i {
  min-width: 36px;
  height: 36px;
  font-size: 13px;
  color: var(--booking-selection);
}

.booking-action-area .booking-filter-group-area.filter-tech .form-search-tech-filter input {
  font-size: 12px;
  font-weight: 400;
}

.booking-action-area .booking-filter-group-area.filter-tech .form-search-tech-filter input::placeholder {
  color: var(--bs-text-muted);
  opacity: 0.72;
}

.booking-action-area #booking-filter-group-area-staff .tech-list-calendar {
  min-height: 46px;
  max-height: none;
  padding: 6px 4px;
  gap: 12px;
  margin: 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--booking-selection-border), transparent 55%);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.booking-action-area #booking-filter-group-area-staff .tech-list-calendar:has(input:checked) {
  background: transparent;
}

.booking-action-area #booking-filter-group-area-staff .tech-list-calendar:hover {
  background: var(--booking-selection-soft);
  border-radius: 6px;
}

.booking-action-area #booking-filter-group-area-staff .tech-list-calendar.selectAll {
  min-height: 54px;
  border-bottom-color: var(--booking-selection-border);
  background: transparent;
  margin-bottom: 4px;
  padding: 7px 4px 9px;
}

.booking-action-area #booking-filter-group-area-staff .tech-list-calendar.selectAll .quick-info-tech p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.booking-action-area #booking-filter-group-area-staff .tech-list-calendar.selectAll .turn {
  color: var(--bs-text-muted);
}

.booking-action-area #booking-filter-group-area-staff .tech-list-calendar.selectAll .turn strong {
  color: var(--booking-selection);
}

.booking-action-area #booking-filter-group-area-staff .tech-list-calendar:last-child {
  border-bottom-color: transparent;
}

.booking-action-area #booking-filter-group-area-staff .tech-list-calendar.selectAll:hover {
  border-radius: 6px;
  background: var(--booking-selection-soft);
}

.booking-action-area #booking-filter-group-area-staff .quick-info-tech {
  min-width: 0;
  height: auto;
  gap: 2px;
}

.booking-action-area #booking-filter-group-area-staff .quick-info-tech p {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.booking-action-area #booking-filter-group-area-staff .quick-info-tech .turn {
  font-size: 11px;
  font-style: normal;
}

.booking-action-area #booking-filter-group-area-staff .color-tech {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  font-size: 11px;
}

.booking-action-area #booking-filter-group-area-staff .container--checkbox {
  flex: 0 0 24px;
  width: 24px;
  height: 28px;
}

.booking-action-area #booking-filter-group-area-staff .checkmark {
  width: 20px;
  height: 20px;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.35;
}

.booking-action-area #booking-filter-group-area-staff input:checked ~ .checkmark {
  background: transparent;
  border: 0;
  opacity: 1;
}

.booking-action-area #booking-filter-group-area-staff .checkmark::after {
  display: block;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 11px;
  border-color: var(--booking-selection);
  border-width: 0 2px 2px 0;
}

.booking-action-area #booking-filter-group-area-staff input:not(:checked) ~ .checkmark::after {
  display: none;
}

.booking-action-area #booking-filter-group-area-staff input:not(:checked) ~ .checkmark {
  width: 10px;
  height: 10px;
  border: 1px solid var(--bs-body-color);
  border-radius: 50%;
}

.booking-action-area #booking-filter-group-area-staff .tech-list-calendar:has(input:focus-visible) {
  outline: 1px solid var(--booking-selection);
  outline-offset: -1px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .booking-action-area #calendar-navigator table tr .date-pick {
    transition: none;
  }
}

.header-title-calendar {
  display: flex;
  gap: var(--px-12);
  align-items: center;
}

.header-title-calendar p {
  font: normal normal 500 var(--s-20);
}

.header-title-calendar svg {
  height: var(--px-40);
}

.header-title-calendar .icon-cal {
  width: var(--px-40);
  position: relative;
  height: var(--px-40);
  flex: 0 0 var(--px-40);
}

.header-title-calendar .icon-cal svg {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
}

.header-title-calendar .booking-mark-binding {
  fill: var(--bs-main-200);
}

.header-title-calendar .booking-mark-body {
  fill: url(#bookingMarkSurface);
}

.header-title-calendar .booking-mark-light {
  stop-color: color-mix(in srgb, color-mix(in srgb, var(--bs-main), var(--bs-accent) 20%), white 24%);
}

.header-title-calendar .booking-mark-mid {
  stop-color: color-mix(in srgb, color-mix(in srgb, var(--bs-main), var(--bs-accent) 7%), white 5%);
}

.header-title-calendar .booking-mark-fold {
  stop-color: color-mix(in srgb, var(--bs-main), white 9%);
}

.header-title-calendar .booking-mark-base {
  stop-color: var(--bs-main);
}

.header-title-calendar span.day-append-calendar-generate {
  top: 55%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: inherit;
  font-size: var(--px-18);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: lining-nums proportional-nums;
  color: #fff;
  z-index: 1;
  letter-spacing: 0;
  pointer-events: none;
}

.booking-header-panel {
  display: flex;
  grid-column: span 3;
  gap: var(--px-24);
  align-items: center;
  padding: 0px var(--px-8);
  /* border-bottom: 1px solid var(--bs-border-color); */
}

.btn-accept-drag-appointment {
  position: absolute;
  background: white;
  height: var(--px-32);
  width: var(--px-32);
  border-radius: var(--px-32);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: var(--bs-dark);
  font-weight: 800;
  top: calc(-1 * var(--px-18));
  right: calc(-1 * var(--px-16));
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 2px 10px var(--bs-gray-500);
}

.btn-accept-drag-appointment i {
  font-weight: 300;
}

.notice-tech-is-unavailable {
  display: flex;
  gap: var(--px-12);
  align-items: center;
  padding: var(--px-12);
  border-radius: var(--px-8);
  background: var(--tx-wait-o);
  font: normal normal 500 var(--s-14);
  position: sticky;
  bottom: var(--px-12);
  margin: 0 var(--px-12);
  z-index: 1;
}

.notice-tech-is-unavailable i {
  color: var(--tx-wait);
  font-size: var(--px-20);
}

#navbar-append-follow-page {
  z-index: 12;
  margin: 0 !important;
  display: flex;
  gap: var(--px-4);
  flex-direction: row;
  flex: 1;
}

#navbar-append-follow-page .booking-filter-group-area {
  z-index: 1;
  display: flex;
  gap: var(--px-30);
  flex-direction: row;
}

#navbar-append-follow-page li.flx-end {
  width: 100%;
  display: flex;
  gap: var(--px-16);
  align-items: center;
  justify-content: end;
}

#navbar-append-follow-page .nav-item {
  gap: 10px;
  display: flex;
  align-items: center;
}

#navbar-append-follow-page #select-date-navbar-calendar {
  border-radius: 8px;
  cursor: pointer;
  padding: var(--px-8);
  color: var(--bs-text);
  justify-content: center;
  background: 0;
}

#navbar-append-follow-page #select-date-navbar-calendar.noClick {
  background: unset;
  opacity: 1;
}

#navbar-append-follow-page #select-date-navbar-calendar.noClick i {
  display: none;
}

#navbar-append-follow-page .text-28 {
  font: normal normal 500 var(--s-16);
}

#navbar-append-follow-page .btn-view-calendar-date {
  padding: 0px;
  border: none;
  display: flex;
  overflow: hidden;
  width: var(--px-40);
  align-items: center;
  height: var(--px-40);
  justify-content: center;
  border-radius: var(--px-32);
  color: var(--bs-text);
  background: inherit;
}

#navbar-append-follow-page .btn-view-calendar-today {
  height: var(--px-40);
  background: inherit;
  color: var(--bs-text);
  border: 1px solid var(--bs-text-muted);
  border-radius: var(--px-24);
  font: normal normal 500 var(--s-13);
  padding: 0 var(--px-24);
}

#navbar-append-follow-page .btn-setting-calendar {
  border: none;
  overflow: hidden;
  opacity: 1;
  padding: 0px;
  height: var(--px-36);
  width: var(--px-36);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-surface-bg);
}

#navbar-append-follow-page .btn-setting-calendar i {
  font-size: var(--px-24);
  color: var(--bs-text);
}

#navbar-append-follow-page button {
  outline: unset;
  border: 1px solid transparent;
}

#navbar-append-follow-page button:hover {
  outline: unset;
  border: 1px solid var(--bs-border-color);
}

.search-form-salon {
  border: 0px;
  padding: 0px;
  grid-area: s;
  display: flex;
  box-shadow: unset;
  flex-flow: row;
  transition: all 0.3s ease 0s;
  align-items: center;
  height: var(--px-40);
  border-radius: 4px;
  overflow: hidden;
  justify-content: flex-end;
}

.search-form-salon i {
  padding: 4px;
  display: flex;
  cursor: pointer;
  background: unset;
  width: var(--px-40);
  align-items: center;
  height: var(--px-32);
  color: var(--bs-text);
  justify-content: center;
  font-size: var(--px-20);
}

.search-form-salon i:hover {
  background: var(--bs-surface-bg);
  border-radius: var(--px-100);
  height: var(--px-40);
}

.search-form-salon i.fa-chevron-right {
  display: none;
}

.search-form-salon input.input-search {
  width: 0px;
  padding: 0px;
  font: normal normal 500 var(--s-14);
  border: 0px !important;
  outline: 0px !important;
  box-shadow: unset !important;
}

.search-form-salon.active {
  box-shadow: unset;
  background: var(--bs-gray-200);
  justify-content: flex-start;
  border-radius: var(--px-20);
  font: normal normal 600 var(--s-15);
  height: var(--px-40);
}

.search-form-salon.active i {
  color: var(--bs-text);
  border-right: 1px solid var(--theme-mode-border);
}

.search-form-salon.active:not(.navbar) i.fa-magnifying-glass {
  display: none;
}

.search-form-salon.active i.fa-chevron-right {
  display: flex;
}

.search-form-salon.active.navbar input.input-search {
  width: var(--px-250);
  height: 100%;
  padding: 10px;
}

/* Size scrollbar */
.booking-page-body .booking-calendar-area::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Track ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“ mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â·c ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹nh trong suÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œt */
.booking-page-body .booking-calendar-area::-webkit-scrollbar-track {
  background: transparent;
}

/* Thumb ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“ mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â·c ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹nh ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©n */
.booking-page-body .booking-calendar-area::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

/* Hover vÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â o container ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ hiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡n scrollbar xÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡m nhÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ */
.booking-page-body .booking-calendar-area:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
}

/* Hover trÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â±c tiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¿p vÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â o thumb */
.booking-page-body .booking-calendar-area::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

/* ===== Stats Booking ===== */
.stats-booking {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 var(--px-24);
  justify-content: flex-end;
}

.stats-booking .stats-bar {
  display: flex;
  align-items: center;
  gap: var(--px-32);
}

.stats-booking .stat-item {
  display: flex;
  align-items: center;
  gap: var(--px-12);
}

.stats-booking .stat-icon {
  width: var(--px-36);
  height: var(--px-36);
  border-radius: var(--px-8);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bs-border-color);
}

.stats-booking .bg-blue {
  background: var(--accent-blue-bg);
  color: var(--accent-blue);
}

.stats-booking .bg-purple {
  background: #ece9ff;
  color: var(--bs-purple);
}

.stats-booking .bg-orange {
  background: #ffe3bf;
  color: var(--bs-orange);
}

.stats-booking .icon {
  width: var(--px-16);
  height: var(--px-16);
  stroke-width: 2;
}

.stats-booking .icon-small {
  width: var(--px-12);
  height: var(--px-12);
  margin-right: 2px;
}

.stats-booking .icon-blue {
}

.stats-booking .icon-purple {
  stroke: #7c3aed;
}

.stats-booking .icon-orange {
  stroke: #ea580c;
}

.stats-booking .stat-label {
  letter-spacing: 0.08em;
  color: var(--bs-text-muted);
  font: normal normal 500 var(--s-10);
  text-transform: uppercase;
}

.stats-booking .stat-value-row {
  display: flex;
  align-items: baseline;
  gap: var(--px-8);
}

.stats-booking .stat-value {
  font-size: var(--px-16);
  font-weight: 700;
  color: var(--bs-text);
}

.stats-booking .stat-growth {
  font-size: var(--px-12);
  font-weight: 500;
  color: #16a34a;
  display: flex;
  align-items: center;
}

.right-side-panel-action {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

.right-side-panel-action .group-btn-action {
  flex: 1;
  display: flex;
  gap: var(--px-20);
  justify-items: center;
  flex-direction: column;
  align-items: center;
  max-width: var(--px-60);
}

.right-side-panel-action .btn-toggle-setting-form {
  border-radius: 100%;
  width: var(--px-40);
  height: var(--px-40);
  display: flex;
  align-items: center;
  justify-content: center;
  background: 0;
  position: relative;
}

.right-side-panel-action .btn-toggle-setting-form.active {
  background: var(--bs-main-100);
  overflow: unset;
}

.right-side-panel-action .btn-toggle-setting-form.active::after {
  content: "";
  position: absolute;
  background: var(--bs-main-500);
  height: 100%;
  border-radius: 3px;
  width: 5px;
  right: calc(-1 * var(--px-12));
}

.right-side-panel-action .group-btn-action .btn-toggle-setting-form:hover {
  background: var(--bs-body-bg);
}

.right-side-panel-action .btn-toggle-setting-form i {
  font-size: var(--px-20);
}

.right-side-panel-action .btn-toggle-setting-form i.fa-calendar-plus {
  font-size: var(--px-20);
  color: #f05a7e;
}

.right-side-panel-action .btn-toggle-setting-form.navigation {
  color: var(--bs-main);
}

.right-side-panel-action .btn-toggle-setting-form.setting {
  color: var(--bs-text-muted);
}

.right-side-panel-action .btn-toggle-setting-form.adjust {
  color: var(--bs-main-500);
}

.right-side-panel-action .btn-toggle-setting-form.more {
  color: var(--bs-gray-700);
}

.right-side-panel-action .btn-toggle-setting-form.wait-list {
  color: #289bff;
}

.right-side-panel-action .divider {
  height: 1px;
  width: calc(100% - var(--px-28));
  background: var(--bs-border-strong);
}

.right-side-panel-body {
  display: none;
}

.right-side-panel-body .side-panel-header {
  padding: 8px 4px 4px;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  flex-shrink: 0;
  color: var(--bs-text);
}

.right-side-panel-body .side-panel-header button {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--bs-border-color);
  border-radius: 10px;
  color: var(--bs-text);
  background: var(--bs-surface-bg);
}

.booking-settings-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-settings-heading p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.booking-settings-heading small,
.booking-view-note {
  font-size: 12px;
  color: var(--pos-muted, var(--bs-text-muted, #64748b));
}

.booking-settings-heading-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--pos-primary-soft, var(--bs-main-light));
  color: var(--pos-primary-text, var(--bs-link-color));
  font-size: 18px;
}

.booking-view-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  margin: 0 0 8px;
}

.right-side-panel-body .side-panel-append {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.right-side-panel-body [hidden] {
  display: none !important;
}

.booking-settings-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-shrink: 0;
  align-items: center;
  gap: 2px;
  height: 40px;
  padding: 3px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--bs-text) 12%, var(--bs-surface-bg));
}

.booking-settings-tabs button,
.booking-settings-footer button,
.booking-settings-message button {
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  padding: 9px 10px;
  background: var(--bs-surface-bg);
  color: var(--bs-text);
  font-size: 12px;
  font-weight: 600;
  min-height: 40px;
  line-height: 1.4;
  height: auto;
}

.booking-settings-tabs button {
  min-width: 0;
  min-height: 34px;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--bs-text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.booking-settings-tabs [aria-selected="true"] {
  color: var(--bs-text);
  background: var(--bs-surface-bg);
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(15 23 42 / 8%), 0 2px 6px rgb(15 23 42 / 5%);
}

.booking-settings-tabs button:hover {
  color: var(--bs-text);
}

.booking-settings-tabs button:focus-visible {
  outline: 2px solid var(--bs-main);
  outline-offset: -2px;
}

.booking-settings-tabs button::before {
  content: none;
}

.booking-settings-tabs button:active > * {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .booking-settings-tabs button {
    transition: none;
  }
}

#booking-appointment-options {
  min-height: 0;
  flex: 1;
}

.booking-settings-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  color: var(--bs-text);
  font-size: 13px;
}

.booking-settings-intro {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 14px;
  flex-shrink: 0;
  color: var(--pos-muted, var(--bs-text-muted, #64748b));
}

.booking-settings-intro p,
.booking-setting-copy small,
.booking-settings-group-heading p,
.booking-settings-footer > span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--pos-muted, var(--bs-text-muted, #64748b));
  margin: 0;
}

.booking-settings-intro p {
  font-weight: 600;
}

.booking-settings-intro p span {
  display: block;
  font-weight: 400;
}

.booking-settings-fields {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 4px;
  padding-bottom: 12px;
}

.booking-settings-group + .booking-settings-group {
  margin-top: 22px;
}

.booking-settings-group-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 2px 10px;
}

.booking-settings-group-heading h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 3px;
  color: var(--bs-text);
}

.booking-settings-group-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--pos-muted, var(--bs-text-muted, #64748b));
  background: var(--bs-surface-bg-o);
}

.booking-settings-group-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  overflow: hidden;
}

.booking-setting {
  padding: 14px;
}

.booking-setting + .booking-setting {
  border-top: 1px solid var(--bs-border-color);
}

.booking-setting--changed {
  box-shadow: inset 3px 0 var(--bs-primary);
}

.booking-setting-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
  margin: 0;
  min-height: 44px;
  line-height: 1.5;
}

.booking-setting-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.booking-setting-copy small {
  font-weight: 400;
}

.booking-setting-toggle input {
  visibility: visible;
  position: absolute;
  right: 0;
  width: 36px;
  height: 22px;
  opacity: 0;
}

.booking-setting-track {
  width: 36px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 20px;
  background: var(--pos-muted, #647080);
  padding: 4px;
}

.booking-setting-track::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
}

.booking-setting-toggle input:checked + .booking-setting-track {
  background: var(--bs-primary, #f39132);
}

.booking-setting-toggle input:checked + .booking-setting-track::before {
  transform: translateX(14px);
}

.booking-setting-toggle input:focus-visible + .booking-setting-track {
  outline: 2px solid var(--bs-primary, #f39132);
  outline-offset: 3px;
}

.booking-setting-details,
.booking-setting-children {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bs-surface-bg-o);
}

.booking-setting-children > .booking-setting {
  padding: 0;
}

.booking-setting-children > .booking-setting + .booking-setting {
  margin-top: 10px;
  padding-top: 10px;
}

.booking-setting-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.booking-setting-field + .booking-setting-field {
  margin-top: 8px;
}

.booking-setting-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.booking-setting-field input,
.booking-setting-field select,
.booking-setting-select select,
.booking-setting-select input,
.booking-setting-select textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: var(--bs-surface-bg);
  color: var(--bs-text);
  padding: 7px 10px;
  font: inherit;
  color-scheme: inherit;
}

.booking-setting-select textarea {
  resize: vertical;
  min-height: 88px;
}

.booking-setting-readonly p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--pos-muted, var(--bs-text-muted, #64748b));
}

.booking-setting [aria-invalid="true"] {
  border-color: var(--pos-noShow-border, var(--bs-danger, #dc3545));
}

.right-side-panel-body :is(button, select, input, textarea):focus-visible {
  outline: 2px solid var(--pos-primary-text, var(--bs-link-color));
  outline-offset: 2px;
}

.booking-settings-footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--bs-border-color);
  padding: 12px 0 2px;
  background: var(--bs-surface-bg);
}

.booking-settings-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.booking-settings-footer [data-book-save] {
  color: var(--pos-primary-fill-ink, #fff);
  background: var(--pos-primary-fill, var(--bs-primary));
  border-color: var(--pos-primary-fill, var(--bs-primary));
  min-width: 136px;
}

.booking-settings-footer [data-book-cancel] {
  min-width: 80px;
}

.booking-settings-footer button:hover:not(:disabled),
.booking-settings-message button:hover {
  filter: brightness(.94);
}

.booking-settings-footer button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.booking-settings-footer [role="alert"] {
  color: var(--pos-noShow-ink, var(--bs-danger, #dc3545));
}

.booking-settings-message {
  padding: 16px 8px;
  font-size: 13px;
}

.booking-page-body {
  --booking-settings-width: 420px;
  transition: all 0.3s ease 0s;
}

.booking-page-body.opening-right-side-panel {
  grid-template-columns: var(--px-240) minmax(0, 1fr) calc(var(--booking-settings-width) + var(--px-60));
}

.booking-page-body.opening-right-side-panel .right-side-panel-body {
  display: block;
  flex: 1;
  background: var(--bs-surface-bg);
  position: absolute;
  right: 0;
  top: 0;
  width: var(--booking-settings-width);
  height: 100%;
  box-shadow:
    0 4px 5px 0 rgba(0, 0, 0, 0.14),
    0 1px 10px 0 rgba(0, 0, 0, 0.12),
    0 2px 4px -1px rgba(0, 0, 0, 0.2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: var(--px-12);
  border-left: 1px solid var(--bs-border-color);
  overflow: hidden;
}

.booking-page-body.opening-right-side-panel .stats-booking {
  width: calc(80% - var(--px-460));
  flex: unset;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: var(--px-8);
}

.options-list .option-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: var(--px-12);
  padding: var(--px-8);
  border-radius: var(--px-8);
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
  height: auto;
}

.options-list .option-item:hover {
  background-color: var(--bs-surface-bg-o);
}

.options-list .option-item.option-item--selector {
}

/* Icon */
.options-list .option-item__icon {
  width: var(--px-40);
  height: var(--px-40);
  border-radius: var(--px-10);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-btn-check);
  color: var(--bs-gray-600);
  flex-shrink: 0;
}

.options-list .option-item__icon i {
  font-weight: 600;
  font-size: var(--px-16);
}

/* Content */
.options-list .option-item__content {
  flex: 1;
  min-width: 0;
}

/* Header */
.options-list .option-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--px-8);
  margin-bottom: var(--px-4);
}

/* Text */
.options-list .option-item__title {
  font: normal normal 600 var(--s-14);
  color: var(--bs-heading-color);
  margin: 0;
}

.options-list .option-item__desc {
  font: normal normal 400 var(--s-12);
  color: var(--bs-text-muted);
  margin: 0;
}

.side-panel-section-divider {
  height: 1px;
  width: 100%;
  background: var(--bs-border-strong);
  margin: var(--px-4) 0;
}

/* Toggle */
.options-list .option-item__toggle {
  width: var(--px-36);
  height: var(--px-20);
  border-radius: var(--px-100);
  background-color: var(--bs-input-border-color);
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.options-list .option-item__toggle-thumb {
  position: absolute;
  top: var(--px-2);
  left: var(--px-2);
  width: var(--px-16);
  height: var(--px-16);
  background-color: var(--bs-surface-bg);
  border-radius: 50%;
  box-shadow: var(--bs-shadow-xs);
  transition: transform 0.2s ease;
}

/* Active state */
.options-list .option-item__toggle--active {
  background-color: var(--bs-main);
}

.options-list .option-item__toggle--active .option-item__toggle-thumb {
  transform: translateX(var(--px-16));
}

/* ===== OPTIMIZED ANIMATIONS ===== */

/* Ultra-smooth fade scale animation */
@keyframes fadeScale {
  0% {
    opacity: 0.88;
    transform: scale(0.992) translateY(-1px);
    filter: brightness(0.985);
  }

  55% {
    opacity: 0.96;
    transform: scale(1.008);
    filter: brightness(1.015);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: brightness(1);
  }
}

/* Subtle glow effect */
@keyframes subtleGlow {
  0%,
  100% {
    box-shadow:
      0 1px 3px rgba(0, 0, 0, 0.06),
      0 2px 6px rgba(0, 0, 0, 0.04);
  }

  50% {
    box-shadow:
      0 2px 8px rgba(24, 119, 243, 0.12),
      0 4px 12px rgba(24, 119, 243, 0.08);
  }
}

/* Elegant shimmer effect */
@keyframes shimmer {
  0% {
    left: -100%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Smooth fade in */
@keyframes smoothFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(1px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ===== TICKET CARD TRANSITIONS ===== */

.box-tix-appt-book {
  transition:
    background 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.25s ease;
  will-change: background, box-shadow;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Service item transition */
.box-tix-appt-book .ser {
  transition:
    background 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: background, transform;
  backface-visibility: hidden;
}

.box-tix-appt-book .ser:hover {
  transform: scale(1.012) translateZ(0);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.06);
}

/* ===== COLOR TRANSITIONING STATE ===== */

.box-tix-appt-book.color-transitioning {
  position: relative;
  overflow: hidden;
}

.box-tix-appt-book.color-transitioning::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 60%,
    transparent 100%
  );
  animation: shimmer 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

/* ===== TOGGLE INTERACTIONS ===== */

.option-item__toggle {
  transition:
    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-item__toggle--active {
  box-shadow:
    0 0 0 3px rgba(58, 152, 33, 0.08),
    0 2px 6px rgba(58, 152, 33, 0.15),
    0 1px 3px rgba(58, 152, 33, 0.1);
}

.option-item__toggle-thumb {
  transition:
    transform 0.32s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
}

.option-item__toggle--active .option-item__toggle-thumb {
  box-shadow:
    0 2px 5px rgba(58, 152, 33, 0.25),
    0 1px 3px rgba(58, 152, 33, 0.15);
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .box-tix-appt-book,
  .box-tix-appt-book .ser,
  .option-item__toggle,
  .option-item__toggle-thumb {
    will-change: auto !important;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Force GPU acceleration for smooth animations */
.box-tix-appt-book,
.box-tix-appt-book .ser,
.option-item__toggle-thumb {
  transform: translateZ(0);
}

/* Prevent layout shifts during animation */
.box-tix-appt-book.color-transitioning {
  contain: layout style paint;
}

/* Color selector buttons */
.option-item--selector .color-selector-group {
  display: flex;
  gap: var(--px-8);
  margin-top: var(--px-8);
  /* flex-direction: column; */
  padding: var(--px-4);
  background: var(--bs-gray-100);
  border-radius: var(--px-16);
  border: 1px solid var(--bs-border-color);
}

.color-selector-group .color-selector-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--px-8);
  padding: var(--px-8);
  border-radius: var(--px-12);
  background: transparent;
  color: var(--bs-text-muted);
  font: normal normal 500 var(--s-12);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: auto;
}

.color-selector-btn i {
  font-size: 14px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.color-selector-btn:hover {
  border-color: var(--bs-main-300);
  background: var(--bs-main-50);
  color: var(--bs-main);
  transform: translateY(-2px);
}

.color-selector-btn:hover i {
  transform: scale(1.1);
}

.color-selector-btn.active {
  color: var(--bs-main);
  font-weight: 600;
  background: var(--bs-surface-bg);
}

.color-selector-btn.active i {
  transform: scale(1.15);
}

.right-side-panel-body .color-selector-group {
  background: var(--bs-surface-2-bg);
}

.right-side-panel-body .color-selector-btn {
  border: 1px solid transparent;
  color: var(--pos-muted, var(--bs-text-muted));
}

.right-side-panel-body .color-selector-btn:hover,
.right-side-panel-body .color-selector-btn.active {
  border-color: var(--bs-border-color);
  background: var(--pos-primary-soft, var(--bs-main-light));
  color: var(--pos-primary-text, var(--bs-link-color));
  transform: none;
}

.right-side-panel-body .color-selector-btn:focus-visible {
  outline: 2px solid var(--pos-primary-text, var(--bs-link-color));
  outline-offset: 2px;
}

.right-side-panel-body .codex-slider {
  --codex-blue: var(--pos-primary-fill, var(--bs-main));
}

.right-side-panel-body .codex-slider-track {
  background: var(--bs-surface-2-bg);
}

.right-side-panel-body .codex-slider-range {
  background: var(--codex-blue);
}

.right-side-panel-body .codex-slider-thumb {
  background: var(--bs-surface-bg);
}

.right-side-panel-body .codex-slider-tick {
  background: var(--pos-muted, var(--bs-text-muted));
}

.right-side-panel-body .codex-slider-tick[data-selected="true"],
.right-side-panel-body .codex-slider-particle {
  background: var(--pos-primary-fill-ink, #fff);
}

.option-item__desc--dynamic {
  font: normal normal 600 var(--s-11);
  color: var(--bs-main);
  padding: var(--px-4) var(--px-8);
  background: var(--bs-main-50);
  border-radius: var(--px-4);
  display: inline-block;
  margin-top: var(--px-4);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.booking-page-body.create-appointment {
  width: calc(100% - var(--w-popup));
  grid-template-columns: var(--px-240) 1fr 4px;
}

.booking-page-body.create-appointment .booking-header-panel,
.booking-page-body.create-appointment .right-side-panel-action {
  opacity: 0.4;
  pointer-events: none;
}

.booking-page-body.create-appointment .right-side-panel-action {
  display: none;
}

.booking-page-body .box-tix-appt-book.tix-fold.appointment-preview {
  --tix-border: color-mix(in srgb, var(--tix-accent, #71d256) 48%, rgba(23, 33, 29, 0.15));
  opacity: 0.96;
  pointer-events: none;
  cursor: default;
}

/* Tech focus while booking: highlight the booked columns, fade the other techs' tickets */
.booking-page-body #calendar-view-area.has-tech-focus .box-tix-appt-book:not(.tech-focus, .appointment-preview) {
  opacity: 0.4;
}

.booking-page-body #calendar-view-area :is(.col-calendar, .ui-tech-column) {
  --focus-hue: var(--tech-color, var(--bs-main));
}

.booking-page-body #calendar-view-area .col-calendar.tech-focus:not(.noScroll) {
  box-shadow:
    inset 1px 0 0 color-mix(in srgb, var(--focus-hue) 22%, transparent),
    inset -1px 0 0 color-mix(in srgb, var(--focus-hue) 22%, transparent),
    inset 0 0 0 9999px color-mix(in srgb, var(--focus-hue) 2.5%, transparent);
}

.booking-page-body #calendar-view-area .col-calendar.tech-focus-active:not(.noScroll) {
  box-shadow:
    inset 1px 0 0 color-mix(in srgb, var(--focus-hue) 38%, transparent),
    inset -1px 0 0 color-mix(in srgb, var(--focus-hue) 38%, transparent),
    inset 0 0 0 9999px color-mix(in srgb, var(--focus-hue) 4.5%, transparent);
}

.booking-page-body #calendar-view-area .ui-tech-column:not(.noScroll) :is(.photo, .name) {
  transition: opacity 180ms ease-out, box-shadow 180ms ease-out;
}

.booking-page-body #calendar-view-area .ui-tech-column.tech-focus:not(.noScroll) {
  background: linear-gradient(
    to bottom,
    var(--bs-surface-bg) 0%,
    color-mix(in srgb, var(--focus-hue) 6%, var(--bs-surface-bg)) 100%
  );
}

/* Short tab under the name instead of a full-width bar */
.booking-page-body #calendar-view-area .ui-tech-column.tech-focus:not(.noScroll)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 24px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: color-mix(in srgb, var(--focus-hue) 55%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.booking-page-body #calendar-view-area .ui-tech-column.tech-focus-active:not(.noScroll)::before {
  width: 32px;
  background: var(--focus-hue);
}

.booking-page-body #calendar-view-area .ui-tech-column.tech-focus-active:not(.noScroll) .photo {
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--focus-hue) 16%, transparent);
}

.booking-page-body #calendar-view-area .ui-tech-column.tech-focus-active:not(.noScroll) .name-text {
  font-weight: 700;
}

.booking-page-body #calendar-view-area.has-tech-focus .ui-tech-column:not(.tech-focus, .noScroll) :is(.photo, .name) {
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  .booking-page-body #calendar-view-area .col-calendar:not(.noScroll),
  .booking-page-body #calendar-view-area .ui-tech-column:not(.noScroll) :is(.photo, .name) {
    transition: none;
  }
}

.booking-page-body .box-tix-appt-book.tix-fold.appointment-preview::before {
  border-style: dashed;
  border-color: var(--tix-border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 33, 29, 0.04);
}

.booking-page-body .box-tix-appt-book.tix-fold.appointment-preview .tix-preview-empty {
  color: var(--tix-muted, #69756f);
  font-style: italic;
}

/* Preview motion: draft fades in, saved settles solid, then hands over to the real ticket */
.booking-page-body .box-tix-appt-book.tix-fold.appointment-preview.preview-enter {
  animation: qb-preview-enter 200ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.booking-page-body .box-tix-appt-book.tix-fold.appointment-preview.preview-saved {
  opacity: 1;
  transition: opacity 180ms ease-out;
  animation: qb-preview-settle 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.booking-page-body .box-tix-appt-book.tix-fold.appointment-preview.preview-saved::before {
  border-style: solid;
  border-color: var(--tix-accent, var(--bs-main));
  box-shadow: 0 4px 12px rgba(23, 33, 29, 0.08);
}

.booking-page-body .box-tix-appt-book.tix-fold.appointment-preview.preview-leaving {
  opacity: 0;
}

@keyframes qb-preview-enter {
  from {
    opacity: 0;
    translate: 0 4px;
  }
}

@keyframes qb-preview-settle {
  0% {
    scale: 0.97;
  }
  60% {
    scale: 1.01;
  }
  100% {
    scale: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-page-body .box-tix-appt-book.tix-fold.appointment-preview:is(.preview-enter, .preview-saved) {
    animation: none;
  }
}

.select-date-time {
  flex: 1;
  display: flex;
  gap: var(--px-12);
  align-items: center;
  justify-content: flex-end;
}

.select-date-time .btn-select {
  width: unset;
  background: var(--bs-surface-2-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--px-8);
  color: var(--bs-text);
  padding: var(--px-12);
  min-width: var(--px-104);
}

.select-date-time .btn-select i {
  color: var(--bs-text-muted);
  font-weight: 300;
}

.select-date-time .fa-pipe {
  color: var(--bs-border-color);
  font-weight: 400;
  font-size: var(--px-20);
}

.item-detail .price-service {
  font: normal normal 700 var(--s-16);
  color: var(--bs-text);
}

div.form-select-service-append .categories-box-list .service-item-box.is-addon {
  background: var(--bs-main-100);
}

.group-btn-timeoff {
  display: flex;
  gap: var(--px-12);
  align-items: center;
  padding: var(--px-12);
  grid-column: span 2;
  padding-bottom: 0;
}

.group-btn-timeoff .save-time-off {
  background: var(--bs-main);
  color: white;
}

/* ===================== Calendar / List view switcher ===================== */

.view-mode-switch {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 106px;
  height: 40px;
  flex: 0 0 106px;
  padding: 3px;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 22px;
  background: color-mix(in srgb, var(--bs-text) 12%, var(--bs-surface-bg));
  border: 0;
}

.view-mode-switch::before {
  content: "";
  position: absolute;
  inset: 3px auto 3px 3px;
  width: calc((100% - 6px) / 2);
  border-radius: 20px;
  background: var(--bs-surface-bg);
  box-shadow: 0 1px 2px rgb(15 23 42 / 8%), 0 2px 6px rgb(15 23 42 / 5%);
  pointer-events: none;
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1);
}

.view-mode-switch:has([data-view="list"][aria-pressed="true"])::before {
  transform: translateX(100%);
}

.view-mode-switch::after {
  content: none;
}

#view-mode-switch .view-mode-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  color: var(--bs-text-muted);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
  font-size: 14px;
  min-height: unset;
}

#view-mode-switch .view-mode-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  pointer-events: none;
}

#view-mode-switch .view-mode-btn:hover {
  background: transparent;
  color: var(--bs-text);
}

#view-mode-switch .view-mode-btn[aria-pressed="true"] {
  color: var(--bs-text);
  background: transparent;
}

#view-mode-switch .view-mode-btn:focus-visible {
  outline: 2px solid var(--bs-main);
  outline-offset: -4px;
  border-radius: 20px;
}

#view-mode-switch .view-mode-btn::before {
  content: none;
}

#view-mode-switch .view-mode-btn:active > * {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  #view-mode-switch::before,
  #view-mode-switch .view-mode-btn {
    transition: none;
  }
}

/* ===================== List view (agenda) ===================== */

.booking-page-body #calendar-view-area {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
}

.booking-page-body[sidecalendar="closed"] #calendar-view-area,
.booking-page-body.create-appointment #calendar-view-area {
  grid-column: 1 / 3;
}

.booking-page-body #calendar-view-area.calendar-view-inactive {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .booking-page-body[sidecalendar] #calendar-view-area {
    grid-column: 1 / -1;
  }
}

.booking-page-body .booking-list-view-area {
  display: flex;
  flex-direction: column;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  max-height: calc(100% - var(--px-8));
  padding: 0 20px 20px;
  background: var(--bs-surface-bg);
  border-radius: 0 20px 20px 0;
  border-radius: 20px;
  border: 1px solid var(--bs-border-color);
  container-type: inline-size;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  margin-left: var(--px-20);
}

.booking-page-body[sidecalendar="closed"] .booking-list-view-area,
.booking-page-body.create-appointment .booking-list-view-area {
  grid-column: 1 / 3;
}

.booking-page-body[view-mode="list"] #navbar-append-follow-page > li:has(.btn-view-calendar-today),
.booking-page-body[view-mode="list"] #navbar-append-follow-page > li:has(#select-date-navbar-calendar) {
  display: none;
}

.list-range-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 32px;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 0 12px;
  background: inherit;
  border-bottom: 1px solid var(--bs-border-color);
  backdrop-filter: blur(12px);
}

.list-range-toolbar .list-view-date-heading {
  position: static;
  min-width: 0;
  border: 0;
  padding: 0;
}

/* One segmented control: Today / Week / Month / date range trigger */
.list-range-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  height: var(--px-40);
  padding: 3px;
  border-radius: var(--px-24);
  background: color-mix(in srgb, var(--bs-text) 12%, var(--bs-surface-bg));
  isolation: isolate;
  backdrop-filter: blur(4px);
}

/* Sliding thumb; moveThumb() sets --thumb-x / --thumb-w from the active segment */
.list-range-bar::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  z-index: -1;
  width: var(--thumb-w, 0px);
  border-radius: var(--px-20);
  background: var(--bs-surface-bg);
  box-shadow:
    0 1px 2px rgb(15 23 42 / 8%),
    0 2px 6px rgb(15 23 42 / 5%);
  opacity: 0;
  transform: translateX(var(--thumb-x, 0px));
}

.list-range-bar.has-thumb::before {
  opacity: 1;
}

.list-range-bar.is-ready::before {
  transition:
    transform 300ms cubic-bezier(0.3, 0.8, 0.2, 1),
    width 300ms cubic-bezier(0.3, 0.8, 0.2, 1),
    opacity 160ms ease;
}

/* Opt out of the site-wide button ripple, clipping and :active flash */
.list-range-bar button,
.lrp button {
  z-index: auto;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}

.list-range-bar button::before,
.lrp button::before {
  content: none;
}

.list-range-bar button:active > *,
.lrp button:active > * {
  animation: none;
}

.list-range-bar .list-range-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  border-radius: var(--px-20);
  background: transparent;
  color: var(--bs-text-muted);
  font: normal normal 500 var(--s-13);
  white-space: nowrap;
  transition: color 200ms ease;
}

.list-range-bar .list-range-tab:hover,
.list-range-bar .list-range-tab[aria-pressed="true"],
.list-range-bar .list-range-trigger.is-active,
.list-range-bar .list-range-trigger[aria-expanded="true"] {
  color: var(--bs-text);
}

.list-range-bar .list-range-tab[aria-pressed="true"] {
  font-weight: 600;
}

/* Reserve the bold width so switching tabs never nudges the segments */
.list-range-bar .list-range-tab[data-label] {
  display: inline-grid;
  align-content: center;
  justify-items: center;
  gap: 0;
}

.list-range-bar .list-range-tab[data-label]::after {
  content: attr(data-label);
  height: 0;
  overflow: hidden;
  font-weight: 600;
  visibility: hidden;
}

.list-range-bar .list-range-tab:focus-visible {
  outline: 2px solid var(--bs-main);
  outline-offset: -2px;
}

.list-range-bar .list-range-trigger {
  justify-content: flex-start;
  min-width: 216px;
  margin-left: 5px;
  padding: 0 12px 0 14px;
}

.list-range-trigger::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -4px;
  width: 1px;
  background: color-mix(in srgb, var(--bs-text) 14%, transparent);
  transition: opacity 200ms ease;
}

.list-range-tab[aria-pressed="true"] + .list-range-trigger::after,
.list-range-trigger.is-active::after {
  opacity: 0;
}

.list-range-trigger > .fa-calendar {
  font-size: 13px;
  transition: color 200ms ease;
}

.list-range-trigger.is-active > .fa-calendar,
.list-range-trigger[aria-expanded="true"] > .fa-calendar {
  color: var(--bs-main);
}

.list-range-trigger-label {
  color: var(--bs-text);
  font-weight: 600;
}

.list-range-trigger-label:empty {
  display: none;
}

.list-range-trigger-dates {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

.list-range-trigger-label:not(:empty) + .list-range-trigger-dates {
  color: var(--bs-text-muted);
}

.list-range-trigger-caret {
  margin-left: auto;
  padding-left: 4px;
  font-size: 10px;
  opacity: 0.6;
  transition: transform 200ms ease;
}

.list-range-trigger[aria-expanded="true"] .list-range-trigger-caret {
  transform: rotate(180deg);
}

#list-view-rows-id {
  transition: opacity 160ms ease;
}

/* Delay the dim so fast responses swap content without a flash */
#list-view-rows-id.is-refreshing {
  opacity: 0.45;
  pointer-events: none;
  transition-delay: 120ms;
}

.lrp button:focus-visible {
  outline: 2px solid var(--bs-main);
  outline-offset: 2px;
}

/* Range picker popover */
.lrp {
  --lrp-band: color-mix(in srgb, var(--bs-main) 8%, var(--bs-surface-bg));
  --lrp-line: color-mix(in srgb, var(--bs-text) 9%, transparent);
  position: fixed;
  z-index: 1060;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(712px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  border: 1px solid var(--lrp-line);
  border-radius: 16px;
  background: var(--bs-surface-bg);
  box-shadow:
    0 1px 2px rgb(15 23 42 / 4%),
    0 16px 40px -12px rgb(15 23 42 / 18%);
  color: var(--bs-text);
  font-size: 13px;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 140ms ease,
    transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lrp[hidden] {
  display: none;
}

.lrp.is-open {
  opacity: 1;
  transform: none;
}

.lrp-body {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  min-height: 0;
  overflow: auto;
}

.lrp-presets {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px;
  border-right: 1px solid var(--lrp-line);
}

.lrp .lrp-preset {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-start;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--bs-text-muted);
  font: inherit;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  transition:
    background-color 120ms ease,
    color 120ms ease;
}

.lrp .lrp-preset:hover {
  background: color-mix(in srgb, var(--bs-text) 5%, transparent);
  color: var(--bs-text);
}

.lrp .lrp-preset[aria-pressed="true"] {
  background: var(--lrp-band);
  color: var(--bs-main-800);
  font-weight: 600;
}

.lrp-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 16px 20px;
}

/* Two columns that line up with the two months below */
.lrp-fields {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 24px;
}

.lrp-fields-sep {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: grid;
  place-items: center;
  height: 40px;
  color: var(--bs-text-muted);
  font-size: 11px;
  opacity: 0.7;
  transform: translateX(-50%);
}

.lrp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.fa-light.fa-arrow-right.lrp-fields-sep {
  transform: translate(-6px, 16px);
  color: var(--bs-main);
  font-weight: 600;
}

.lrp-field-label {
  color: var(--bs-text-muted);
  font-size: 11.5px;
  font-weight: 500;
}

.lrp-field-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--bs-border-color);
  border-radius: 10px;
  background: var(--bs-surface-bg);
  cursor: text;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.lrp-field-box i {
  color: var(--bs-text-muted);
  font-size: 13px;
}

.lrp-field.is-next .lrp-field-box {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--bs-main) 55%, var(--bs-border-color));
}

.lrp-field-box:focus-within {
  border-style: solid;
  border-color: var(--bs-main);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-main) 12%, transparent);
}

.lrp-field.is-invalid .lrp-field-box {
  border-style: solid;
  border-color: var(--bs-red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-red) 12%, transparent);
}

.lrp-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--bs-text);
  font: inherit;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.lrp-input::placeholder {
  color: var(--bs-text-muted);
  opacity: 0.6;
}

.lrp-months {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lrp .lrp-nav {
  position: absolute;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bs-text-muted);
  font-size: 12px;
  transition:
    background-color 120ms ease,
    color 120ms ease;
}

.lrp .lrp-nav:hover {
  background: color-mix(in srgb, var(--bs-text) 6%, transparent);
  color: var(--bs-text);
}

.lrp-prev {
  left: -6px;
}

.lrp-next {
  right: -6px;
}

.lrp-month-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 600;
}

.lrp-weekdays,
.lrp-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.lrp-grid {
  row-gap: 6px;
}

.lrp-weekdays span {
  display: grid;
  place-items: center;
  height: 28px;
  color: var(--bs-text-muted);
  font-size: 11px;
  font-weight: 500;
}

.lrp-cell {
  position: relative;
  display: grid;
  place-items: center;
  height: 34px;
}

.lrp-cell.in-range::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lrp-band);
}

.lrp-cell.is-preview::before {
  background: color-mix(in srgb, var(--bs-main) 6%, var(--bs-surface-bg));
}

.lrp-cell.range-start::before {
  left: 50%;
}

.lrp-cell.range-end::before {
  right: 50%;
}

.lrp-cell.in-range:nth-child(7n + 1):not(.range-start)::before {
  border-radius: 999px 0 0 999px;
}

.lrp-cell.in-range:nth-child(7n):not(.range-end)::before {
  border-radius: 0 999px 999px 0;
}

.lrp .lrp-day {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bs-text);
  font: inherit;
  font-variant-numeric: tabular-nums;
  transition:
    background-color 120ms ease,
    color 120ms ease;
}

.lrp .lrp-day:hover {
  background: color-mix(in srgb, var(--bs-text) 6%, transparent);
}

.lrp .lrp-cell.in-range .lrp-day:hover {
  background: color-mix(in srgb, var(--bs-main) 16%, transparent);
}

.lrp .lrp-day.is-today {
  color: var(--bs-main-700);
  font-weight: 600;
}

.lrp .lrp-day.is-today::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

.lrp .lrp-cell .lrp-day.is-selected,
.lrp .lrp-cell .lrp-day.is-selected:hover {
  background: var(--bs-main);
  color: #fff;
  font-weight: 600;
}

.lrp .lrp-cell.is-preview.range-end .lrp-day {
  box-shadow: inset 0 0 0 1.5px var(--bs-main);
}

.lrp-cell.is-far .lrp-day {
  opacity: 0.35;
}

.lrp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 12px 20px;
  border-top: 1px solid var(--lrp-line);
}

.lrp-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: var(--bs-text-muted);
}

.lrp-summary strong {
  overflow: hidden;
  color: var(--bs-text);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lrp-count {
  flex: none;
  font-size: 12px;
}

.lrp-count::before {
  content: "Â·";
  margin-right: 8px;
}

.lrp-actions {
  display: flex;
  flex: none;
  gap: 6px;
}

.lrp .lrp-btn {
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--px-24);
  font: inherit;
  font-weight: 600;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    color 120ms ease,
    opacity 120ms ease;
}

.lrp .lrp-btn-ghost {
  padding: 0 12px;
  background: transparent;
  color: var(--bs-text-muted);
  font-weight: 500;
}

.lrp .lrp-btn-ghost:hover {
  color: var(--bs-text);
}

.lrp .lrp-btn-outline {
  border-color: var(--bs-border-color);
  background: var(--bs-surface-bg);
  color: var(--bs-text);
  font-weight: 500;
}

.lrp .lrp-btn-outline:hover {
  background: color-mix(in srgb, var(--bs-text) 4%, var(--bs-surface-bg));
}

.lrp .lrp-btn-primary {
  background: var(--bs-main);
  color: #fff;
}

.lrp .lrp-btn-primary:hover {
  background: var(--bs-main-hover);
}

.lrp .lrp-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Phones: bottom sheet, preset chips, one month */
.lrp.is-sheet {
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 88dvh;
  border-width: 1px 0 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 0 0 100vmax rgb(15 23 42 / 32%);
  transform: translateY(24px);
}

.lrp.is-sheet.is-open {
  transform: none;
}

.lrp.is-sheet .lrp-body {
  grid-template-columns: minmax(0, 1fr);
}

.lrp.is-sheet .lrp-presets {
  flex-direction: row;
  gap: 6px;
  padding: 14px 16px 12px;
  overflow-x: auto;
  border-right: 0;
  border-bottom: 1px solid var(--lrp-line);
  scrollbar-width: none;
}

.lrp.is-sheet .lrp-preset {
  height: 32px;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
}

.lrp.is-sheet .lrp-preset[aria-pressed="true"] {
  border-color: transparent;
}

.lrp.is-sheet .lrp-main {
  padding: 16px;
}

.lrp.is-sheet .lrp-months {
  grid-template-columns: minmax(0, 1fr);
}

.lrp.is-sheet .lrp-month + .lrp-month {
  display: none;
}

.lrp.is-sheet .lrp-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}

.lrp.is-sheet .lrp-actions .lrp-btn {
  flex: 1;
}

@media (prefers-reduced-motion: reduce) {
  .lrp,
  .list-range-bar.is-ready::before,
  .list-range-bar .list-range-tab,
  .list-range-trigger-caret,
  #list-view-rows-id {
    transition: none;
  }
}

.list-range-controls {
  position: relative;
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
}

#list-range-message {
  min-height: 15px;
  padding-inline: 4px;
  color: var(--bs-text-muted);
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

#list-range-message:empty {
  display: none;
}

.list-range-group {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-width: 0;
  border-bottom: 1px solid var(--bs-border-color);
  display: flex;
  flex-direction: column;
}

.list-range-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 8px 8px 4px;
  color: var(--bs-text);
}

.list-range-day time {
  display: flex;
  align-items: center;
  gap: 10px;
}

.list-day-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--bs-text-muted);
  cursor: pointer;
}

.list-day-toggle:hover {
  background: var(--bs-surface-2-bg);
  color: var(--bs-main);
}

.list-day-toggle:focus-visible {
  outline: 2px solid var(--bs-main);
  outline-offset: 2px;
}

.list-day-toggle[aria-expanded="false"] i {
  transform: rotate(-90deg);
}

.list-range-appointments[hidden] {
  display: none;
}

.list-ticket-loading {
  pointer-events: none;
}

.list-ticket-skeleton {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(70px, 20%);
  align-items: center;
  gap: 24px;
  min-height: 88px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--bs-border-color);
}

.list-ticket-skeleton span {
  display: block;
  height: 12px;
  border-radius: 4px;
  background: var(--bs-border-color);
  animation: list-loading-pulse 1200ms ease-in-out infinite alternate;
}

.list-ticket-skeleton .list-skeleton-detail {
  width: 75%;
  height: 28px;
}

.list-range-reveal {
  animation: list-content-enter 220ms cubic-bezier(.2, .8, .2, 1) both;
}

.list-day-toggle i {
  transition: transform 180ms ease;
}

@keyframes list-loading-pulse {
  from { opacity: .35; }
  to { opacity: .8; }
}

@keyframes list-content-enter {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@container (max-width: 430px) {
  .list-ticket-skeleton {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
  }

  .list-ticket-skeleton .list-skeleton-tech {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .list-ticket-skeleton span,
  .list-range-reveal {
    animation: none;
  }

  .list-day-toggle i {
    transition: none;
  }
}

.list-range-day-number {
  min-width: 28px;
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
  text-align: center;
}

.list-range-day-label {
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0;
}

.list-range-day time[data-today="true"] {
  color: var(--bs-main-800);
}

.list-range-day time[data-today="true"] .list-range-day-number {
  border-radius: 50%;
  background: var(--bs-main);
  color: #fff;
  min-width: 32px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-range-appointments {
  min-width: 0;
  container-type: inline-size;
}

.list-range-appointments .list-view-row:last-child {
  border-bottom: 0;
}

@container (max-width: 700px) {
  .list-range-toolbar {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
  }

  .list-range-controls {
    width: 100%;
    justify-items: stretch;
  }

  .list-range-bar {
    display: flex;
    width: 100%;
  }

  .list-range-bar .list-range-tab {
    flex: 1 1 auto;
    padding: 0 12px;
  }

  .list-range-bar .list-range-trigger {
    flex: 3 1 auto;
    min-width: 0;
    justify-content: flex-start;
  }

  .list-range-trigger-caret {
    margin-left: auto;
  }

  #list-range-message {
    text-align: left;
  }

  .list-range-group {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .list-range-day {
    padding: 12px 6px 12px 0;
  }

  .list-range-day time {
    flex-direction: column;
    gap: 2px;
  }
}

.list-view-date-heading {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--bs-text);
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--bs-border-color);
  position: sticky;
  top: 0;
  background: inherit;
  z-index: 1;
  flex-shrink: 0;
}

.list-view-rows {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.list-view-row {
  display: grid;
  grid-template-columns: 112px 8px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: var(--px-72);
  padding: 12px;
  border-bottom: 1px solid var(--bs-border-color);
  cursor: pointer;
  transition: background-color 120ms ease;
}

.list-view-row:hover {
  background: var(--bs-gray-100);
}

.list-view-row:focus-visible {
  outline: 2px solid var(--bs-main);
  outline-offset: -2px;
}

.list-view-row .lvr-time {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.list-view-date-heading {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  flex-direction: column;
}

.list-summary-total {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
  font-size: 13px;
}

.list-summary-total strong {
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.list-summary-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  min-width: 0;
}

.list-summary-item strong {
  color: var(--bs-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.list-view-row .lvr-time-entry {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: baseline;
  gap: 6px;
}

.list-view-row .lvr-time-label {
  font-size: 10px;
  line-height: 1.5;
  color: var(--bs-text-muted, #6b7280);
}

.list-view-row .lvr-time .lvr-start {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--bs-text);
}

.list-view-row .lvr-time .lvr-end {
  font-size: 12px;
  line-height: 1.5;
  color: var(--bs-text-muted, #6b7280);
}

.list-view-row .lvr-bar {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--row-accent, var(--bs-main));
}

.list-view-row .lvr-body {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 30%) 100px;
  grid-template-areas:
    "client tech status"
    "service tech status";
  gap: 6px 24px;
  align-items: center;
}

.list-view-row .lvr-top {
  display: contents;
}

.list-view-row .lvr-meta {
  grid-area: tech;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.list-view-row .lvr-client {
  grid-area: client;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--bs-text);
  min-width: 0;
}

.list-summary-item,
.list-view-row .lvr-status {
  grid-area: status;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--bs-text-muted, #6b7280);
  --status-dot: #31846b;
}

.list-summary-item::before,
.list-view-row .lvr-status::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--status-dot);
}

.list-summary-item.st-wait,
.list-summary-item.st-pending,
.list-view-row .lvr-status.st-wait,
.list-view-row .lvr-status.st-pending {
  --status-dot: #b88218;
}

.list-summary-item.st-inservice,
.list-view-row .lvr-status.st-inservice {
  --status-dot: #4387bd;
}

.list-summary-item.st-noshow,
.list-view-row .lvr-status.st-noshow {
  --status-dot: var(--bs-red);
}

.list-summary-item.st-closed,
.list-summary-item.st-cancelled,
.list-summary-item.st-other,
.list-view-row .lvr-status.st-closed,
.list-view-row .lvr-status.st-cancelled {
  --status-dot: #92999f;
}

.list-view-row .lvr-service {
  grid-area: service;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--bs-text-muted, #6b7280);
  text-transform: capitalize;
}

.list-view-row .lvr-client,
.list-view-row .lvr-service {
  display: block;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.list-view-row .lvr-tech {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: var(--bs-text-muted, #6b7280);
  text-transform: capitalize;
}

.list-view-row .lvr-tech i {
  font-size: 12px;
  flex-shrink: 0;
}

.list-view-row .lvr-tech-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.list-view-row .lvr-requested {
  display: inline-block;
  margin-left: 6px;
  color: var(--bs-red);
  vertical-align: baseline;
}

.list-view-row .lvr-icons {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--bs-text-muted, #6b7280);
  font-size: 12px;
  line-height: 1.6;
}

.list-view-row .lvr-icons:empty {
  display: none;
}

.list-view-row .lvr-detail {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.list-view-row .lvr-detail > i {
  flex: 0 0 14px;
  text-align: center;
}

.list-view-row .lvr-detail > span {
  min-width: 0;
}

.list-view-row .lvr-detail strong {
  color: var(--bs-text);
  font-weight: 500;
}

.list-view-row .lvr-note {
  flex-basis: 100%;
}

.list-view-row .lvr-note-content {
  white-space: pre-wrap;
}

.list-view-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
  min-height: 200px;
  padding: 40px 16px;
  color: var(--bs-text-muted, #6b7280);
  text-align: center;
}

.list-view-empty i {
  font-size: 32px;
  color: var(--bs-text-muted, #6b7280);
  opacity: 0.5;
}

.list-view-empty p {
  font-size: 14px;
  line-height: 1.5;
}

@container (max-width: 700px) {
  .list-view-date-heading {
    align-items: flex-start;
    gap: 8px 14px;
  }

  .list-summary-total {
    font-size: 12px;
  }

  .list-summary-total strong {
    font-size: 18px;
  }

  .list-summary-counts {
    gap: 8px 14px;
  }

  .list-view-row {
    grid-template-columns: clamp(82px, 24vw, 98px) 6px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 0;
    align-items: flex-start;
  }

  .list-view-row .lvr-bar {
    width: 6px;
    height: 6px;
    align-self: start;
    margin-top: 8px;
  }

  .list-view-row .lvr-time {
    align-self: start;
    gap: 2px;
    padding-top: 1px;
  }

  .list-view-row .lvr-time-entry {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 4px;
  }

  .list-view-row .lvr-time .lvr-start {
    font-size: 12px;
  }

  .list-view-row .lvr-time .lvr-end {
    font-size: 12px;
  }

  .list-view-row .lvr-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "client" "service" "tech" "status";
    gap: 6px 10px;
    align-items: start;
  }

  .list-view-row .lvr-meta {
    width: 100%;
    gap: 6px;
  }

  .list-view-row .lvr-icons {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
  }

  .list-view-row .lvr-icons:empty {
    display: none;
  }

  .list-view-row .lvr-detail {
    width: 100%;
  }

  .list-view-row .lvr-status {
    white-space: normal;
  }
}

@container (max-width: 520px) {
  .list-view-date-heading {
    padding-block: 12px 10px;
  }

  .list-summary-total strong {
    font-size: 17px;
  }

  .list-summary-item,
  .list-view-row .lvr-status {
    font-size: 11px;
  }

  .list-view-row .lvr-client {
    font-size: 13px;
  }

  .list-view-row .lvr-service {
    font-size: 12px;
  }

  .list-view-row .lvr-tech,
  .list-view-row .lvr-icons {
    font-size: 11px;
  }
}

@container (max-width: 360px) {
  .list-range-appointments .list-view-row {
    grid-template-columns: 6px minmax(0, 1fr);
    gap: 8px;
  }

  .list-range-appointments .lvr-time {
    grid-column: 2;
    grid-row: 1;
  }

  .list-range-appointments .lvr-bar {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .list-range-appointments .lvr-body {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 1024px) {
  .booking-page-body[view-mode="list"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-page-body[view-mode="list"] .booking-header-panel {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .booking-page-body[view-mode="list"] .header-title-calendar {
    min-width: 0;
  }

  .booking-page-body[view-mode="list"] #navbar-append-follow-page {
    min-width: 0;
    flex-wrap: nowrap;
  }

  .booking-page-body[sidecalendar] .booking-list-view-area {
    grid-column: 1 / -1;
    padding-inline: 20px;
  }
}

@media (max-width: 768px) {
  .booking-page-body[sidecalendar] .booking-list-view-area {
    padding: 0 16px 88px;
    max-height: 100%;
    border-radius: 0;
    border-inline: 0;
    scroll-padding-bottom: 88px;
    margin: 0;
  }

  .list-view-date-heading {
    padding-block: 16px;
    font-size: 13px;
    align-items: center;
  }

  .list-range-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 8px 0;
  }

  .list-range-toolbar .list-view-date-heading {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .list-summary-total strong {
    font-size: 18px;
    line-height: 24px;
  }

  .list-summary-counts {
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .list-range-controls {
    justify-items: stretch;
    gap: 4px;
  }

  #list-range-message {
    min-height: 0;
    padding: 0;
    text-align: left;
    white-space: normal;
  }

  #list-range-message:empty {
    display: none;
  }

  .list-range-day {
    padding: 10px 0 6px;
  }

  .list-range-day time {
    flex-direction: row;
    gap: 8px;
  }

  .list-range-day-number,
  .list-range-day time[data-today="true"] .list-range-day-number {
    min-width: 28px;
    font-size: 15px;
    line-height: 28px;
  }

  .list-range-day-label {
    font-size: 11px;
    line-height: 16px;
  }

  .list-range-appointments .list-view-row {
    grid-template-columns: 72px 6px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 0;
    align-items: start;
  }

  .list-range-appointments .lvr-time {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0;
    gap: 3px;
  }

  .list-view-row .lvr-time-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .list-view-row .lvr-time-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .list-view-row .lvr-time .lvr-start,
  .list-view-row .lvr-time .lvr-end {
    line-height: 18px;
  }

  .list-range-appointments .lvr-bar {
    grid-column: 2;
    grid-row: 1;
    margin-top: 6px;
  }

  .list-range-appointments .lvr-body {
    grid-column: 3;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "client status" "service service" "tech tech";
    gap: 4px 8px;
    align-items: start;
  }

  .list-view-row .lvr-client {
    line-height: 18px;
  }

  .list-view-row .lvr-status {
    white-space: nowrap;
    line-height: 18px;
  }

  .list-view-row .lvr-service {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    line-height: 16px;
  }

  .list-view-row .lvr-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .list-view-row .lvr-tech,
  .list-view-row .lvr-icons {
    line-height: 16px;
  }

  .list-view-row .lvr-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    width: auto;
  }

  .list-view-row .lvr-detail {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .list-view-row {
    transition: none;
  }
}

/* Hide the calendar-only "1-hour slots" filter while in List view; it doesn't apply to an agenda list. */
.booking-page-body[view-mode="list"] .booking-filter-group-area.time-slots {
  display: none;
}

/* =====================================================================
   FOLD TICKET Ã¢â‚¬â€ calendar appointment card (display only)
   Frame = ::before, fold = ::after. Accent color is used only by the fold,
   the duration text and the duration bar.
   ===================================================================== */

.booking-page-body .box-tix-appt-book.tix-fold {
  --tix-font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tix-text: #17211d;
  --tix-muted: #69756f;
  --tix-fold-size: 16px;
  --tix-pad-r: 10px;
  --tix-pad-b: 8px;
  --tix-lift: 0px;
  --tix-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --tix-border: rgba(23, 33, 29, 0.24);
  box-sizing: border-box;
  display: block;
  padding: 0;
  overflow: visible;
  border-style: solid !important;
  border-width: 2px 0 !important;
  border-color: transparent !important;
  border-radius: 8px;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  text-decoration: none !important;
  font-family: var(--tix-font);
  color: var(--tix-text);
  cursor: pointer;
  transition: opacity 150ms ease-out;
  will-change: auto;
}

.booking-page-body .box-tix-appt-book.tix-fold:not(.noDrag) {
  cursor: grab;
}

.booking-page-body .box-tix-appt-book.tix-fold:not(.noDrag):active,
.booking-page-body .box-tix-appt-book.tix-fold.dragging {
  cursor: grabbing;
}

/* Frame */
.booking-page-body .box-tix-appt-book.tix-fold::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1.5px solid var(--tix-border);
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(23, 33, 29, 0.04),
    0 3px 9px -2px rgba(23, 33, 29, 0.07);
  transform: translateY(var(--tix-lift));
  transition:
    transform 220ms var(--tix-ease),
    box-shadow 220ms var(--tix-ease),
    border-color 220ms var(--tix-ease);
  pointer-events: none;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-halftone {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  clip-path: inset(1.5px round 6.5px);
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(var(--tix-accent-rgb, 113, 210, 86), 0.42) 0.55px, rgba(var(--tix-accent-rgb, 113, 210, 86), 0.18) 1px, transparent 1.45px),
    radial-gradient(85% 70% at 100% 0%, rgba(var(--tix-accent-rgb, 113, 210, 86), 0.07) 0%, rgba(var(--tix-accent-rgb, 113, 210, 86), 0) 100%);
  background-size: 4px 4px, 100% 100%;
  background-position: right top, right top;
  -webkit-mask-image: radial-gradient(95% 85% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.7) 18%, rgba(0, 0, 0, 0.4) 36%, rgba(0, 0, 0, 0.18) 54%, rgba(0, 0, 0, 0.06) 70%, transparent 86%);
  mask-image: radial-gradient(95% 85% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.7) 18%, rgba(0, 0, 0, 0.4) 36%, rgba(0, 0, 0, 0.18) 54%, rgba(0, 0, 0, 0.06) 70%, transparent 86%);
  transform: translateY(var(--tix-lift));
  transition: transform 220ms var(--tix-ease);
}

/* Fold (top-right corner) Ã¢â‚¬â€ also neutralizes the legacy status overlays */
.booking-page-body .box-tix-appt-book.tix-fold::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  z-index: 3;
  display: block;
  width: var(--tix-fold-size) !important;
  height: var(--tix-fold-size);
  padding: 0;
  opacity: 1;
  background: var(--tix-accent, #71d256);
  mix-blend-mode: normal;
  border-radius: 0 8px 0 0 !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: translateY(var(--tix-lift));
  transition: transform 220ms var(--tix-ease);
  pointer-events: none;
}

/* Hover target for the fold tooltip (technician / service the color stands for) */
.booking-page-body .box-tix-appt-book.tix-fold .tix-fold-tip {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: var(--tix-fold-size);
  height: var(--tix-fold-size);
  border-radius: 0 8px 0 0;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-len="15"],
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="narrow"],
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] {
  --tix-fold-size: 11px;
}

/* Hover / selected / keyboard focus / dragging */
/* Only the visuals lift; the card's hit box stays put so hovering near an edge never flickers */
.booking-page-body
  .box-tix-appt-book.tix-fold:not(.timeOff, .dragging, .holding-to-moved, .clone-appointment-copy, .holding-to-change-duration):is(:hover, :focus-visible) {
  --tix-lift: -2px;
}

.booking-page-body .general-tix-bar.dragProcessing .box-tix-appt-book.tix-fold {
  --tix-lift: 0px;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-info-book,
.booking-page-body .box-tix-appt-book.tix-fold .tix-fold-tip,
.booking-page-body .box-tix-appt-book.tix-fold .tix-grip,
.booking-page-body .box-tix-appt-book.tix-fold .tix-resize-handle {
  transform: translateY(var(--tix-lift));
  transition: transform 220ms var(--tix-ease);
}

.booking-page-body .box-tix-appt-book.tix-fold:hover::before {
  border-color: var(--tix-accent, #71d256);
  box-shadow:
    0 8px 20px -8px rgba(23, 33, 29, 0.16),
    0 2px 5px rgba(23, 33, 29, 0.04);
  box-shadow:
    0 10px 22px -8px color-mix(in srgb, var(--tix-accent, #71d256) 30%, transparent),
    0 2px 5px rgba(23, 33, 29, 0.04);
}

.booking-page-body .box-tix-appt-book.tix-fold.is-popup,
.booking-page-body .box-tix-appt-book.tix-fold.ticket-is-showing,
.booking-page-body .box-tix-appt-book.tix-fold.tickets-is-showing,
.booking-page-body .box-tix-appt-book.tix-fold.group-is-showing,
.booking-page-body .box-tix-appt-book.tix-fold:focus-visible {
  z-index: 30;
  outline: none;
}

.booking-page-body .box-tix-appt-book.tix-fold.is-popup::before,
.booking-page-body .box-tix-appt-book.tix-fold.ticket-is-showing::before,
.booking-page-body .box-tix-appt-book.tix-fold.tickets-is-showing::before,
.booking-page-body .box-tix-appt-book.tix-fold.group-is-showing::before {
  border-color: var(--tix-accent, #71d256);
  box-shadow:
    0 0 0 1px #fff,
    0 0 0 3px var(--tix-accent, #71d256),
    0 12px 28px rgba(23, 33, 29, 0.16);
}

.booking-page-body .box-tix-appt-book.tix-fold:focus-visible::before {
  border-color: rgba(23, 33, 29, 0.3);
  box-shadow:
    0 0 0 1px #fff,
    0 0 0 3px #17211d,
    0 8px 20px rgba(23, 33, 29, 0.12);
}

.booking-page-body .box-tix-appt-book.tix-fold.dragging::before,
.booking-page-body .box-tix-appt-book.tix-fold.appointment-copy::before,
.booking-page-body .box-tix-appt-book.tix-fold.holding-to-change-duration::before {
  border-color: var(--tix-accent, #71d256);
  box-shadow: 0 12px 28px rgba(23, 33, 29, 0.16);
}

.booking-page-body .box-tix-appt-book.tix-fold.holding-to-moved::before,
.booking-page-body .box-tix-appt-book.tix-fold.clone-appointment-copy::before {
  border-style: dashed;
  border-color: rgba(23, 33, 29, 0.35);
  box-shadow: none;
}

/* Content */
.booking-page-body .box-tix-appt-book.tix-fold .tix-info-book {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 6px var(--tix-pad-r) var(--tix-pad-b) 10px;
  overflow: hidden;
  white-space: normal;
  color: var(--tix-text);
  font: 400 11px/1.25 var(--tix-font);
  font-style: normal;
  text-decoration: none;
  text-transform: capitalize;
  background: transparent !important;
  border-radius: 8px;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-info-book > * {
  flex-shrink: 0;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-len="15"] .tix-info-book,
.booking-page-body .box-tix-appt-book.tix-fold[data-len="30"] .tix-info-book {
  justify-content: center;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-len="15"] .tix-info-book {
  padding-top: 0;
  padding-bottom: 0;
}

/* Row 1: name + duration (12px reserved for the fold) */
.booking-page-body .box-tix-appt-book.tix-fold .tix-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  line-height: 15px;
}

.booking-page-body .box-tix-appt-book.tix-fold .client {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: normal;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  color: var(--tix-text);
  font: 600 12.5px/15px var(--tix-font);
}

/* Status dot (Waiting, In service, No-show, Closed, Pending, Cancelled); none for Booked */
.booking-page-body .box-tix-appt-book.tix-fold .tix-dot {
  --status-dot: #92999f;
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  vertical-align: 1.5px;
  background: var(--status-dot);
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-dot.st-wait,
.booking-page-body .box-tix-appt-book.tix-fold .tix-dot.st-pending {
  --status-dot: #b88218;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-dot.st-inservice {
  --status-dot: #4387bd;
  box-shadow: 0 0 0 2px rgba(67, 135, 189, 0.22);
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-dot.st-noshow {
  --status-dot: #d64545;
}

/* Active flow: Checked in (amber) -> In service (blue) -> Done (green); same tinted language as .tix-chip */
.booking-page-body .box-tix-appt-book.tix-fold.tix-is-checkin,
.booking-page-body .tix-legend .tix-legend-flow-checkin {
  --tix-status: #c97a12;
}

.booking-page-body .box-tix-appt-book.tix-fold.tix-is-inservice,
.booking-page-body .tix-legend .tix-legend-flow-inservice {
  --tix-status: #3474c4;
}

.booking-page-body .box-tix-appt-book.tix-fold.tix-is-done,
.booking-page-body .tix-legend .tix-legend-flow-done {
  --tix-status: #2b8a5c;
}

.booking-page-body .box-tix-appt-book.tix-fold.tix-flow::before {
  border-width: 1.5px;
  border-color: var(--status-color, var(--tix-status));
}

.booking-page-body .box-tix-appt-book.tix-fold.tix-is-inservice::before {
  border-color: var(--tix-border);
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend-frame) .tix-perimeter {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
  transform: translateY(var(--tix-lift));
  transition: transform 220ms var(--tix-ease);
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend-frame) .tix-perimeter rect {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  fill: none;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend-frame) .tix-perimeter-fill {
  stroke: var(--status-color, var(--tix-status));
  stroke-width: 1.75;
  stroke-opacity: 0.65;
  stroke-dasharray: var(--tix-fill, 0) 100;
  transition: stroke-dasharray 1s ease;
}

@property --tix-shimmer-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend-frame) .tix-perimeter-mask {
  stroke: #fff;
  stroke-width: 1.75;
  stroke-dasharray: var(--tix-fill, 0) 100;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend-frame) .tix-perimeter-shine {
  width: 100%;
  height: 100%;
  background: conic-gradient(from var(--tix-shimmer-angle),
    transparent 0deg 190deg,
    color-mix(in srgb, var(--status-color, var(--tix-status)) 25%, transparent) 235deg,
    var(--status-color, var(--tix-status)) 275deg,
    color-mix(in srgb, #fff 85%, var(--status-color, var(--tix-status))) 300deg,
    var(--status-color, var(--tix-status)) 320deg,
    transparent 360deg);
  opacity: var(--tix-shine-opacity, 0.8);
  filter: brightness(var(--tix-shine-brightness, 1)) saturate(var(--tix-shine-saturation, 1));
  transition: opacity 240ms ease, filter 240ms ease;
  animation: tix-perimeter-travel 9s linear infinite;
}

.booking-page-body .box-tix-appt-book.tix-fold.tix-is-inservice:is(:hover, :focus-visible) {
  --tix-shine-opacity: 1;
  --tix-shine-brightness: 1.35;
  --tix-shine-saturation: 1.15;
}

@keyframes tix-perimeter-travel {
  from { --tix-shimmer-angle: 0deg; }
  to { --tix-shimmer-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend-frame) .tix-perimeter-fill {
    transition: none;
  }

  .booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend-frame) .tix-perimeter-shine {
    animation: none;
    transition: none;
    display: none;
  }

}

.booking-page-body .box-tix-appt-book.tix-fold .tix-st {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  /* negative block margins keep the margin box at the 15px head line height */
  margin: -0.5px 5px -0.5px 0;
  border-radius: 50%;
  vertical-align: top;
  color: var(--tix-status, #6b7570);
  background: rgba(23, 33, 29, 0.07);
  background: color-mix(in srgb, var(--tix-status, #6b7570) 15%, #fff);
  box-shadow: inset 0 0 0 1px rgba(23, 33, 29, 0.08);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tix-status, #6b7570) 26%, transparent);
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-st .tix-ico {
  display: block;
  width: 11px;
  height: 11px;
  stroke-width: 2.6;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-st-done .tix-ico {
  width: 10px;
  height: 10px;
  stroke-width: 3.2;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-st-inservice .tix-ico {
  width: 8px;
  height: 8px;
  margin-left: 1px;
  fill: currentColor;
  stroke-width: 3;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-st-inservice {
  animation: tix-live 2.4s ease-out infinite;
}

@keyframes tix-live {
  0% {
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--tix-status, #3474c4) 26%, transparent),
      0 0 0 0 color-mix(in srgb, var(--tix-status, #3474c4) 40%, transparent);
  }
  70%,
  100% {
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--tix-status, #3474c4) 26%, transparent),
      0 0 0 5px transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-page-body .box-tix-appt-book.tix-fold .tix-st-inservice {
    animation: none;
  }
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-name-short,
.booking-page-body .box-tix-appt-book.tix-fold .tix-name-first,
.booking-page-body .box-tix-appt-book.tix-fold .tix-head-svc,
.booking-page-body .box-tix-appt-book.tix-fold .tix-unit-m,
.booking-page-body .box-tix-appt-book.tix-fold .tix-dur-start,
.booking-page-body .box-tix-appt-book.tix-fold .tix-time-short {
  display: none;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-len="15"][data-fit="full"] .tix-head-svc {
  display: inline;
  font-weight: 400;
  color: var(--tix-text);
  text-transform: none;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-dur {
  display: inline-flex;
  flex: none;
  align-items: baseline;
  color: var(--tix-text, #17211d);
  white-space: nowrap;
  text-transform: none;
  font-variant-numeric: tabular-nums;
  line-height: 15px;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-dur b {
  font-size: 13px;
  font-weight: 700;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-unit {
  margin-left: 1px;
  font-size: 8.5px;
  font-weight: 600;
}

/* Services */
.booking-page-body .box-tix-appt-book.tix-fold .tix-svcs {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: auto;
  gap: 2px;
  margin: 5px 0 0;
  padding: 0;
  overflow: visible;
  text-transform: none;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-svc {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  color: var(--tix-muted);
  font: 400 11px/14px var(--tix-font);
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-svc[hidden] {
  display: none;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-svc::before {
  content: "";
  flex: none;
  align-self: flex-start;
  width: 4px;
  height: 4px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--tix-accent, #71d256);
  opacity: 0.75;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-svc-text {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-more {
  flex: none;
  align-self: last baseline;
  color: rgba(23, 33, 29, 0.4);
  font-size: 10px;
  font-weight: 600;
  text-transform: none;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-len="60"][data-fit="full"] .tix-svc-text {
  white-space: normal;
  overflow-wrap: anywhere;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-len="60"][data-fit="narrow"] .tix-svc-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Footer (pinned to the bottom): status pill + icons */
.booking-page-body .box-tix-appt-book.tix-fold .tix-foot {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  margin-top: auto;
  padding-top: 4px;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-meta {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
}

/* Time row under the client name */
.booking-page-body .box-tix-appt-book.tix-fold .tix-when {
  display: flex;
  min-width: 0;
  margin-top: 1px;
}

.booking-page-body .box-tix-appt-book.tix-fold .time {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 0;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-transform: none;
  color: var(--tix-muted);
  font: 400 10.5px/12px var(--tix-font);
  font-variant-numeric: tabular-nums;
}

.booking-page-body .box-tix-appt-book.tix-fold.tix-has-icons .tix-status-inline {
  display: none;
}

/* Icon chips: soft tinted circle + colored glyph; all shown, wrapping to a new line if needed */
.booking-page-body .box-tix-appt-book.tix-fold .tix-icons {
  display: inline-flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  min-width: 0;
  margin-left: auto;
  max-width: 100%;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-status-inline {
  display: inline-flex;
  margin: -1.5px 4px -1.5px 0;
  vertical-align: top;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-progress-trigger {
  position: relative;
  z-index: auto;
  display: inline-flex;
  flex: none;
  align-items: baseline;
  gap: 0;
  height: 15px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 3px;
  background: none;
  color: var(--tix-text, #17211d);
  font: 600 10px/15px var(--tix-font);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  cursor: help;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-progress-trigger::before {
  content: none;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-progress-trigger:active > * {
  animation: none;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-progress-trigger:focus-visible {
  outline: 2px solid var(--status-color, var(--tix-status));
  outline-offset: 2px;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-remaining-label {
  margin-left: 3px;
  font-size: 10px;
  font-weight: 400;
  text-transform: none;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-remaining-label {
  margin-left: 2px;
  font-size: 8.5px;
}

.booking-page-body .tix-legend-remaining {
  color: var(--pos-muted, #69756f);
  font-size: 10px;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-chip {
  --chip: #55636b;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: var(--chip);
  background: rgba(23, 33, 29, 0.06);
  background: color-mix(in srgb, var(--chip) 14%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chip) 18%, transparent);
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-chip .tix-ico {
  display: block;
  flex: none;
  width: 11px;
  height: 11px;
  stroke-width: 2.4;
}

.booking-page-body .box-tix-appt-book.tix-fold :is(.tix-chip-checkin, .tix-chip-inservice, .tix-chip-done) {
  --chip: var(--status-ink, var(--tix-status));
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.booking-page-body .box-tix-appt-book.tix-fold :is(.tix-chip-checkin, .tix-chip-inservice, .tix-chip-done) .tix-ico {
  width: 13px;
  height: 13px;
  fill: none;
  stroke-width: 2.25;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-chip-request {
  --chip: #d6455f;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-chip-note {
  --chip: #3f7fb8;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-chip-deposit {
  --chip: #2f8a5f;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-chip-online {
  --chip: #7357e6;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-chip-confirmed {
  --chip: #13867f;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-chip-special {
  --chip: #c98a0b;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-chip-request .tix-ico,
.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-chip-special .tix-ico {
  fill: currentColor;
}

/* The footer text sits on the bottom edge, so it needs less padding below */
.booking-page-body .box-tix-appt-book.tix-fold[data-len="45"],
.booking-page-body .box-tix-appt-book.tix-fold[data-len="60"] {
  --tix-pad-b: 6px;
}

/* Drag affordance (hover only) */
.booking-page-body .box-tix-appt-book.tix-fold .tix-grip {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 4;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  color: rgba(23, 33, 29, 0.45);
  opacity: 0;
  transition: opacity 150ms ease-out;
  pointer-events: none;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-grip svg {
  display: block;
  width: 12px;
  height: 12px;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-bar-resize-book {
  top: auto;
  bottom: 0;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 8px;
  margin-left: -18px;
  padding: 0;
  opacity: 0;
  cursor: ns-resize;
  transition: opacity 150ms ease-out;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-bar-resize-book:not(.resize-s) {
  display: none;
}

.booking-page-body .box-tix-appt-book.tix-fold .tix-resize-handle {
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: rgba(23, 33, 29, 0.3);
  pointer-events: none;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-len="15"] .tix-resize-handle {
  visibility: hidden;
}

.booking-page-body .box-tix-appt-book.tix-fold:hover .tix-grip,
.booking-page-body .box-tix-appt-book.tix-fold:hover .tix-bar-resize-book,
.booking-page-body .box-tix-appt-book.tix-fold.holding-to-change-duration .tix-bar-resize-book {
  opacity: 1;
}

/* Width tiers: narrow (2 side by side) */
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="narrow"] .tix-name-full,
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="narrow"] .tix-time-full,
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="narrow"] .tix-unit-min,
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-name-full,
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-unit-min {
  display: none;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-fit="narrow"] .tix-name-short,
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="narrow"] .tix-time-short,
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="narrow"] .tix-unit-m,
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-name-first,
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-unit-m {
  display: inline;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-fit="narrow"] .tix-dur b,
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-dur b {
  font-size: 12px;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-fit="narrow"] .tix-unit-m,
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-unit-m {
  font-size: 9px;
}

/* Width tiers: tiny (3+ side by side) Ã¢â‚¬â€ duration on its own line */
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] {
  --tix-pad-r: 6px;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-head {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-right: 8px;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .client {
  font-size: 12px;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-dur {
  line-height: 14px;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"][data-len="60"] .tix-dur-start {
  display: inline;
  color: var(--tix-muted);
  font-size: 10px;
  font-weight: 400;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-svc {
  font-size: 10.5px;
  line-height: 13px;
}

/* Duration tiers + out-of-space steps */
.booking-page-body .box-tix-appt-book.tix-fold[data-fit="tiny"] .tix-when,
.booking-page-body .box-tix-appt-book.tix-fold[data-len="15"] .tix-when,
.booking-page-body .box-tix-appt-book.tix-fold[data-len="30"] .tix-when,
.booking-page-body .box-tix-appt-book.tix-fold.fit-no-time .tix-when,
.booking-page-body .box-tix-appt-book.tix-fold[data-len="15"] .tix-svcs,
.booking-page-body .box-tix-appt-book.tix-fold[data-len="30"][data-fit="tiny"] .tix-svcs,
.booking-page-body .box-tix-appt-book.tix-fold.fit-no-svcs .tix-svcs,
.booking-page-body .box-tix-appt-book.tix-fold[data-len="15"][data-fit="tiny"] .tix-dur,
.booking-page-body .box-tix-appt-book.tix-fold.fit-no-dur .tix-dur {
  display: none;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-len="15"] .tix-info-book,
.booking-page-body .box-tix-appt-book.tix-fold[data-len="30"] .tix-info-book {
  padding-top: 2px;
  padding-bottom: 2px;
}

.booking-page-body .box-tix-appt-book.tix-fold[data-len="15"] .tix-foot,
.booking-page-body .box-tix-appt-book.tix-fold[data-len="30"] .tix-foot {
  padding-top: 1px;
}

.booking-page-body .box-tix-appt-book.tix-fold.fit-inline-icons .tix-info-book {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 4px;
  padding: 0 6px;
}

.booking-page-body .box-tix-appt-book.tix-fold.fit-inline-icons .tix-head {
  display: block;
  padding-right: 0;
}

.booking-page-body .box-tix-appt-book.tix-fold.fit-inline-icons .tix-foot {
  margin: 0;
  padding: 0;
}

.booking-page-body .box-tix-appt-book.tix-fold.fit-inline-icons .tix-head-svc,
.booking-page-body .box-tix-appt-book.tix-fold.fit-no-svcs .tix-head-svc,
.booking-page-body .box-tix-appt-book.tix-fold.fit-icons-only .tix-head {
  display: none;
}

.booking-page-body .box-tix-appt-book.tix-fold.fit-inline-icons .tix-icons {
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.booking-page-body .box-tix-appt-book.tix-fold.fit-inline-icons .tix-chip {
  width: 14px;
  height: 14px;
}

.booking-page-body .box-tix-appt-book.tix-fold.fit-inline-icons .tix-chip .tix-ico {
  width: 9px;
  height: 9px;
}

.booking-page-body .box-tix-appt-book.tix-fold.fit-icons-only .tix-info-book {
  grid-template-columns: minmax(0, 1fr);
}

.booking-page-body .box-tix-appt-book.tix-fold.fit-icons-only .tix-foot {
  width: 100%;
  max-width: 100%;
}

.booking-page-body .box-tix-appt-book.tix-fold.fit-icons-only .tix-icons {
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
}

/* States */
.booking-page-body
  .box-tix-appt-book.tix-fold[status="8"]:not(:hover, :focus-within, .is-popup, .ticket-is-showing, .tickets-is-showing, .group-is-showing, .dragging, .holding-to-moved, .appointment-copy, .clone-appointment-copy, .holding-to-change-duration) {
  opacity: 0.65;
}

/* Inactive (No-show, Closed, Cancelled, Voided): ghosted until hovered/opened; the status tag stays crisp */
.booking-page-body
  .box-tix-appt-book.tix-fold.tix-inactive:not(:hover, :focus-visible, .is-popup, .ticket-is-showing, .tickets-is-showing, .group-is-showing)::before {
  border-color: #dfe2e0;
  background: #f7f8f7;
  box-shadow: none;
}

.booking-page-body
  .box-tix-appt-book.tix-fold.tix-inactive:not(:hover, :focus-visible, .is-popup, .ticket-is-showing, .tickets-is-showing, .group-is-showing)::after {
  opacity: 0.35;
  filter: grayscale(1);
}

.booking-page-body .box-tix-appt-book.tix-fold.tix-inactive .client,
.booking-page-body .box-tix-appt-book.tix-fold.tix-inactive .tix-when,
.booking-page-body .box-tix-appt-book.tix-fold.tix-inactive .tix-svcs,
.booking-page-body .box-tix-appt-book.tix-fold.tix-inactive .tix-foot {
  background: none;
  transition: opacity 220ms var(--tix-ease);
}

.booking-page-body
  .box-tix-appt-book.tix-fold.tix-inactive:not(:hover, :focus-visible, .is-popup, .ticket-is-showing, .tickets-is-showing, .group-is-showing)
  :is(.client, .tix-when, .tix-svcs, .tix-foot) {
  opacity: 0.5;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-state {
  --state: #6b7570;
  align-self: center;
  padding: 0 6px;
  border-radius: 4px;
  color: var(--state);
  background: rgba(23, 33, 29, 0.06);
  background: color-mix(in srgb, var(--state) 12%, #fff);
  font: 600 9.5px/15px var(--tix-font);
  letter-spacing: 0.01em;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-state.st-noshow {
  --state: #c93a3a;
}

.booking-page-body :is(.box-tix-appt-book.tix-fold, .tix-legend) .tix-state.st-closed {
  --state: #2f7a55;
}

/* Ticket legend: one-line strip pinned to the bottom of the calendar viewport; collapses to a floating button */
.booking-page-body .tix-legend {
  --tix-font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tix-fill: 60;
  --legend-fade-start: 0px;
  --legend-fade-end: 0px;
  position: sticky;
  bottom: 0;
  left: 0;
  z-index: 8;
  box-sizing: border-box;
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 0 12px;
  border-top: 1px solid var(--bs-border-calendar);
  background: var(--bs-surface-bg);
  color: #5f6b65;
  font: 500 11px/18px var(--tix-font);
  cursor: default;
}

/* Collapsed: reserves no space, only the button floats over the hour column */
.booking-page-body .tix-legend[data-open="false"] {
  min-height: 0;
  height: 0;
  border-top: 0;
  background: none;
}

.booking-page-body .tix-legend.fade-start {
  --legend-fade-start: 28px;
}

.booking-page-body .tix-legend.fade-end {
  --legend-fade-end: 28px;
}

.booking-page-body .tix-legend-toggle {
  flex: none;
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(23, 33, 29, 0.06);
  color: #3d4a44;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.booking-page-body .tix-legend-toggle .tix-ico {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.booking-page-body .tix-legend-toggle:hover {
  background: rgba(23, 33, 29, 0.1);
}

.booking-page-body .tix-legend-toggle:focus-visible {
  outline: 2px solid #3474c4;
  outline-offset: 2px;
}

.booking-page-body .tix-legend[data-open="false"] .tix-legend-toggle {
  position: absolute;
  left: 12px;
  bottom: 8px;
  border-color: var(--bs-border-calendar);
  background: var(--bs-surface-bg);
  box-shadow: 0 2px 8px rgba(23, 33, 29, 0.14);
}

.booking-page-body .tix-legend[data-open="false"] .tix-legend-toggle:hover {
  box-shadow: 0 3px 12px rgba(23, 33, 29, 0.2);
}

.booking-page-body .tix-legend-track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 8px 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--legend-fade-start),
    #000 calc(100% - var(--legend-fade-end)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--legend-fade-start),
    #000 calc(100% - var(--legend-fade-end)),
    transparent 100%
  );
}

.booking-page-body .tix-legend-track::-webkit-scrollbar {
  display: none;
}

.booking-page-body .tix-legend-track[hidden] {
  display: none;
}

.booking-page-body .tix-legend-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.booking-page-body .tix-legend-label {
  color: #8a948f;
  font: 600 10px/18px var(--tix-font);
  letter-spacing: 0;
  text-transform: uppercase;
}

.booking-page-body .tix-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.booking-page-body .tix-legend-frame {
  --tix-fill: 60;
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 16px;
  height: 10px;
  border: 1.5px solid var(--status-color, var(--tix-status));
  border-radius: 3px;
  background: transparent;
}

.booking-page-body .tix-legend-progress {
  border: 0;
  box-shadow: inset 0 0 0 1px var(--pos-border, #dfe2e0);
}

.booking-page-body .tix-legend-progress .tix-perimeter rect {
  rx: 2px;
}

.booking-page-body .tix-legend-progress .tix-perimeter-fill {
  stroke-width: 1.5;
  stroke-opacity: 1;
}

.booking-page-body .tix-legend-progress .tix-perimeter-shine {
  display: none;
  animation: none;
}

.booking-page-body .tix-legend-state {
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: var(--pos-muted, #8a948f);
}

.booking-page-body .tix-legend-state.st-noshow {
  background: var(--pos-noShow-color, #c93a3a);
}

.booking-page-body .tix-legend-state.st-closed {
  background: var(--pos-closed-color, #2f7a55);
}

.booking-page-body .tix-legend-state.st-cancelled {
  background: var(--pos-cancelled-color, #8a948f);
}

.booking-page-body .tix-legend .tix-chip {
  width: 14px;
  height: 16px;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.booking-page-body .tix-legend-sep {
  flex: none;
  width: 1px;
  height: 16px;
  background: rgba(23, 33, 29, 0.12);
}

@media (max-width: 768px) {
  .booking-page-body .tix-legend {
    min-height: 48px;
    gap: 10px;
  }

  .booking-page-body .tix-legend-toggle {
    width: 32px;
    height: 32px;
  }

  .booking-page-body .tix-legend-track {
    gap: 14px;
    scroll-snap-type: x proximity;
  }

  .booking-page-body .tix-legend-group {
    gap: 10px;
  }

  .booking-page-body .tix-legend-group > * {
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-page-body .tix-legend-toggle {
    transition: none;
  }
}

.booking-page-body .tix-legend-swatch {
  box-sizing: border-box;
  width: 16px;
  height: 10px;
  border: 1.5px dashed rgba(23, 33, 29, 0.35);
  border-radius: 3px;
  background: transparent;
}

/* The tag already names the status; keep the dot only where the tag is hidden */
.booking-page-body .box-tix-appt-book.tix-fold.tix-inactive:not(.fit-no-dur, [data-len="15"][data-fit="tiny"]) .tix-dot {
  display: none;
}

.booking-page-body .general-tix-bar.dragProcessing .box-tix-appt-book.tix-fold:not(.dragging),
.booking-page-body .box-tix-appt-book.tix-fold.opacity-processing {
  opacity: 0.4;
}

.booking-page-body .general-tix-bar.dragProcessing .box-tix-appt-book.tix-fold.clone-appointment-copy,
.booking-page-body .general-tix-bar.dragProcessing .box-tix-appt-book.tix-fold.holding-to-moved {
  opacity: 0.8;
}

.booking-page-body .box-tix-appt-book.tix-fold[status="1"][confob="false"][bookonl="true"]::before {
  border-style: dashed;
  border-color: var(--bs-gray-500);
}

.booking-page-body .box-tix-appt-book.tix-fold[status="7"] .client,
.booking-page-body .box-tix-appt-book.tix-fold[status="9"] .client,
.booking-page-body .box-tix-appt-book.tix-fold[status="11"] .client {
  text-decoration: line-through;
  text-decoration-color: rgba(23, 33, 29, 0.55);
}

.booking-page-body .box-tix-appt-book.tix-fold.timeOff::before {
  border-color: rgba(23, 33, 29, 0.12);
  background-color: #f4f5f4;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(23, 33, 29, 0.07) 0 1px,
    transparent 1px 7px
  );
  box-shadow: none;
}

.booking-page-body .box-tix-appt-book.tix-fold.timeOff::after {
  display: none;
}

.booking-page-body .box-tix-appt-book.tix-fold.timeOff .client,
.booking-page-body .box-tix-appt-book.tix-fold.timeOff .tix-dur {
  color: var(--tix-muted);
}

/* Touch: no hover Ã¢â‚¬â€ show the affordance on the selected ticket */
@media (hover: none) {
  .booking-page-body .box-tix-appt-book.tix-fold.is-popup .tix-grip,
  .booking-page-body .box-tix-appt-book.tix-fold.is-popup .tix-bar-resize-book,
  .booking-page-body .box-tix-appt-book.tix-fold.active .tix-bar-resize-book {
    opacity: 1;
  }
}

/* No lift where hover sticks after a tap, or when the user prefers less motion */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .booking-page-body .box-tix-appt-book.tix-fold {
    --tix-lift: 0px !important;
  }
}
