@keyframes ap-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ap-backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes ap-panel-in {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes ap-panel-out {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
}
@keyframes ap-step-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes ap-stagger {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ap-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes ap-check-pop {
  0% {
    transform: scale(0.3);
  }
  60% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes ap-ring-draw {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes ap-cell-pop {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}
.appt-modal {
  --ap-surface: #FFFFFF;
  --ap-surface-alt: #F5F8FB;
  --ap-border: #DCE6EF;
  --ap-border-strong: #57BBFF;
  --ap-text: #1B242C;
  --ap-text-muted: #6B7885;
  --ap-heading: #13202B;
  --ap-accent: #2C8FD0;
  --ap-accent-hover: #3AA8F0;
  --ap-accent-text: #0B2438;
  --ap-accent-soft: rgba(87, 187, 255, 0.16);
  --ap-btn-bg: #57BBFF;
  --ap-btn-bg-hover: #3AA8F0;
  --ap-btn-text: #0B2438;
  --ap-highlight: #F5CE82;
  --ap-highlight-ink: #3A2E14;
  --ap-highlight-soft: rgba(245, 206, 130, 0.22);
  --ap-danger: #EA3E2E;
  --ap-danger-soft: rgba(234, 62, 46, 0.08);
  --ap-danger-border: rgba(234, 62, 46, 0.26);
  --ap-backdrop: rgba(11, 20, 32, 0.72);
  --ap-shadow: 0 24px 60px rgba(11, 20, 32, 0.28);
  --ap-radius: 14px;
  --ap-radius-sm: 10px;
  --ap-topbar: linear-gradient(90deg, #57BBFF, #F5CE82, #EA3E2E);
  --ap-glow: none;
}

.appt-modal--sand {
  --ap-surface: #F6EFE2;
  --ap-surface-alt: #FFFDF8;
  --ap-border: #E2D5BE;
  --ap-border-strong: #3AA8F0;
  --ap-text: #2A2018;
  --ap-text-muted: #857763;
  --ap-heading: #241C14;
  --ap-accent: #2680C0;
  --ap-accent-hover: #3AA8F0;
  --ap-accent-text: #0B2438;
  --ap-accent-soft: rgba(87, 187, 255, 0.20);
  --ap-btn-bg: #57BBFF;
  --ap-btn-bg-hover: #3AA8F0;
  --ap-btn-text: #0B2438;
  --ap-highlight: #E0B45F;
  --ap-highlight-ink: #3A2E14;
  --ap-highlight-soft: rgba(245, 206, 130, 0.34);
  --ap-danger: #C22E1D;
  --ap-danger-soft: rgba(234, 62, 46, 0.10);
  --ap-danger-border: rgba(234, 62, 46, 0.28);
  --ap-backdrop: rgba(36, 28, 20, 0.72);
  --ap-shadow: 0 24px 60px rgba(58, 44, 26, 0.26);
  --ap-topbar: linear-gradient(90deg, #F5CE82, #57BBFF, #EA3E2E);
  --ap-glow: none;
}

.appt-modal--grey {
  --ap-surface: #2B333B;
  --ap-surface-alt: #222A31;
  --ap-border: rgba(215, 222, 229, 0.12);
  --ap-border-strong: rgba(87, 187, 255, 0.55);
  --ap-text: #D7DEE5;
  --ap-text-muted: #94A2AE;
  --ap-heading: #FFFFFF;
  --ap-accent: #57BBFF;
  --ap-accent-hover: #3AA8F0;
  --ap-accent-text: #0B2438;
  --ap-accent-soft: rgba(87, 187, 255, 0.14);
  --ap-btn-bg: #57BBFF;
  --ap-btn-bg-hover: #3AA8F0;
  --ap-btn-text: #0B2438;
  --ap-highlight: #F5CE82;
  --ap-highlight-ink: #3A2E14;
  --ap-highlight-soft: rgba(245, 206, 130, 0.16);
  --ap-danger: #F07070;
  --ap-danger-soft: rgba(234, 62, 46, 0.12);
  --ap-danger-border: rgba(234, 62, 46, 0.30);
  --ap-backdrop: rgba(16, 20, 25, 0.80);
  --ap-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ap-topbar: linear-gradient(90deg, #57BBFF, #F5CE82, #EA3E2E);
  --ap-glow: none;
}

.appt-modal--dark {
  --ap-surface: #0C1628;
  --ap-surface-alt: rgba(7, 11, 20, 0.70);
  --ap-border: rgba(87, 187, 255, 0.15);
  --ap-border-strong: rgba(87, 187, 255, 0.55);
  --ap-text: #C8D8EE;
  --ap-text-muted: #8BA4C4;
  --ap-heading: #FFFFFF;
  --ap-accent: #57BBFF;
  --ap-accent-hover: #3AA8F0;
  --ap-accent-text: #070B14;
  --ap-accent-soft: rgba(87, 187, 255, 0.12);
  --ap-btn-bg: linear-gradient(135deg, #57BBFF, #3AA8F0);
  --ap-btn-bg-hover: linear-gradient(135deg, #7ACBFF, #57BBFF);
  --ap-btn-text: #070B14;
  --ap-highlight: #F5CE82;
  --ap-highlight-ink: #070B14;
  --ap-highlight-soft: rgba(245, 206, 130, 0.14);
  --ap-danger: #F07070;
  --ap-danger-soft: rgba(234, 62, 46, 0.10);
  --ap-danger-border: rgba(234, 62, 46, 0.28);
  --ap-backdrop: rgba(3, 6, 12, 0.86);
  --ap-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
  --ap-topbar: linear-gradient(90deg, #57BBFF, #F5CE82, #EA3E2E);
  --ap-glow: 0 0 0 1px rgba(87, 187, 255, 0.06), 0 8px 40px rgba(87, 187, 255, 0.12);
}

.appt-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  font-family: "Work Sans", "Lato", "Helvetica Neue", Arial, sans-serif;
  color: var(--ap-text);
}
.appt-modal.appt-modal--open, .appt-modal.appt-modal--closing {
  display: block;
}
.appt-modal [hidden] {
  display: none;
}
.appt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--ap-backdrop);
  backdrop-filter: blur(2px);
  animation: ap-backdrop-in 0.28s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.appt-modal__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  margin: 4vh auto;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  box-shadow: var(--ap-shadow), var(--ap-glow);
  animation: ap-panel-in 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.appt-modal__panel::-webkit-scrollbar {
  width: 4px;
}
.appt-modal__panel::-webkit-scrollbar-thumb {
  background: var(--ap-border);
  border-radius: 2px;
}
.appt-modal__topbar {
  height: 3px;
  background: var(--ap-topbar);
  border-radius: var(--ap-radius) var(--ap-radius) 0 0;
}
.appt-modal__body {
  padding: 24px 26px 22px;
}
.appt-modal--closing .appt-modal__backdrop {
  animation: ap-backdrop-out 0.24s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.appt-modal--closing .appt-modal__panel {
  animation: ap-panel-out 0.24s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.appt-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ap-text-muted);
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.appt-modal__close:hover {
  background: var(--ap-surface-alt);
  color: var(--ap-text);
  transform: rotate(90deg);
}
.appt-modal__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ap-accent-soft);
  border: 1px solid var(--ap-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ap-accent);
  margin-bottom: 14px;
  animation: ap-stagger 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.05s both;
}
.appt-modal__title {
  margin: 0 0 5px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ap-heading);
  animation: ap-stagger 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both;
}
.appt-modal__sub {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ap-text-muted);
  animation: ap-stagger 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.15s both;
}
.appt-modal__alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border-radius: var(--ap-radius-sm);
  border: 1px solid var(--ap-danger-border);
  background: var(--ap-danger-soft);
  color: var(--ap-danger);
  font-size: 13px;
  line-height: 1.5;
  animation: ap-stagger 0.3s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.appt-modal button:focus-visible,
.appt-modal a:focus-visible {
  outline: 2px solid var(--ap-accent);
  outline-offset: 2px;
}

.appt-auth__tabs {
  position: relative;
  display: flex;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ap-border);
}
.appt-auth__tab {
  flex: 1;
  padding: 11px 8px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ap-text-muted);
  cursor: pointer;
  transition: color 0.25s;
}
.appt-auth__tab:hover {
  color: var(--ap-text);
}
.appt-auth__tab--active {
  color: var(--ap-accent);
}
.appt-auth__underline {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50%;
  height: 1px;
  background: var(--ap-accent);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.appt-auth__underline--right {
  transform: translateX(100%);
}
.appt-auth__panes {
  position: relative;
  overflow: hidden;
}
.appt-auth__pane {
  display: none;
}
.appt-auth__pane--active {
  display: block;
}
.appt-auth__pane--from-right {
  animation: ap-slide-right 0.38s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.appt-auth__pane--from-left {
  animation: ap-slide-left 0.38s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.appt-auth__foot {
  margin-top: 14px;
  text-align: center;
}
.appt-auth__back {
  border: none;
  background: none;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ap-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}
.appt-auth__back:hover {
  color: var(--ap-text);
}

.appt-field__reveal {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--ap-text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.appt-field__reveal:hover {
  color: var(--ap-text);
  background: var(--ap-accent-soft);
}

@keyframes ap-slide-right {
  from {
    opacity: 0;
    transform: translateX(26px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes ap-slide-left {
  from {
    opacity: 0;
    transform: translateX(-26px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.appt-gate__perks {
  list-style: none;
  margin: 0 0 22px;
  padding: 16px 18px;
  background: var(--ap-surface-alt);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-sm);
}
.appt-gate__perks li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ap-text);
}
.appt-gate__perks li i {
  color: var(--ap-accent);
  width: 18px;
  text-align: center;
}

.appt-steps {
  position: relative;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.appt-steps__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ap-text-muted);
  transition: color 0.3s;
}
.appt-steps__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--ap-border);
  background: var(--ap-surface-alt);
  font-size: 11px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.appt-steps__item--active {
  color: var(--ap-accent);
}
.appt-steps__item--active span {
  background: var(--ap-accent);
  border-color: var(--ap-accent);
  color: var(--ap-accent-text);
}
.appt-steps__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--ap-border);
  border-radius: 2px;
}
.appt-steps__bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--ap-accent);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.appt-step {
  display: none;
}
.appt-step--active {
  display: block;
  animation: ap-step-in 0.4s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.appt-cal {
  margin-bottom: 18px;
}
.appt-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.appt-cal__month {
  font-size: 15px;
  font-weight: 700;
  color: var(--ap-heading);
}
.appt-cal__nav {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ap-border);
  border-radius: 8px;
  background: var(--ap-surface-alt);
  color: var(--ap-text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.appt-cal__nav:hover {
  border-color: var(--ap-border-strong);
}
.appt-cal__nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.appt-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.appt-cal__dow {
  margin-bottom: 6px;
}
.appt-cal__dow span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ap-text-muted);
  padding: 4px 0;
}
.appt-cal__cell {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--ap-surface-alt);
  color: var(--ap-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: ap-cell-pop 0.2s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.appt-cal__cell:hover:not(:disabled):not(.appt-cal__cell--selected) {
  border-color: var(--ap-border-strong);
  transform: translateY(-1px);
}
.appt-cal__cell--empty {
  background: transparent;
  border: none;
  cursor: default;
}
.appt-cal__cell--disabled {
  color: var(--ap-text-muted);
  opacity: 0.4;
  cursor: default;
  background: transparent;
}
.appt-cal__cell--selected {
  background: var(--ap-accent);
  border-color: var(--ap-accent);
  color: var(--ap-accent-text);
  font-weight: 700;
}

.appt-slots {
  margin-bottom: 20px;
}
.appt-slots__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ap-text-muted);
}
.appt-slots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}

.appt-slot {
  padding: 10px 6px;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-sm);
  background: var(--ap-surface-alt);
  color: var(--ap-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.appt-slot:hover:not(.appt-slot--selected) {
  border-color: var(--ap-border-strong);
  transform: translateY(-1px);
}
.appt-slot--selected {
  background: var(--ap-accent);
  border-color: var(--ap-accent);
  color: var(--ap-accent-text);
  font-weight: 700;
}

.appt-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: var(--ap-radius-sm);
  background: var(--ap-accent-soft);
  border: 1px solid var(--ap-border-strong);
  font-size: 14px;
  font-weight: 600;
  color: var(--ap-text);
}
.appt-summary i {
  color: var(--ap-accent);
}
.appt-summary button {
  margin-left: auto;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ap-accent);
  cursor: pointer;
}
.appt-summary button:hover {
  text-decoration: underline;
}

.appt-field {
  margin-bottom: 16px;
}
.appt-field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ap-text-muted);
}
.appt-field__hint {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  opacity: 0.85;
}
.appt-field__control {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: var(--ap-surface-alt);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.appt-field__control:focus-within {
  border-color: var(--ap-border-strong);
  box-shadow: 0 0 0 3px var(--ap-accent-soft);
}
.appt-field__control:focus-within .appt-field__icon {
  color: var(--ap-accent);
}
.appt-field__control--area {
  align-items: flex-start;
  padding: 10px 12px;
}
.appt-field__icon {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--ap-text-muted);
  transition: color 0.2s;
}
.appt-field__input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--ap-text);
}
.appt-field__input::placeholder {
  color: var(--ap-text-muted);
  opacity: 0.75;
}
.appt-field__area {
  padding: 0;
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}
.appt-field__error {
  display: none;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--ap-danger);
}
.appt-field__error--visible {
  display: block;
  animation: ap-stagger 0.25s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.appt-field--invalid .appt-field__control {
  border-color: var(--ap-danger);
  box-shadow: 0 0 0 3px var(--ap-danger-soft);
}
.appt-field--invalid .appt-field__icon {
  color: var(--ap-danger);
}

.appt-req {
  color: var(--ap-danger);
}

.appt-field-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.appt-field--grow {
  flex: 1 1 auto;
  min-width: 0;
}

.appt-field--state {
  flex: 0 0 74px;
}

.appt-field--zip {
  flex: 0 0 108px;
}

.appt-field__input--center {
  text-align: center;
  letter-spacing: 0.08em;
}

@media (max-width: 420px) {
  .appt-field-row {
    flex-wrap: wrap;
  }
  .appt-field--grow {
    flex-basis: 100%;
  }
  .appt-field--state {
    flex: 1 1 0;
  }
  .appt-field--zip {
    flex: 1 1 0;
  }
}
.appt-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 16px;
  border: 1.5px dashed var(--ap-border-strong);
  border-radius: var(--ap-radius-sm);
  background: var(--ap-surface-alt);
  color: var(--ap-text-muted);
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.appt-drop i {
  font-size: 22px;
  color: var(--ap-accent);
}
.appt-drop u {
  color: var(--ap-accent);
}
.appt-drop:hover, .appt-drop--over {
  border-color: var(--ap-accent);
  color: var(--ap-text);
}

.appt-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.appt-thumbs:empty {
  margin-top: 0;
}

.appt-thumb {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ap-border);
  background: var(--ap-surface-alt);
  animation: ap-cell-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.appt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.appt-thumb__vid {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ap-accent);
  font-size: 20px;
}
.appt-thumb__x {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.appt-thumb__x:hover {
  background: var(--ap-danger);
}
.appt-thumb--uploading img {
  opacity: 0.55;
}
.appt-thumb__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.appt-thumb__bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--ap-accent);
  transition: width 0.15s linear;
}
.appt-thumb--uploading .appt-thumb__bar {
  opacity: 1;
}
.appt-thumb--done .appt-thumb__bar i {
  background: var(--ap-highlight);
}
.appt-thumb--done .appt-thumb__bar {
  opacity: 1;
}

