/* =====================================================
   Elevated Relaxation — Global Theme & Layout (clean)
   Sticky footer (no bleed) + existing component styles
   ===================================================== */

:root{
  --lavender: #E9E3FF;
  --purple:   #6B4ACD;
  --teal:     #2CB1BC;
  --deep-purple: #793896;
  --magenta: #B04BB3; /* rich orchid tone */

  /* Brand red for lead/past (Zamorak) */
  --er-zamorak: rgb(229, 50, 65);  /* rgb(217, 54, 74); */ 

  /* Bootstrap variable overrides */
  --bs-body-bg: #EFEAF7;
  --bs-body-color: #1f2328;
  --bs-primary: var(--purple);
  --bs-secondary: var(--teal);
  --bs-link-color: var(--purple);
  --bs-link-hover-color: #5633b7;
  --bs-border-color: #ececf1;

  --fc-today-bg-color: transparent; /* remove yellow highlight */
}

/* ===== Layout: sticky footer WITHOUT background bleed ===== */
html, body { height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Use a solid body so gradients don't bleed behind footer */
  background: #F7F5FA;
  color: var(--bs-body-color);
}

.page-wrap { 
  flex: 1 0 auto;
  padding-top: 1.25rem;
  /* Optional: if you want a subtle page gradient, put it on the content, not body */
   background: linear-gradient(180deg, #EFEAF7 0%, #F7F5FA 100%); 
}

/* Footer sits at bottom and owns its decorative effects */
footer, .site-footer {
  flex-shrink: 0;
  position: relative;
  background-color: var(--deep-purple);
  color: #fff;
  border-top: none;
}
/* Decorative fade lives INSIDE the footer only */
footer::before, .site-footer::before {
  content: "";
  position: absolute;
  top: -24px; left: 0; right: 0;
  height: 24px;
  background: linear-gradient(to bottom, rgba(121,56,150,0.12), rgba(121,56,150,0));
  pointer-events: none;
}

/* ===== Header / Navbar (keep deep purple brand) ===== */
.navbar.bg-white,
footer.bg-light {
  background-color: var(--deep-purple) !important;
  color: #fff;
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar .navbar-brand span { color: #fff !important; }
.navbar .nav-link {
  color: #fff !important;
  padding: .5rem .75rem;
}
.navbar .nav-link.active,
.navbar .nav-link:hover { text-decoration: underline; }
.navbar .logo { height: 40px; width: auto; }

/* ===== Buttons ===== */
.btn-primary {
  --bs-btn-bg: var(--purple);
  --bs-btn-border-color: var(--purple);
  --bs-btn-hover-bg: #5633b7;
  --bs-btn-hover-border-color: #5633b7;
}
.btn-purple-magenta {
  background: linear-gradient(90deg, #793896 0%, #D63384 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(121,56,150,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-purple-magenta:hover {
  transform: scale(1.04);
  color: #fff;
  box-shadow: 0 6px 18px rgba(121,56,150,0.45);
}
.btn-magenta {
  background-color: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
  transition: background-color 0.25s ease, transform 0.15s ease;
}
.btn-magenta:hover {
  background-color: #b3226b;
  border-color: #b3226b;
  transform: scale(1.03);
}
/* Dashboard "Manage" button polish */
.btn-manage {
  background-color: var(--teal, #22d3ee);
  color: #fff;
  border: none;
  transition: all 0.2s ease;
}
.btn-manage:hover {
  background-color: #1baac3;
  transform: translateY(-1px);
}

/* Manage My Bookings button */
.btn-manage-bookings {
  background: linear-gradient(90deg, var(--lavender) 0%, var(--purple) 100%);
  color: #fff !important;
  border: none;
  font-weight: 600;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 0 0 rgba(121, 56, 150, 0);
}

.btn-manage-bookings:hover {
  background: linear-gradient(90deg, var(--teal) 0%, var(--deep-purple) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(121, 56, 150, 0.3);
  color: #fff;
}

.btn-manage-bookings:active {
  transform: scale(0.98);
  box-shadow: 0 0 0 rgba(121, 56, 150, 0.2);
}

/* === Admin Calendar Buttons === */
.btn-workweek {
  background: var(--purple);
  color: #fff;
  border: none;
}
.btn-workweek:hover {
  background: #5633b7;
  color: #fff;
}

.btn-clearweek {
  background: var(--teal);
  color: #fff;
  border: none;
}
.btn-clearweek:hover {
  background: #21949c;
  color: #fff;
}

.btn-danger {
  background: var(--magenta);
  border: none;
}
.btn-danger:hover {
  background: #9c409e;
}

.btn-workweek, .btn-clearweek, .btn-danger {
  transition: all 0.2s ease-in-out;
  transform: scale(1);
}
.btn-workweek:hover, .btn-clearweek:hover, .btn-danger:hover {
  transform: scale(1.05);
}

/* Teal button (used in Edit Hours popover) */
.btn-teal {
  background-color: var(--teal) !important;
  border-color: var(--teal) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(44, 177, 188, 0.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-teal:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(44, 177, 188, 0.45);
}
.btn-teal:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(44, 177, 188, 0.35);
}
.btn-teal:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(44, 177, 188, 0.35);
}

/* Popover polish (optional, nice finish) */
.fc-edit-popover .btn {
  border-radius: 10px;
  font-weight: 600;
}



/* ===== Utilities ===== */
.text-teal { color: var(--teal) !important; }
.text-purple { color: #793896 !important; }
.badge.bg-teal { background-color: var(--teal) !important; }
[hidden]{ display:none !important; }

/* ===== Tables (services/list views) ===== */
.table-container {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(121, 56, 150, 0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.table-container:hover {
  box-shadow: 0 8px 28px rgba(121, 56, 150, 0.25);
  transform: scale(1.01);
}
/* Alternating rows */
.table tbody tr:nth-child(odd) td { background-color: #ffffff !important; }
.table tbody tr:nth-child(even) td { background-color: #F3ECF8 !important; }
/* Hover */
.table-hover tbody tr:hover td {
  background-color: rgba(121, 56, 150, 0.08) !important;
  transition: background-color 0.25s ease;
}
/* Header & cell spacing */
.table thead th {
  font-weight: 600;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.table td, .table th {
  padding: 1rem 1.25rem;
  vertical-align: middle;
}

/* ===== Modal (Bootstrap-friendly polish) ===== */
.modal-content {
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(121,56,150,0.25);
  overflow: hidden;
}
.modal-footer.d-flex {
  justify-content: center !important;
  align-items: center !important;
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
  background: transparent !important;
  border: none !important;
}
.modal-footer .btn {
  display: inline-block;
  margin: 0 auto;
  min-width: 200px;
  text-align: center;
}
.table tbody tr[data-bs-toggle="modal"] { cursor: pointer; }
.modal.fade .modal-dialog {
  transform: translateY(10px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.modal.show .modal-dialog { transform: translateY(0); }

/* === Admin Manage Booking Modal (refined) ======================= */
/* === Admin Manage Booking Modal (finalized sleek variant) === */
#manageBookingModal .modal-content {
  border-radius: 1.25rem;
  border: 1px solid rgba(121,56,150,0.15);
  box-shadow: 0 8px 28px rgba(121,56,150,0.2);
  overflow: hidden;
}

#manageBookingModal .modal-header {
  background: linear-gradient(90deg, var(--deep-purple), var(--magenta));
  color: #fff;
  border-bottom: none;
  padding: 0.9rem 1.2rem;
}

#manageBookingModal .modal-title {
  font-weight: 600;
  letter-spacing: .3px;
}

#manageBookingModal .modal-body label {
  color: var(--deep-purple);
  font-weight: 600;
  font-size: 0.9rem;
}

#manageBookingModal .modal-body input[type="date"],
#manageBookingModal .modal-body select {
  border-radius: 0.6rem;
  border: 1px solid rgba(121,56,150,0.25);
  box-shadow: 0 1px 2px rgba(121,56,150,0.1);
  transition: border-color .2s ease, box-shadow .2s ease;
}
#manageBookingModal .modal-body input:focus,
#manageBookingModal .modal-body select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.15rem rgba(44,177,188,0.25);
  outline: none;
}

#manageBookingModal .modal-footer {
  border-top: 1px solid rgba(121,56,150,0.15);
  background: linear-gradient(180deg, #F7F5FA 0%, #EFEAF7 100%);
  display: flex;
  justify-content: space-between; /* delete left, save right */
  align-items: center;
  padding: 1rem 1.25rem 1.25rem;
}

#manageBookingModal .btn {
  min-width: 150px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#manageBookingModal #mb-save {
  background: linear-gradient(90deg, var(--purple), var(--teal));
  color: #fff;
  border: none;
}
#manageBookingModal #mb-save:hover {
  filter: brightness(0.95);
}

#manageBookingModal #mb-delete {
  background: var(--magenta);
  color: #fff;
  border: none;
}
#manageBookingModal #mb-delete:hover {
  background: #9c409e;
}

/* === Modal Header Gradient Shimmer ==========================
   Adds a soft animated shimmer when Manage Booking modal opens
   ============================================================ */

@keyframes er-gradient-shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* When modal shows, animate the gradient once */
#manageBookingModal.show .modal-header {
  background: linear-gradient(270deg, var(--deep-purple), var(--magenta), var(--purple));
  background-size: 200% 200%;
  animation: er-gradient-shimmer 0.9s ease-in-out 1;
}

/* Optional: add a soft drop shadow under the header to separate it */
#manageBookingModal .modal-header {
  box-shadow: 0 2px 6px rgba(121, 56, 150, 0.15);
}




/* ===== FullCalendar (client + admin) ===== */
#calendar { max-width: 900px; margin: 0 auto; }
.fc .fc-toolbar-title { color: #793896; font-weight: 600; }
.fc .fc-daygrid-day.fc-day-today { background-color: rgba(121, 56, 150, 0.1) !important; }
.fc .fc-button-primary { background-color: #793896 !important; border-color: #793896 !important; }
.fc .fc-button-primary:hover { background-color: #612c7b !important; }
/* Admin variant tweaks (if admin shares #calendar, consider wrapping in #admin) */
.fc-daygrid-day.fc-day-today { border-radius: 10px; }
.fc-daygrid-event {
  font-size: 0.8rem !important;
  line-height: 1.1rem !important;
  padding: 2px 4px !important;
  border-radius: 6px;
  white-space: normal !important;
}
.fc-daygrid-event-dot { margin-top: 2px !important; }
.fc-daygrid-day-number { font-weight: 600; font-size: 0.9rem; }
.fc-popover-theme {
  background: #ffffff;
  border: 1px solid #e6dff3;
  border-radius: 12px;
}
.fc-popover-theme .fc-popover-header {
  background: #EFEAF7;
  color: #793896;
  font-weight: 700;
  padding: 8px 12px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 1px solid #e6dff3;
}

/* Calendar color channels (scoped examples) */
#calendar-page, #admin-calendar {
  --er-regular:   #7a2bbd; /* purple */
  --er-newclient: #16a3a5; /* teal */
}
/* Foreground booked events */
#calendar-page .fc-event.er-regular,
#calendar-page .fc-timegrid-event.er-regular,
#calendar-page .fc-daygrid-event.er-regular,
#admin-calendar .fc-event.er-regular,
#admin-calendar .fc-timegrid-event.er-regular,
#admin-calendar .fc-daygrid-event.er-regular {
  background-color: var(--er-regular) !important;
  border-color: var(--er-regular) !important;
  color: #fff !important;
}
#calendar-page .fc-event.er-newclient,
#calendar-page .fc-timegrid-event.er-newclient,
#calendar-page .fc-daygrid-event.er-newclient,
#admin-calendar .fc-event.er-newclient,
#admin-calendar .fc-timegrid-event.er-newclient,
#admin-calendar .fc-daygrid-event.er-newclient {
  background-color: #3CF4F9 !important;
  border-color: #29C6CB !important;
  color: #003B3C !important;
  text-shadow: 0 0 6px rgba(60, 244, 249, 0.6);
}
/* Background availability tint (kept low and non-interactive) */
#calendar-page .fc-bg-event,
#admin-calendar .fc-bg-event {
  pointer-events: none;
  z-index: 0 !important;
}
/* Containment to prevent any paint bleed */
#calendar-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 0;
  background: transparent;
}
#calendar-page .fc,
#calendar-page .fc-view-harness,
#calendar-page .fc-scroller,
#calendar-page .fc-scrollgrid,
#calendar-page .fc-timegrid-body,
#calendar-page .fc-daygrid-body {
  contain: paint;
  overflow: clip;
}
/* Make sure footer is above any calendar layers */
footer, .site-footer { z-index: 10; }

