/* ============================================
   SLOPE — Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --orange:   #f5a43a;
  --accent:   #f26c3a;
  --purple:   #9b8ede;
  --green:    #7dc98a;
  --dark:     #111111;
  --mid:      #333333;
  --muted:    #666666;
  --light-bg: #eeeef5;
  --white:    #ffffff;
  --font:     'DM Sans', sans-serif;

  /* shadows */
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);

  /* radii */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── TYPOGRAPHY ──────────────────────────── */
h1, h2, h3, h4, h5 { letter-spacing: -.03em; line-height: 1.1; }
p { line-height: 1.6; }
a { color: inherit; }

/* ── NAV ─────────────────────────────────── */
nav#mainNav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* floating pill — default state */
  width: 90%;
  max-width: 1200px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  /* animate */
  transition:
    padding      .4s cubic-bezier(.4,0,.2,1),
    width        .4s cubic-bezier(.4,0,.2,1),
    box-shadow   .4s cubic-bezier(.4,0,.2,1),
    background   .3s ease,
    top          .4s cubic-bezier(.4,0,.2,1);
  /* appear on load */
  animation: navAppear .5s cubic-bezier(.34,1.2,.64,1) both;
}

@keyframes navAppear {
  from { opacity:0; transform:translateX(-50%) translateY(-12px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}

nav#mainNav.scrolled {
  top: 10px;
  width: 82%;
  max-width: 1080px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 36px rgba(0,0,0,.13), 0 2px 8px rgba(0,0,0,.06);
}

/* offset page content so it doesn't hide under the fixed nav */
body { padding-top: 90px; }

/* index page overrides this with its own padding on the hero */
body.page-home { padding-top: 0; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.3px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-size: 15px;
  font-weight: 400;
  transition: color .2s;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a.active { color: var(--dark); font-weight: 500; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-nav-ghost {
  background: none;
  border: 1.5px solid #e0e0e8;
  color: var(--dark);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nav-messages-btn {
  display: flex;
  align-items: center;
  gap: 8px; /* Prevents badge from cramping text */
}
.nav-unread-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.btn-nav-ghost:hover { border-color: #aaa; background: #fafafa; }

.btn-nav {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-nav:hover { background: #2a2a2a; }

/* user pill (when logged in) */
.nav-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1.5px solid #e0e0e8;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  background: var(--white);
}
.nav-user-pill:hover { border-color: #aaa; }
.nav-user-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; font-weight: 600;
}
.nav-user-pill.active { border-color: var(--accent); }
.nav-user-pill.active .nav-chevron { transform: rotate(180deg); }
.nav-chevron { transition: transform .2s ease; }

/* dropdown */
.nav-user-wrap { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: var(--white);
  border: 1.5px solid #e0e0e8;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  overflow: hidden;
  z-index: 1100;
  animation: dropdownIn .15s ease;
}
.nav-dropdown.open { display: block; }
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--dark);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
  text-align: left;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--light-bg); }
.nav-dropdown-sep { height: 1px; background: #e0e0e8; margin: 4px 0; }
.nav-dropdown-signout { color: #e85858; }
.nav-dropdown-signout:hover { background: #fff0f0; }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: none;
  text-decoration: none;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary   { background: var(--dark);   color: var(--white); }
.btn-primary:hover { background: #2a2a2a; }

.btn-accent    { background: var(--accent);  color: var(--white); }
.btn-accent:hover  { background: #d45a2a; }

.btn-outline {
  background: transparent;
  border: 1.5px solid #e0e0e8;
  color: var(--dark);
}
.btn-outline:hover { border-color: #aaa; background: #fafafa; }

.btn-ghost { background: var(--light-bg); color: var(--dark); }
.btn-ghost:hover { background: #e4e4ec; }

.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

.btn:disabled { background: #e0e0e8; color: #aaa; cursor: not-allowed; transform: none; }

/* ── FORM ELEMENTS ───────────────────────── */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.field-group.no-mb { margin-bottom: 0; }

label {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  background: #f4f4f8;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--dark);
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

input.error, select.error, textarea.error {
  border-color: #e85858 !important;
  background: #fff5f5;
}

textarea { resize: vertical; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #888;
  pointer-events: none;
}

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 42px; }
.pw-toggle {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 0;
  display: flex; align-items: center;
}
.pw-toggle svg { width: 16px; height: 16px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

/* strength bar */
.strength-wrap { display: flex; gap: 4px; margin-top: 6px; }
.strength-seg  { flex: 1; height: 3px; border-radius: 2px; background: #e0e0e8; transition: background .3s; }
.strength-label { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ── CARDS ───────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}

/* ── TAGS / CHIPS ────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid #e0e0e8;
  background: var(--white);
  color: #555;
  transition: all .18s;
  user-select: none;
}
.chip:hover    { border-color: var(--purple); color: var(--purple); }
.chip.selected { background: var(--purple); border-color: var(--purple); color: var(--white); }
.chip.disabled { color: #ccc; border-color: #eee; background: #f8f8f8; cursor: not-allowed; }

/* ── BREADCRUMB ──────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current { color: var(--dark); font-weight: 500; }

/* ── TOAST NOTIFICATIONS ─────────────────── */
#toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--dark);
  color: var(--white);
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: all;
  animation: toastIn .3s cubic-bezier(.34,1.56,.64,1) both;
  max-width: 320px;
}
.toast.success { background: #1a6b3a; }
.toast.error   { background: #8a2020; }
.toast.info    { background: #2a4a8a; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(10px); }
}

/* ── LOADING SPINNER ─────────────────────── */
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── PAGE TRANSITIONS ────────────────────── */
.page-enter {
  animation: fadeUp .45s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}
.shake { animation: shake .3s ease; }

/* ── FOOTER ──────────────────────────────── */
footer#mainFooter {
  background: #111214;
  color: var(--white);
  padding: 64px 80px 0;
  margin-top: auto;
}

.footer-support {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-bottom: 32px;
  justify-content: flex-end;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr;
  gap: 48px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  align-items: start;
}

.footer-brand .nav-logo { color: var(--white); margin-bottom: 0px; display: inline-flex; }
.footer-brand-logo img {
  display: block;
  width: 118px;
  height: 36px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 0px;
}
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 240px; margin-top: 0; }

.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.footer-col a  { display: block; font-size: 14px; color: rgba(255,255,255,.5); text-decoration: none; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }

.footer-newsletter h4 { font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.footer-newsletter p  { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 18px; line-height: 1.5; }

.newsletter-form { display: flex; border-radius: var(--radius-sm); overflow: hidden; }
.newsletter-form input {
  flex: 1; padding: 13px 16px; background: #1e2025;
  border: none; color: var(--white); font-size: 14px;
  font-family: var(--font); outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form button {
  padding: 13px 22px; background: var(--accent); color: var(--white);
  border: none; font-size: 14px; font-weight: 500;
  font-family: var(--font); cursor: pointer; transition: background .2s; white-space: nowrap;
}
.newsletter-form button:hover { background: #d45a2a; }

.footer-biglogo { text-align: center; padding: 0; overflow: hidden; }
.footer-sideside-logo {
  display: block;
  margin: 0 auto;
  width: min(94vw, 820px);
  height: 220px;
  object-fit: contain;
  object-position: center;
  opacity: 0.95;
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0 32px; font-size: 13px; color: rgba(255,255,255,.35);
}
.footer-socials { display: flex; align-items: center; gap: 12px; }
.social-icon {
  width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none;
  transition: border-color .2s, color .2s;
}
.social-icon:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

/* ── HAMBURGER BUTTON ────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: 1.5px solid #e0e0e8;
  cursor: pointer;
  padding: 7px 8px;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: background .2s, border-color .2s;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}
.nav-hamburger:hover { background: var(--light-bg); border-color: #bbb; }

/* Desktop: show chat button; mobile logo hidden */
.nav-actions > .btn-nav-ghost:first-child { display: flex; }
.nav-logo-desktop { display: flex; }
.nav-logo-mobile { display: none; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav-sideside-logo {
  display: block;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.nav-sideside-logo-desktop {
  width: 118px;
  height: 36px;
}
.nav-sideside-logo-mobile {
  width: 160px;
  height: 52px;
}

nav#mainNav.scrolled .nav-links { gap: 20px; }
nav#mainNav.scrolled .btn-nav-ghost { padding: 8px 14px; }
nav#mainNav.scrolled .btn-nav { padding: 9px 16px; }

/* nav CTA text — full vs short on mobile */
.nav-cta-short { display: none; }

/* nav user name — hidden on very small screens */
.nav-user-name { display: inline; }

/* ── MOBILE MENU OVERLAY ─────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  right: 12px;
  width: 280px;
  background: var(--white);
  z-index: 1001;
  flex-direction: column;
  overflow-y: auto;
  border-radius: var(--radius-md);
  border: 1.5px solid #e0e0e8;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  max-height: calc(100vh - 100px);
  padding: 8px 0;
}
.mobile-menu.open { display: flex; animation: menuSlideIn .2s ease both; }

@keyframes menuSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mmenu-top {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  flex-shrink: 0;
}

.mmenu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border: none;
  cursor: pointer;
  padding: 9px;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: background .15s;
  line-height: 0;
}
.mmenu-close:hover { background: #e4e4ec; }

.mmenu-links {
  list-style: none;
  padding: 0;
  flex: 1;
}
.mmenu-links li a,
.mmenu-links li button {
  display: block;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  border-radius: 0;
  transition: background .15s, color .15s;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}
.mmenu-links li a:hover,
.mmenu-links li button:hover  { background: var(--light-bg); }
.mmenu-links li a.active { background: var(--light-bg); color: var(--accent); }

.mmenu-sep { height: 1px; background: rgba(0,0,0,.06); margin: 4px 0; }

.mmenu-bottom {
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,.06);
  display: none;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.mmenu-user-row {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  margin-bottom: 4px;
}
.mmenu-user-name { font-size: 15px; font-weight: 600; color: var(--dark); }
.mmenu-user-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1100px) and (min-width: 901px) {
  nav#mainNav { width: 94%; padding: 12px 20px; }
  nav#mainNav.scrolled { width: 92%; padding: 10px 18px; }
  .nav-links,
  nav#mainNav.scrolled .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .btn-nav-ghost { padding: 8px 14px; }
  .btn-nav { padding: 9px 15px; }
}

@media (max-width: 900px) {
  nav#mainNav { padding: 12px 20px; }
  nav#mainNav .nav-links { display: none; }
  /* Mobile/tablet: hide all action buttons except hamburger */
  nav#mainNav .nav-actions > *:not(.nav-hamburger) { display: none !important; }
  nav#mainNav .nav-hamburger { display: inline-flex; }
  /* Swap logo: hide desktop icon+text, show sideside */
  .nav-logo-desktop { display: none; }
  .nav-logo-mobile { display: flex; }
  .nav-sideside-logo-mobile {
    width: 148px;
    height: 48px;
  }
  footer#mainFooter { padding: 48px 24px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-support { justify-content: flex-start; }
  .field-row { grid-template-columns: 1fr; }
}

/* ── SCHEDULE & CALENDAR DARK MODE ───────── */
html.dark .cal-month-nav,
html.dark .cal-month-title { color: var(--dark); }

html.dark .cal-nav-btn {
  background: #2a2a3a;
  border-color: rgba(255,255,255,0.1);
  color: var(--dark);
}
html.dark .cal-nav-btn:hover { background: #353545; border-color: rgba(255,255,255,0.2); }

html.dark .block-day-action {
  background: rgba(232, 88, 88, 0.25);
  color: #ff6b6b;
  border: 1px solid rgba(232, 88, 88, 0.4);
}
html.dark .block-day-action:hover { background: rgba(232, 88, 88, 0.25); }

html.dark .cal-grid { border-color: rgba(255,255,255,0.06); }
html.dark .cal-day-cell { border-color: rgba(255,255,255,0.06); }
html.dark .cal-day-header { color: var(--muted); border-bottom-color: rgba(255,255,255,0.06); }
html.dark .cal-day-cell.today { background: rgba(242, 108, 58, 0.08); }
html.dark .cal-day-cell.other-month { color: rgba(255,255,255,0.2); }

/* ── ONBOARDING & SUCCESS PAGES DARK MODE ── */
html.dark .onboarding-card,
html.dark .details-section,
html.dark .success-card,
html.dark .onboarding-step-indicator {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-md);
}

html.dark .onboarding-sidebar { background: #16161f; border-right-color: rgba(255,255,255,0.06); }
html.dark .onboarding-step.active .step-num { background: var(--accent); color: #fff; }
html.dark .onboarding-step .step-num { background: #2a2a3a; color: var(--muted); }

html.dark .success-icon-wrap { background: rgba(125, 201, 138, 0.1); color: var(--green); }
html.dark .booking-summary-box { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }

/* ── EARNINGS & REQUESTS DARK MODE ───────── */
html.dark .stat-card {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
}
html.dark .request-item,
html.dark .payout-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}
html.dark .request-item:hover { background: rgba(255,255,255,0.04); }
html.dark .status-pill.pending { background: rgba(245, 164, 58, 0.25); color: #ffd700; }
html.dark .status-pill.confirmed { background: rgba(125, 201, 138, 0.15); color: #98fb98; }

@media (max-width: 768px) {
  nav#mainNav {
    width: calc(100% - 24px);
    max-width: none;
    top: 10px;
    padding: 11px 16px;
  }
  nav#mainNav.scrolled {
    width: calc(100% - 24px);
    max-width: none;
    top: 8px;
    padding: 10px 14px;
  }
  body { padding-top: 72px; }
  body.page-home { padding-top: 0; }
  #toast-container { bottom: 16px; right: 12px; left: 12px; }
  .toast { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer-biglogo { padding: 0; }
  .footer-sideside-logo {
    width: min(104vw, 600px);
    height: 210px;
    margin: 0 0 0 -24px;
  }
}

@media (max-width: 480px) {
  nav#mainNav { width: calc(100% - 16px); }
  nav#mainNav.scrolled { width: calc(100% - 16px); }
}

/* ── DARK MODE — MOBILE MENU ─────────────── */
html.dark .nav-hamburger { border-color: rgba(255,255,255,.14); color: #f0f0f5; }
html.dark .nav-hamburger:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.25); }
html.dark .mobile-menu { background: #2a2a3a; border-color: rgba(255,255,255,.1); }
html.dark .mmenu-top { border-bottom-color: rgba(255,255,255,.08); }
html.dark .mmenu-links li a { color: #f0f0f5; }
html.dark .mmenu-links li a:hover  { background: rgba(255,255,255,.06); }
html.dark .mmenu-links li a.active { background: rgba(255,255,255,.06); color: var(--accent); }
html.dark .mmenu-links li button { color: #f0f0f5 !important; }
html.dark .mmenu-links li button:hover { background: rgba(255,255,255,.06) !important; }
html.dark .mmenu-bottom { border-top-color: rgba(255,255,255,.08); }
html.dark .mmenu-sep { background: rgba(255,255,255,.08); }
html.dark .mmenu-close { background: rgba(255,255,255,.07); color: #f0f0f5; }
html.dark .mmenu-close:hover { background: rgba(255,255,255,.12); }
html.dark .mmenu-user-row { background: rgba(255,255,255,.05); }

/* ── DARK MODE ───────────────────────────── */
html.dark {
  --white:    #1e1e2a;
  --light-bg: #16161f;
  --dark:     #f0f0f5;
  --mid:      #ccccdd;
  --muted:    #8888aa;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.35);
  --shadow-md: 0 4px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.55);
}
html.dark body { background: var(--light-bg); color: var(--dark); }

html.dark nav#mainNav {
  background: rgba(22,22,31,.96);
  border-color: rgba(255,255,255,.08);
}
html.dark .nav-links a { color: #bbbbd0; }
html.dark .nav-links a:hover,
html.dark .nav-links a.active { color: #fff; }
html.dark .btn-nav-ghost { color: #bbbbd0; border-color: rgba(255,255,255,.14); }
html.dark .btn-nav-ghost:hover { background: rgba(255,255,255,.07); color: #fff; }
html.dark .nav-user-pill { background: #2a2a3a; border-color: rgba(255,255,255,.14); color: var(--dark); }
html.dark .nav-user-pill:hover { border-color: rgba(255,255,255,.3); }
html.dark .nav-user-pill.active { border-color: var(--accent); }
html.dark .nav-dropdown { background: #1e1e2a; border-color: rgba(255,255,255,.1); box-shadow: 0 8px 32px rgba(0,0,0,.5); }
html.dark .nav-dropdown-item { color: var(--dark); }
html.dark .nav-dropdown-item:hover { background: rgba(255,255,255,.06); }
html.dark .nav-dropdown-sep { background: rgba(255,255,255,.08); }

html.dark input:not([type="checkbox"]):not([type="radio"]),
html.dark textarea,
html.dark select {
  background: #2a2a3a !important;
  color: var(--dark) !important;
  border-color: rgba(255,255,255,.1) !important;
}
html.dark input:disabled { opacity: .5; }

html.dark .booking-item,
html.dark .payment-item,
html.dark .request-item,
html.dark .review-item { border-bottom-color: rgba(255,255,255,.06); }
html.dark .nav-divider,
html.dark .section-card h3,
html.dark .settings-row { border-bottom-color: rgba(255,255,255,.06) !important; }
html.dark .settings-section,
html.dark .danger-zone { border-color: rgba(255,255,255,.08) !important; }

html.dark footer#mainFooter { background: #111214 !important; color: #ffffff !important; }
