/* BIO LIFE appointment calendar polish — staging copy only. */
:root {
  --bio-sky: #00a0dc;
  --bio-green: #56af40;
  --bio-ink: #242721;
  --bio-muted: #858f98;
  --bio-soft-blue: #eef8fc;
}

.online-record-root .select-date-root__title {
  color: var(--bio-ink);
  font-family: Geologica, "Source Sans 3", Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.online-record-root .date-picker-root {
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid rgba(133, 143, 152, 0.18);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(36, 39, 33, 0.075);
}

.online-record-root .date-picker-root .react-calendar {
  background: transparent;
}

.online-record-root .date-picker-root__date {
  min-height: 42px;
  margin-bottom: 20px;
}

.online-record-root .date-picker-root__date p {
  color: var(--bio-ink);
  font-family: Geologica, "Source Sans 3", Montserrat, sans-serif;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.online-record-root .date-picker-root .react-calendar__month-view__weekdays__weekday {
  padding: 8px 0 12px;
  color: var(--bio-muted);
  font-family: "Source Sans 3", Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.online-record-root .date-picker-root .react-calendar__month-view__days__day {
  min-height: 48px;
  color: var(--bio-ink);
  font-family: "Source Sans 3", Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.online-record-root .date-picker-root .react-calendar__tile {
  min-height: 48px;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 15px;
  background: transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.online-record-root .date-picker-root .react-calendar__tile > abbr {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.online-record-root .date-picker-root .react-calendar__tile--now:not(.react-calendar__tile--active) > abbr {
  box-shadow: inset 0 0 0 1px rgba(86, 175, 64, 0.55);
}

.online-record-root .date-picker-root .react-calendar__tile--active {
  border: 2px solid rgba(0, 160, 220, 0.24);
  background: var(--bio-soft-blue);
  color: var(--bio-ink);
}

.online-record-root .date-picker-root .react-calendar__tile--active > abbr {
  background: var(--bio-sky);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 160, 220, 0.24);
}

.online-record-root .date-picker-root .react-calendar__tile:enabled:hover {
  border-radius: 15px;
  background: var(--bio-soft-blue);
  color: #087da9;
  transform: translateY(-1px);
}

.online-record-root .date-picker-root .react-calendar__tile:enabled:focus-visible {
  outline: 3px solid rgba(86, 175, 64, 0.45);
  outline-offset: 2px;
}

.online-record-root .date-picker-root .react-calendar__tile:disabled {
  color: #b4bbc0;
  opacity: 0.72;
}

.online-record-root .date-picker-root__left-arrow,
.online-record-root .date-picker-root__right-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 160, 220, 0.14);
  border-radius: 15px;
  background: var(--bio-soft-blue);
  transition: background-color 160ms ease, transform 160ms ease;
}

.online-record-root .date-picker-root__left-arrow:hover,
.online-record-root .date-picker-root__right-arrow:hover {
  background: #dff3fb;
  transform: translateY(-1px);
}

.online-record-root .date-picker-root__left-arrow svg,
.online-record-root .date-picker-root__right-arrow svg {
  fill: #087da9;
}

.online-record-root .home-page-btn,
.online-record-root .general-btn,
.online-record-root .time-button-root,
.online-record-root .time-button-root1 {
  border-radius: 15px;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.online-record-root .home-page-btn,
.online-record-root .general-btn:not(.general-btn__disabled) {
  background-color: var(--bio-sky);
  box-shadow: 0 8px 18px rgba(0, 160, 220, 0.18);
}

.online-record-root .home-page-btn:hover,
.online-record-root .general-btn:not(.general-btn__disabled):hover {
  background-color: #0789bd;
  box-shadow: 0 10px 22px rgba(0, 160, 220, 0.24);
  transform: translateY(-1px);
}

.online-record-root .general-btn.general-btn__disabled {
  background-color: var(--bio-muted);
}

.online-record-root .home-page-btn,
.online-record-root .general-btn:not(.general-btn__disabled) {
  background-color: #0078aa;
  background-image: linear-gradient(112deg, #0078aa 0%, #167d66 54%, #287b32 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 9px 20px rgba(0, 126, 147, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.online-record-root .home-page-btn:hover,
.online-record-root .general-btn:not(.general-btn__disabled):hover {
  background-color: #287b32;
  background-image: linear-gradient(112deg, #287b32 0%, #167d66 46%, #0078aa 100%);
  box-shadow: 0 12px 24px rgba(0, 126, 147, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.online-record-root .home-page-btn:active,
.online-record-root .general-btn:not(.general-btn__disabled):active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(0, 126, 147, 0.2), inset 0 2px 4px rgba(36, 39, 33, 0.12);
}

.online-record-root .home-page-btn:focus-visible,
.online-record-root .general-btn:focus-visible {
  outline: 3px solid rgba(86, 175, 64, 0.42);
  outline-offset: 3px;
}

.online-record-root .general-btn.general-btn__disabled {
  background-image: linear-gradient(112deg, #858f98, #717c84);
  border-color: rgba(133, 143, 152, 0.3);
  box-shadow: none;
}

.online-record-root .time-button-root,
.online-record-root .time-button-root1 {
  border: 1px solid rgba(0, 160, 220, 0.16);
  box-shadow: 0 4px 12px rgba(36, 39, 33, 0.045);
}

/* Use the approved vertical BIO LIFE wordmark in the clinic header. */
.online-record-root .choose-master-root__logo img[alt="logotype"] {
  width: 140px !important;
  height: auto !important;
  border-radius: 0 !important;
  object-fit: contain;
}

/* BIO LIFE glass theme: a soft blue/green canvas with readable translucent cards. */
html,
body {
  min-height: 100%;
  background-color: #edf7f9 !important;
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(0, 160, 220, 0.2), transparent 38%),
    radial-gradient(ellipse at 88% 88%, rgba(86, 175, 64, 0.17), transparent 40%),
    linear-gradient(135deg, #eaf7fb 0%, #f7fbfa 48%, #eff8ed 100%) !important;
  background-attachment: fixed;
}

.online-record-root,
.online-record-root .choose-master-root,
.online-record-root .select-date-root,
.online-record-root .client-data-root {
  background: transparent !important;
}

.online-record-root .date-picker-root,
.online-record-root .select-service-root,
.online-record-root .choose-master-root__master,
.online-record-root .choose-master-root__search input,
.online-record-root .client-data-root__field,
.online-record-root .payment-form-root__time,
.online-record-root .payment-form-root__services,
.online-record-root .payment-form-root__total-amount,
.online-record-root .online-record-modal__paper {
  background: rgba(255, 255, 255, 0.58) !important;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px !important;
  box-shadow:
    0 18px 48px rgba(36, 39, 33, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.online-record-root .select-service-root,
.online-record-root .date-picker-root {
  background: rgba(255, 255, 255, 0.64) !important;
}

.online-record-root .choose-master-root__master:hover {
  background: rgba(255, 255, 255, 0.72) !important;
}

.online-record-root .choose-master-root__search input {
  color: var(--bio-ink);
}

.online-record-root .select-service-root__title,
.online-record-root .select-service-root__name,
.online-record-root .choose-master-root__master-name,
.online-record-root .payment-form-root__services,
.online-record-root .payment-form-root__total-amount {
  color: var(--bio-ink);
}

.online-record-root .select-service-root__time,
.online-record-root .choose-master-root__time {
  background: rgba(0, 160, 220, 0.1);
  border: 1px solid rgba(0, 160, 220, 0.12);
  border-radius: 14px;
}

.online-record-root .date-picker-root__left-arrow,
.online-record-root .date-picker-root__right-arrow {
  background: rgba(255, 255, 255, 0.46);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.online-record-root .home-page-btn,
.online-record-root .general-btn:not(.general-btn__disabled) {
  background-image: linear-gradient(
    112deg,
    rgba(0, 120, 170, 0.94) 0%,
    rgba(22, 125, 102, 0.92) 54%,
    rgba(40, 123, 50, 0.94) 100%
  );
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

.online-record-root .general-btn.general-btn__disabled {
  background-image: linear-gradient(
    112deg,
    rgba(133, 143, 152, 0.9),
    rgba(113, 124, 132, 0.9)
  );
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .online-record-root .date-picker-root,
  .online-record-root .select-service-root,
  .online-record-root .choose-master-root__master,
  .online-record-root .choose-master-root__search input,
  .online-record-root .client-data-root__field,
  .online-record-root .payment-form-root__time,
  .online-record-root .payment-form-root__services,
  .online-record-root .payment-form-root__total-amount,
  .online-record-root .online-record-modal__paper {
    background: rgba(255, 255, 255, 0.9) !important;
  }
}

@media (max-width: 600px) {
  .online-record-root .date-picker-root {
    padding: 18px 12px;
    border-radius: 16px;
  }

  .online-record-root .date-picker-root .react-calendar__tile,
  .online-record-root .date-picker-root .react-calendar__month-view__days__day {
    min-height: 42px;
  }

  .online-record-root .date-picker-root .react-calendar__tile > abbr {
    width: 34px;
    height: 34px;
  }

  .online-record-root .home-page-btn,
  .online-record-root .general-btn {
    min-width: 0;
    font-size: 14px;
  }

  .online-record-root .choose-master-root__logo img[alt="logotype"] {
    width: 128px !important;
  }
}