/* ===== About Page (scoped) ===== */
.about-page {
  --about-gap: clamp(16px, 2vw, 28px);
  --about-radius: 18px;
  --about-shadow: 0 8px 30px rgba(0,0,0,.08);
  --about-border: 1px solid rgba(0,0,0,.06);
  --about-accent: #7a8bff;
  --about-muted: #71717a;
  padding-block: clamp(28px, 5vw, 56px);
}
.about-page .container { max-width: 1100px; margin-inline: auto; padding-inline: 16px; }
.about-page .about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--about-gap);
  align-items: center;
}
.about-page .about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--about-gap);
}
.about-page .about-photo-card { margin: 0; }
.about-page .about-photo-frame {
  position: relative;
  border-radius: var(--about-radius);
  border: var(--about-border);
  box-shadow: var(--about-shadow);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #fafafa;
}
.about-page .about-photo-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
  transform: translateZ(0);
}
.about-page .about-photo-caption {
  margin-top: 8px; font-size: 0.9rem; font-weight: 600; letter-spacing: .02em;
  color: var(--about-muted); text-align: center; text-transform: uppercase;
}
.about-page .about-story { padding: clamp(8px, 1vw, 12px); }
.about-page .about-title { font-size: clamp(1.75rem, 2.5vw, 2.25rem); line-height: 1.15; margin: 0 0 10px; }
.about-page .about-lead  { font-size: clamp(1.05rem, 1.3vw, 1.15rem); line-height: 1.7; margin: 0 0 12px; }
.about-page .about-body  { font-size: 1rem; line-height: 1.7; color: #3f3f46; margin: 0 0 18px; }
.about-page .about-cta   { display: flex; gap: 12px; flex-wrap: wrap; }
.about-page .btn { border-radius: 999px; padding: 10px 16px; }
@media (max-width: 980px) {
  .about-page .about-split { grid-template-columns: 1fr; }
  .about-page .about-photos { order: -1; }
}
/* About image helper */
.about-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

/* ===== Locations Page (scoped) ===== */
.locations-page {
  --loc-purple: #7b6cff;
  --loc-teal:   #2bb9b1;
  --loc-lav:    #eae7ff;
  --loc-ink:    #24262b;
  --loc-muted:  #6b7280;
  --loc-radius: 18px;
  --loc-shadow: 0 14px 40px rgba(18, 16, 66, 0.12);
  color: var(--loc-ink);
}
.locations-page .container {
  max-width: 1150px; margin-inline: auto; padding: clamp(16px, 3vw, 28px);
}

/* Shrink hero height & kill stark white */
.locations-page .loc-hero {
  position: relative;
  overflow: clip;
  padding: 16px 0; /* was clamp(16px, 2vw, 24px) — make it tighter */
}

/* Softer, on-brand lavender fade (no solid white) */
.locations-page .loc-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 380px at 12% 12%, rgba(123,108,255,.14), transparent 60%),
    radial-gradient(820px 420px at 88% 18%, rgba(43,185,177,.14), transparent 55%),
    linear-gradient(180deg, rgba(234,231,255,0.55) 0%, rgba(234,231,255,0.15) 40%, transparent 100%); /* replaced white gradient */
  pointer-events: none; z-index: 0;
}

