/* LysterLab calendar theme override
   Scoped via rootClassName: 'lysterlab-embed'
   Loaded after bt-calendar.base.css and a base theme css.
*/

.bt-cal.lysterlab-embed {
  --bt-font: "Manrope", "Trebuchet MS", sans-serif;

  /* Dark, glossy surfaces */
  --bt-bg: rgba(5, 1, 10, 0.22);
  --bt-surface: rgba(12, 0, 32, 0.55);
  --bt-surface-muted: rgba(247, 242, 255, 0.06);

  --bt-text: rgba(247, 242, 255, 0.94);
  --bt-muted: rgba(247, 242, 255, 0.68);

  --bt-border: rgba(247, 242, 255, 0.14);
  --bt-border-strong: rgba(247, 242, 255, 0.20);

  /* Statement pink */
  --bt-primary: #ff2bd6;
  --bt-primary-contrast: #0a0014;

  --bt-danger-bg: rgba(255, 43, 214, 0.12);
  --bt-danger-border: rgba(255, 43, 214, 0.38);
  --bt-danger-text: rgba(247, 242, 255, 0.92);
}

/* Keep embed behaving like a section card (not full viewport) */
.bt-cal.lysterlab-embed {
  border-radius: 18px;
}

.bt-cal.lysterlab-embed .bt-cal__grid {
  border-radius: 18px;
}

/* Futuristic glow edge */
.bt-cal.lysterlab-embed .bt-cal__grid,
.bt-cal.lysterlab-embed .bt-cal__bar,
.bt-cal.lysterlab-embed .bt-cal__dayStrip {
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.18), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.bt-cal.lysterlab-embed .bt-cal__titleRange {
  font-weight: 900;
  letter-spacing: 0.6px;
}

.bt-cal.lysterlab-embed .bt-cal__titleWeek {
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Buttons / inputs: a bit more aggressive */
.bt-cal.lysterlab-embed .bt-cal__btn,
.bt-cal.lysterlab-embed .bt-cal__nav,
.bt-cal.lysterlab-embed .bt-cal__dialogBtn,
.bt-cal.lysterlab-embed .bt-cal__field select,
.bt-cal.lysterlab-embed .bt-cal__field input {
  border-radius: 14px;
}

.bt-cal.lysterlab-embed .bt-cal__btn--primary,
.bt-cal.lysterlab-embed .bt-cal__dialogBtn--primary {
  background: linear-gradient(135deg, rgba(255, 43, 214, 0.96), rgba(255, 77, 225, 0.92));
  border-color: rgba(255, 43, 214, 0.75);
  color: #0a0014;
}

/* Day chips: neon accent on active */
.bt-cal.lysterlab-embed .bt-cal__dayChip.is-active {
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.55), 0 0 0 4px rgba(255, 43, 214, 0.10);
}

/* Modal Overlay & Dialog */
.bt-cal.lysterlab-embed .bt-cal__modal-overlay {
  background: rgba(5, 1, 10, 0.85) !important;
  backdrop-filter: blur(8px);
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog {
  background: rgba(12, 0, 32, 0.92) !important;
  border-radius: 18px;
  border: 1px solid rgba(255, 43, 214, 0.25);
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.18), 0 0 40px rgba(255, 43, 214, 0.25), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog h3 {
  color: #ff2bd6 !important;
  font-weight: 900;
  letter-spacing: 0.6px;
  border-bottom: 2px solid rgba(255, 43, 214, 0.45) !important;
  padding-bottom: 12px;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255, 43, 214, 0.4);
}

/* Tab buttons in modal */
.bt-cal.lysterlab-embed .bt-cal__modal-dialog .bt-cal__tab-group {
  background: rgba(5, 1, 10, 0.5) !important;
  border-color: rgba(255, 43, 214, 0.25) !important;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.15);
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog .bt-cal__tab-btn {
  color: rgba(247, 242, 255, 0.68) !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: transparent !important;
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog .bt-cal__tab-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 43, 214, 0.96), rgba(255, 77, 225, 0.92)) !important;
  color: #0a0014 !important;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.55), 0 0 15px rgba(255, 43, 214, 0.3);
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog .bt-cal__tab-btn:hover:not(.is-active) {
  background: rgba(255, 43, 214, 0.15) !important;
  color: #ff2bd6 !important;
  box-shadow: 0 0 10px rgba(255, 43, 214, 0.2);
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog input {
  background: rgba(5, 1, 10, 0.4) !important;
  border-color: rgba(247, 242, 255, 0.14) !important;
  color: rgba(247, 242, 255, 0.94) !important;
  border-radius: 14px;
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog input:focus {
  border-color: #ff2bd6 !important;
  outline: 2px solid rgba(255, 43, 214, 0.3) !important;
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.55), 0 0 0 4px rgba(255, 43, 214, 0.10);
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog label {
  color: rgba(247, 242, 255, 0.94) !important;
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog p {
  color: rgba(247, 242, 255, 0.68) !important;
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog .bt-cal__dialogBtn {
  background: rgba(5, 1, 10, 0.4) !important;
  border-color: rgba(247, 242, 255, 0.14) !important;
  color: rgba(247, 242, 255, 0.94) !important;
  border-radius: 14px;
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog .bt-cal__dialogBtn--primary {
  background: linear-gradient(135deg, rgba(255, 43, 214, 0.96), rgba(255, 77, 225, 0.92)) !important;
  border-color: rgba(255, 43, 214, 0.75) !important;
  color: #0a0014 !important;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 43, 214, 0.5);
}

.bt-cal.lysterlab-embed .bt-cal__modal-dialog .bt-cal__dialogBtn--primary:hover {
  background: linear-gradient(135deg, rgba(255, 63, 224, 1), rgba(255, 97, 235, 0.98)) !important;
  box-shadow: 0 0 20px rgba(255, 43, 214, 0.4);
}

/* Focus to match site */
.bt-cal.lysterlab-embed :focus-visible {
  outline: 2px solid rgba(255, 43, 214, 0.75);
  outline-offset: 2px;
}

/* Service list scrollbar: make scroll affordance obvious in this theme */
.bt-cal.lysterlab-embed .bt-cal__servicesList {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 43, 214, 0.78) rgba(247, 242, 255, 0.10);
  scrollbar-gutter: stable;
}

.bt-cal.lysterlab-embed .bt-cal__servicesList::-webkit-scrollbar {
  width: 11px;
}

.bt-cal.lysterlab-embed .bt-cal__servicesList::-webkit-scrollbar-track {
  background: rgba(247, 242, 255, 0.08);
  border-left: 1px solid rgba(247, 242, 255, 0.12);
}

.bt-cal.lysterlab-embed .bt-cal__servicesList::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 43, 214, 0.92), rgba(255, 77, 225, 0.86));
  border: 2px solid rgba(12, 0, 32, 0.72);
  border-radius: 999px;
}

.bt-cal.lysterlab-embed .bt-cal__servicesList::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 63, 224, 0.98), rgba(255, 97, 235, 0.92));
}