.appt-drop--video i {
  color: var(--ap-accent);
}

.appt-video-pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: var(--ap-radius-sm);
  background: var(--ap-surface-alt);
  border: 1px solid var(--ap-border-strong);
  overflow: hidden;
  animation: ap-cell-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.appt-video-pick__icon {
  color: var(--ap-accent);
  font-size: 18px;
  flex-shrink: 0;
}
.appt-video-pick__name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ap-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.appt-video-pick__pct {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ap-accent);
  font-variant-numeric: tabular-nums;
  min-width: 34px;
  text-align: right;
}
.appt-video-pick__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.appt-video-pick__bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--ap-accent);
  transition: width 0.15s linear;
}
.appt-video-pick--uploading .appt-video-pick__bar {
  opacity: 1;
}
.appt-video-pick--done .appt-video-pick__bar {
  opacity: 1;
}
.appt-video-pick--done .appt-video-pick__bar i {
  background: var(--ap-highlight);
}
.appt-video-pick__x {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ap-text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.appt-video-pick__x:hover {
  background: var(--ap-danger-soft);
  color: var(--ap-danger);
}

.appt-actions {
  display: flex;
  gap: 12px;
}

.appt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--ap-radius-sm);
  background: var(--ap-btn-bg);
  color: var(--ap-btn-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s, opacity 0.2s;
}
.appt-btn:hover:not(:disabled) {
  background: var(--ap-btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--ap-accent-soft);
}
.appt-btn:active {
  transform: translateY(0);
}
.appt-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.appt-btn--ghost {
  width: auto;
  flex-shrink: 0;
  background: transparent;
  border-color: var(--ap-border);
  color: var(--ap-text);
}
.appt-btn--ghost:hover:not(:disabled) {
  background: var(--ap-surface-alt);
  border-color: var(--ap-border-strong);
  box-shadow: none;
}
.appt-btn--primary {
  flex: 1;
}
.appt-btn__spinner {
  display: none;
  animation: ap-spin 0.85s linear infinite;
}
.appt-btn--loading .appt-btn__spinner {
  display: inline-block;
}

.appt-done {
  text-align: center;
  padding: 8px 0 4px;
}
.appt-done__ring {
  width: 66px;
  height: 66px;
  margin: 6px auto 18px;
  border-radius: 50%;
  background: var(--ap-highlight-soft);
  border: 2px solid var(--ap-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--ap-highlight);
  animation: ap-ring-draw 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.appt-done__ring i {
  animation: ap-check-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
.appt-done__title {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 700;
  color: var(--ap-heading);
}
.appt-done__sub {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ap-text-muted);
}

body.appt-modal-lock {
  overflow: hidden;
}

@media (max-width: 540px) {
  .appt-modal__panel {
    margin: 0;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: none;
    border-radius: 0;
  }
  .appt-modal__topbar {
    border-radius: 0;
  }
  .appt-modal__body {
    padding: 44px 20px calc(96px + env(safe-area-inset-bottom));
  }
  .appt-field__input,
  .appt-field__area {
    font-size: 16px;
  }
}

/*# sourceMappingURL=apptModal.css.map */