.locations-page .loc-hero__content { position: relative; z-index: 1; text-align: center; }

/* Slightly smaller title */
.locations-page .loc-title {
  font-size: clamp(1.6rem, 2.4vw, 2.0rem); /* was clamp(1.9rem, 3vw, 2.6rem) */
  line-height: 1.15;
  margin: 0 0 6px; /* a bit tighter */
  background: linear-gradient(90deg, var(--loc-purple), var(--loc-teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Slightly smaller subcopy */
.locations-page .loc-sub {
  color: var(--loc-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem); /* was clamp(1rem, 1.4vw, 1.15rem) */
  margin: 0 0 10px; /* tighter */
}

/* Badge row: smaller chips, less weight */
.locations-page .loc-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.locations-page .loc-badge {
  font-size: .75rem;              /* was .85rem */
  font-weight: 600; letter-spacing: .02em;
  border-radius: 999px; padding: 4px 8px; /* was 6px 10px */
  background: rgba(123,108,255,.10);      /* lighter, tinted */
  color: #4b5563;
  border: 1px solid rgba(123,108,255,.18);
}

/* Body gets less top padding since hero shrank */
.locations-page .loc-body { padding: 8px 0 clamp(16px, 4vw, 42px); } /* tighter top only */

.locations-page .loc-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(16px, 2.5vw, 28px); align-items: start;
}
@media (max-width: 980px) { .locations-page .loc-grid { grid-template-columns: 1fr; } }

.locations-page .loc-card {
  background: #fff; border-radius: var(--loc-radius);
  box-shadow: var(--loc-shadow); border: 1px solid rgba(123,108,255,.08);
  overflow: hidden;
}
.locations-page .loc-card--map .loc-card__media { aspect-ratio: 16 / 10; background: #f6f7ff; }
.locations-page .loc-card--map iframe { width: 100%; height: 100%; border: 0; display: block; }
.locations-page .loc-card__footer {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px clamp(12px, 2vw, 18px); align-items: center; flex-wrap: wrap;
}
.locations-page .loc-address {
  display: grid; grid-template-columns: 20px auto; gap: 10px; align-items: center; color: #30323a;
}
.locations-page .loc-pin { color: var(--loc-purple); flex: 0 0 auto; }
.locations-page .loc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.locations-page .loc-card--details { padding: clamp(14px, 2vw, 18px); }
.locations-page .loc-card__title { margin: 4px 0 12px; font-size: 1.25rem; color: #2c2e36; letter-spacing: .2px; }
.locations-page .loc-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.locations-page .loc-list li {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  border-bottom: 1px dashed rgba(123,108,255,.18); padding: 8px 0;
}
.locations-page .loc-list li span { color: var(--loc-muted); }
.locations-page .loc-list li strong { color: #2f3340; }
.locations-page .loc-hours h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.locations-page .loc-hours p  { margin: 0 0 12px; color: var(--loc-muted); }
.locations-page .loc-note {
  margin-top: 8px; padding: 10px 12px;
  background: linear-gradient(90deg, rgba(123,108,255,.08), rgba(43,185,177,.08));
  border: 1px solid rgba(123,108,255,.15);
  border-radius: 12px; color: #434655;
}
.locations-page .btn { border-radius: 999px; padding: 10px 16px; font-weight: 600; }
.locations-page .btn-primary { background: linear-gradient(90deg, var(--loc-purple), var(--loc-teal)); border: none; color: #fff; }
.locations-page .btn-primary:hover { filter: brightness(0.95); }
.locations-page .btn-secondary { background: #fff; color: var(--loc-purple); border: 1px solid rgba(123,108,255,.35); }
.locations-page .btn-secondary:hover { background: #fafaff; }
.locations-page .btn-ghost { background: transparent; color: var(--loc-purple); border: 1px dashed rgba(123,108,255,.45); }


/* ===== Custom (non-BS) modal used on dashboard ===== */
.er-modal{ position:fixed; inset:0; display:flex; align-items:center; justify-content:center; padding:16px; z-index:2000; }
.er-modal-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:2000; }
.er-modal-card{ position:relative; z-index:2001; background:#fff; border-radius:16px; max-width:520px; width:100%;
  box-shadow:0 20px 60px rgba(0,0,0,.2); overflow:hidden; }
.er-modal-header,.er-modal-body,.er-modal-footer{ padding:16px 18px; }
.er-modal-header{ display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #f1f5f9; }
.er-modal-footer{ display:flex; gap:8px; justify-content:flex-end; border-top:1px solid #f1f5f9; }

/* Policy warning in cancel modal */
.policy-warning p { color:#7c2d12; }
.policy-warning strong { color:#92400e; }

/* ===== Bookings Page (scoped) ===== */
.bookings-page .section { padding: 24px 0; }
.bookings-page .container { max-width: 980px; margin: 0 auto; padding: 0 16px; }
/* Header / Tabs */
.bookings-page .bookings-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.bookings-page .page-title { font-size: 22px; margin: 0; }
.bookings-page .tabs { display: flex; gap: 8px; }
.bookings-page .tab {
  padding: 8px 12px; border-radius: 999px; border: 1px solid #cbd5e1;
  color: inherit; text-decoration: none; background: #fff;
}
.bookings-page .tab.active { background: #111; color: #fff; border-color: #111; }

/* Auto-rebooking card (client dashboard) */
.bookings-page .auto-rebook-card {
  margin: 12px 0 18px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.bookings-page .auto-rebook-title { font-weight: 800; font-size: 14px; }
.bookings-page .auto-rebook-sub { color: #6b7280; font-size: 13px; margin-top: 2px; }
.bookings-page .auto-rebook-list { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.bookings-page .auto-rebook-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bookings-page .auto-rebook-row__meta { color: #6b7280; font-size: 13px; margin-top: 2px; }
/* Table */
.bookings-page .table-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.06); background: #fff; }
.bookings-page .table { width: 100%; border-collapse: collapse; }
.bookings-page .table th,
.bookings-page .table td {
  padding: 10px 8px; border-bottom: 1px solid #e5e7eb;
  text-align: left; font-size: 14px; vertical-align: middle;
}
.bookings-page .table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; }
.bookings-page .th-actions, .bookings-page .td-actions { text-align: right; width: 1%; white-space: nowrap; }
/* Hover interaction */
.bookings-page .row--booking { transition: background .15s ease, transform .12s ease, box-shadow .12s ease; }
.bookings-page .row--clickable { cursor: pointer; }
.bookings-page .row--clickable:hover {
  background: rgba(17,24,39,.03);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,.06) inset;
}
.bookings-page .row--readonly { cursor: default; }
/* Cancel link */
.bookings-page .link.link--action {
  border: 0; background: none; color: #0d6efd;
  text-decoration: underline; cursor: pointer; font: inherit;
}
/* Status badges */
.bookings-page .pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.bookings-page .pill.confirmed { background: #dcfce7; }
.bookings-page .pill.held { background: #fff3cd; }
.bookings-page .pill.cancelled { background: #ffe4e6; }
.bookings-page .pill.noshow { background: #fecaca; }
.bookings-page .pill.late-cancel { background: #fde68a; } /* amber */
.bookings-page .pill.completed   { background: #e0e7ff; } /* soft periwinkle */
/* Empty message */
.bookings-page .empty { color: #6b7280; padding: 18px 6px; text-align: center; }
/* Buttons */
.bookings-page .btn {
  display: inline-flex; gap: 8px; align-items: center; justify-content: center;
  padding: 10px 14px; border-radius: 10px; border: 1px solid #cbd5e1;
  background: #fff; color: #111; text-decoration: none; cursor: pointer;
}
.bookings-page .btn-primary { background: #111; color: #fff; border-color: #111; }
.bookings-page .btn-secondary { background: #fff; color: #111; }
.bookings-page .btn-danger { background: #dc2626; color: #fff; border-color: transparent; }
.bookings-page .btn-ghost { background: #fff; color: #111; }
/* Modal (this block styles your *bookings-page* custom modal if used) */
.bookings-page .modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; animation: fadeIn .15s forwards; }
.bookings-page .modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; animation: fadeIn .15s forwards; }
.bookings-page .modal-card { background: #fff; border-radius: 16px; max-width: 520px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow: hidden; }
.bookings-page .modal-header { padding: 14px 18px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; }
.bookings-page .modal-title { margin: 0; font-size: 18px; }
.bookings-page .modal-x { border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; }
.bookings-page .modal-body { padding: 16px 18px; }
.bookings-page .modal-footer { padding: 12px 18px; border-top: 1px solid #f1f5f9; display: flex; gap: 8px; justify-content: flex-end; }
.bookings-page .modal-info { color: #374151; }
.bookings-page .policy-callout { margin-top: 10px; color: #6b7280; }
.bookings-page .form-error { color: #b91c1c; margin-top: 8px; }

@keyframes fadeIn { to { opacity: 1; } }

/* ===== Dashboard News List ===== */
.page-wrap .list-unstyled li:last-child { border-bottom: 0; }

/* === FullCalendar: past/today tinting === */
:root {
  --fc-today-bg-color: transparent; /* remove yellow highlight */
}

/* Past days — both month view and week/day view */
.fc .fc-daygrid-day.fc-day-past,
.fc .fc-timegrid-col.fc-day-past {
  background-color: #d78ab6 !important;
}

/* Past headers (Mon/Tue/etc.) */
.fc .fc-col-header-cell.fc-day-past {
  background-color: #d78ab6 !important;
  color: #3a0030 !important;
}
.fc .fc-col-header-cell.fc-day-past a {
  color: #3a0030 !important;
}

/* Today's header (optional: same tint) */
.fc .fc-col-header-cell.fc-day-today {
  background-color: #d78ab6 !important;
  color: #3a0030 !important;
}
.fc .fc-col-header-cell.fc-day-today a {
  color: #3a0030 !important;
}

/* Keep slot grid lines above any background events */
.fc .fc-timegrid-slots { position: relative; z-index: 2; }
.fc .fc-timegrid-bg    { z-index: 1; }

/* Past-day background events:
   We hide them entirely so the day’s red tint stays clean.
   This keeps the UI predictable and avoids weird overlapping colors.
   (It’s usually better than forcing them to recolor.)
*/
.fc .fc-day-past .fc-bg-event,
.fc .fc-day-past .fc-event.fc-bg-event,
.fc .fc-day-past .er-regular.fc-bg-event,
.fc .fc-day-past .er-newclient.fc-bg-event {
  display: none !important;
}
.fc .fc-timegrid-col-frame { position: relative; z-index: 2; }
.fc .fc-timegrid-bg        { position: relative; z-index: 1; }
.fc .fc-timegrid-slots     { position: relative; z-index: 10; }

/* === 2-hour lead tint (overlay driven by JS) === */
.fc .er-lead-tint {
  position: absolute;
  inset: 0 0 auto 0;
  height: 0;
  background: var(--er-zamorak) !important; /* Zamorak red */
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 15px rgba(184, 15, 10, 0.3);
  transition: height 0.4s ease, background 0.3s ease;
}

/* === 2-hour lead tint (FullCalendar background event) === */
.fc .er-lead-bg.fc-bg-event {
  background-color: var(--er-zamorak) !important; 
  border: none !important;
  pointer-events: none !important;
}

/* Belt & suspenders: override any inline bg color injected by FC 
.fc-bg-event[style*="background-color"] {
  background-color: var(--er-zamorak) !important; 
} */

.fc .fc-bg-event .fc-event-title { display: none; } 

/* Background event visuals should never steal clicks or draw borders */
.fc .er-past-bg.fc-bg-event,
.fc .er-lead-bg.fc-bg-event {
  pointer-events: none !important;
  border: 0 !important;
}

  /* Only affect the confirm page (client side) calendar */
  #calendar-page .fc .er-lead-bg.fc-bg-event{
    background-color: var(--er-zamorak) !important;
    border: none !important;
    pointer-events: none !important;
  }
  /* Override any inline colors only inside confirm page */
  #calendar-page .fc-bg-event[style*="background-color"]{
    background-color: var(--er-zamorak) !important;
  }
  /* Lead band color (only on confirm page) */
  #calendar-page .fc .er-lead-bg.fc-bg-event{
    background-color:  #a13890 !important;
    border: none !important;
    pointer-events: none !important;
    mix-blend-mode: multiply; /* helps show over pale availability */
  }
  
   /* Tighten event width so bookings fill the column under #calendar-page */
  #calendar-page .fc-timegrid-event-harness,
  #calendar-page .fc-timegrid-event-harness-inset {
    left: 0 !important;
    right: 0 !important;
  }

  #calendar-page .fc-timegrid-event {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-left-width: 0;
    border-right-width: 0;
  }

  #calendar-page .fc-v-event .fc-event-main-frame {
    padding-left: 6px;
    padding-right: 6px;
  }

  #calendar-page .fc-bg-event {
    left: 0 !important;
    right: 0 !important;
  }

  #calendar-page .fc-timegrid-col-events {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
/* === Admin calendar clickability fix ===================================== */
#calendar .fc-timegrid-event-harness,
#calendar .fc-timegrid-event,
#calendar .fc-daygrid-event {
  z-index: 50 !important;           /* above slots/backgrounds */
  pointer-events: auto !important;  /* clickable */
}

#calendar .fc-timegrid-slots,
#calendar .fc-timegrid-bg {
  z-index: 0 !important;            /* behind events */
}

#calendar .fc-bg-event,
#calendar .er-past-bg,
#calendar .er-lead-bg {
  pointer-events: none !important;  /* bands never eat clicks */
  z-index: 1 !important;
}

.picker-footer .btn { min-width: 74px; }
.picker-footer .picker-select i { margin-right: .35rem; }
.input-selected { box-shadow: 0 0 0 .25rem rgba(123,108,255,.15); border-color: #7b6cff; }

/* Fix Flatpickr alignment & Bootstrap feel */
.flatpickr-input[readonly] {
  background-color: var(--bs-body-bg, #fff);
  cursor: pointer;
}

.flatpickr-input.form-control {
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

.flatpickr-input::placeholder {
  color: #6c757d;
  opacity: 1;
}

/* --- Promotion Modal Header Styling --- */
.promo-modal-header {
  background: linear-gradient(90deg, var(--lavender) 0%, var(--teal) 100%);
  border-bottom: none;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.08);
}

.promo-modal-header .promo-header-bar {
  width: 6px;
  height: 28px;
  border-radius: 3px;
  background: var(--deep-purple, #793896);
  box-shadow: 0 0 6px rgba(121, 56, 150, 0.6);
}

.promo-modal-header .modal-title {
  font-size: 1.1rem;
  color: #1f2328;
  letter-spacing: 0.3px;
}

.promo-modal-header .btn-close {
  filter: invert(0.2);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.promo-modal-header .btn-close:hover {
  opacity: 1;
}

#rx-filter {
  border: 2px solid var(--purple);
  font-weight: 600;
  background-color: #ffffff;
  box-shadow: 0 0 6px rgba(107, 74, 205, 0.25);
}

#rx-filter:focus {
  border-color: var(--deep-purple);
  box-shadow: 0 0 8px rgba(121, 56, 150, 0.35);
}

.sms-consent-box {
  background: rgba(121, 56, 150, 0.03); /* very light purple wash */
  border-radius: 0.75rem;
}
.sms-consent-box .form-check-input {
  margin-top: 0.35rem;
}

/* === Registration page: make SMS radios clearly visible === */
.register-page .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.register-page .form-check-input[type="radio"] {
  /* Nuke any "hidden" tricks */
  opacity: 1 !important;
  position: static !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;

  width: 1.1rem !important;
  height: 1.1rem !important;
  margin-top: 0.1rem;
  margin-right: 0.4rem;

  background-color: #ffffff !important;
  border: 2px solid #793896 !important;
  border-radius: 50%;
}

/* Checked state pop a bit more */
.register-page .form-check-input[type="radio"]:checked {
  background-color: #793896 !important;
  box-shadow: 0 0 0 2px rgba(121, 56, 150, 0.25);
}

  /* Disable the zoom/transform hover just for this page's container */
  .table-container.table-container--no-hover {
    transition: box-shadow 0.3s ease !important; /* keep soft shadow animation */
    transform: none !important;
  }
  .table-container.table-container--no-hover:hover {
    transform: none !important;
    box-shadow: 0 6px 20px rgba(121, 56, 150, 0.15) !important; /* keep it consistent */
  }
  
/* =====================================================
   Client Management — Scrollable Panels
   ===================================================== */

.er-appointments-scroll {
  max-height: 475px;
  overflow-y: auto;
}

.er-appointments-scroll table {
  margin-bottom: 0;
}

/* Client Notes panel scroll (same height as appointments) */
.er-client-notes-scroll {
  max-height: 475px;
  overflow-y: auto;
}

/* Clickable booking rows for note editing */
.er-booking-row {
  cursor: pointer;
}
/* Force visible thin outlines for ALL inputs, textareas, and selects on this page */
#manage-services-page input.form-control,
#manage-services-page textarea.form-control,
#manage-services-page select.form-control {
    border: 1px solid #ccc !important;
    background-color: #fff !important;
}

#manage-services-page input.form-control:focus,
#manage-services-page textarea.form-control:focus,
#manage-services-page select.form-control:focus {
    border-color: #7a2bbd !important;   /* purple-magenta brand color */
    box-shadow: 0 0 0 0.15rem rgba(122, 43, 189, 0.2) !important;
}

#manage-services-page textarea.form-control {
    min-height: 120px !important;   /* a nice medium block size */
    resize: vertical;               /* allow user to drag bottom edge */
    line-height: 1.4;
    padding-top: 0.6rem;
}
#manage-addons-page .form-check-input {
    border: 1px solid #888 !important;
    background-color: #fff !important;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.25rem;
}

#manage-addons-page .form-check-input:checked {
    background-color: #7a2bbd !important; /* your purple-magenta */
    border-color: #7a2bbd !important;
}

#manage-addons-page .form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(122, 43, 189, 0.25) !important;
}
/* Make add-on checkboxes visible on confirm_booking */
.addon-checkbox.form-check-input {
    border: 1px solid #888 !important;
    background-color: #fff !important;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.25rem;
}

.addon-checkbox.form-check-input:checked {
    background-color: #7a2bbd !important; /* your purple-magenta */
    border-color: #7a2bbd !important;
}

.addon-checkbox.form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(122, 43, 189, 0.25) !important;
}
  .forgot-link {
    font-size: 0.9rem;
    color: #6B4ACD; /* purple-magenta theme */
    text-decoration: none;
    font-weight: 750;
    transition: color 0.2s ease-in-out;
  }
  .forgot-link:hover {
    color: #B04BB3;
    text-decoration: underline;
  }
  
/* =====================================================
   Admin Appointments Calendar — Layout & Mini Calendar
   ===================================================== */

/* Container centering + width */
#admin-calendar-page {
  max-width: 1200px;
  margin: 0 auto;
}

/* Let the admin calendar use full width inside its card,
   without messing with other pages that use #calendar */
#admin-calendar-page #calendar {
  max-width: 100%;
  margin: 0;
}

/* Mini month calendar in the left sidebar */
#mini-calendar .fc {
  font-size: 0.75rem;
}

#mini-calendar .fc-daygrid-day-number {
  font-size: 0.7rem;
}

#mini-calendar .fc-daygrid-day {
  cursor: pointer;
  padding: 0.15rem !important;
}

/* Slight hover feedback on the mini calendar days */
#mini-calendar .fc-daygrid-day:hover {
  background-color: rgba(121, 56, 150, 0.06);
}

/* Make today stand out a bit in mini calendar */
#mini-calendar .fc-daygrid-day.fc-day-today {
  background-color: rgba(121, 56, 150, 0.12) !important;
  border-radius: 6px;
}
#admin-calendar-page #calendar {
  height: calc(100vh - 220px) !important;
  min-height: 600px !important;
}
.btn-er-lav {
  background: #b98cff;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(185, 140, 255, 0.4);
}
.btn-er-lav:hover {
  background: #a577ff;
  color: white;
  box-shadow: 0 6px 16px rgba(185, 140, 255, 0.55);
}
.btn-gold {
  background: linear-gradient(135deg, #f8d568 0%, #e0b94d 50%, #cfa63a 100%);
  color: #4a3200 !important;
  border: 1px solid #b08a2c;
  font-weight: 600;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.15),
    inset 0 1px 1px rgba(255,255,255,0.4);
  transition: all 0.15s ease-in-out;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffdd77 0%, #e9c158 50%, #d9af41 100%);
  box-shadow:
    0 4px 10px rgba(0,0,0,0.18),
    inset 0 1px 1px rgba(255,255,255,0.55);
  transform: translateY(-1px);
}

.btn-gold:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.25);
}
.btn-purple{
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color:#fff;
  border:none;
}
.btn-purple:hover{
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color:#fff;
}
.btn-purple:focus{
  box-shadow: 0 0 0 .2rem rgba(168,85,247,.45);
}












