:root {
  --bg: #0f0f10;
  --surface: #18181a;
  --surface-alt: #222327;
  --accent: #4f9dff;
  --text: #f5f5f7;
  --muted: #b0b0b5;
  --border: #2f2f33;
  --radius-lg: 16px;
  --radius-sm: 8px;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #222 0, #050506 55%);
  color: var(--text);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.tight-space {
  margin-top: -0.5rem !important;
  margin-bottom: 1rem !important;
}

.no-margin {
  margin: 0 !important;
}

.link-inline {
  color: var(--accent);
  text-decoration: underline;
}

.link-inline:hover {
  text-decoration: underline;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 0;
  gap: 1.5rem;
}

.header-greeting {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-left: 1.5rem;
}

.header-nav {
  flex: 1 1 auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(120px, 1fr);
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: 420px;
}

.header-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  min-width: 0;
}

.header-auth-btn {
  margin-left: 0;
}

.header-hidden {
  display: none !important;
}

.logo {
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.logo a {
  color: var(--muted);
  text-decoration: none;
}
.logo a:hover { text-decoration: underline; }

.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1.1;
}

.logo-text-primary,
.logo-text-secondary {
  display: inline-block;
}

.logo-text-secondary {
  text-transform: lowercase;
}

/* Navigation in the center */
nav {
  display: flex;
  gap: 1.1rem;
  flex: 1;
  justify-content: center;
}

/* Center header area for toggle */
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Theme toggle switch */
.theme-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.theme-switch input {
  display: none;
}

.switch-slider {
  display: inline-block;
  width: 50px;
  height: 26px;
  background-color: var(--border);
  border-radius: 13px;
  position: relative;
  transition: background-color 0.3s ease;
  border: 1px solid var(--border);
}

.switch-slider::after {
  content: '☾';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--muted);
  transition: opacity 0.3s ease;
  opacity: 1;
}

.switch-slider::before {
  content: '☀';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--surface);
  top: 1px;
  left: 1px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  opacity: 0;
}

.theme-switch input:checked + .switch-slider {
  background-color: var(--accent);
  border-color: var(--accent);
}

.theme-switch input:checked + .switch-slider::after {
  opacity: 0;
}

.theme-switch input:checked + .switch-slider::before {
  transform: translateX(24px);
  background-color: #ffffff;
  opacity: 1;
}

/* Current time display */
.current-time {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  margin-top: 0.25rem;
}

/* Time display wrapper */
.time-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Light theme variable overrides */
.light-theme {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --surface-alt: #eeeeee;
  --accent: #0066cc;
  --text: #000000;
  --muted: #666666;
  --border: #dddddd;
}

body.light-theme {
  background: #ffffff;
  color: var(--text);
}

.light-theme .site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
}

.light-theme .logo a {
  color: var(--muted);
}

/* Light theme text color fixes for all content elements */
.light-theme h1,
.light-theme h2,
.light-theme h3,
.light-theme h4,
.light-theme h5,
.light-theme h6,
.light-theme p,
.light-theme li,
.light-theme label,
.light-theme span,
.light-theme div {
  color: var(--text);
}

.light-theme a {
  color: var(--accent);
}

.light-theme .help-text {
  color: var(--muted);
}

.light-theme nav a {
  color: var(--muted);
}

.light-theme nav a:hover {
  color: var(--text);
}

.light-theme .theme-toggle {
  color: var(--muted);
}

.light-theme .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

nav a {
  margin-left: 0;
  font-size: 0.95rem;
  color: #d4d4d8;
}
nav a:hover { color: var(--text); }

/* Login link styling */
nav .login-link {
  color: #38bdf8;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  border: 1px solid #38bdf8;
  transition: all 0.2s ease;
}

nav .login-link:hover {
  background: #38bdf8;
  color: #0f172a;
  text-decoration: none;
}

.hero {
  padding: 32px 0 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
}

.hero-lede {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.hero-actions .btn {
  margin-right: 12px;
  margin-top: 12px;
}

.trust-bullets {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.section {
  margin: 24px 0;
}

.home-section {
  margin: 48px 0;
}

.home-section--alt {
  background: rgba(36, 44, 61, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px clamp(16px, 4vw, 40px);
  margin: 56px 0;
}

.home-grid {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
}

.feature-card {
  background: rgba(24, 24, 26, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 20px 40px rgba(15, 17, 26, 0.25);
}

.highlight-card {
  background: radial-gradient(circle at top, rgba(79, 157, 255, 0.12), rgba(24, 24, 26, 0.85));
}

.feature-list,
.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  font-size: 0.98rem;
  line-height: 1.6;
}

.fact-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.95rem;
}

.fact-list span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 60px;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.tag {
  background: rgba(79, 157, 255, 0.12);
  border: 1px solid rgba(79, 157, 255, 0.35);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.section-intro {
  max-width: 640px;
  color: var(--muted);
  margin-bottom: 24px;
}

.photo-gallery {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.photo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(79, 157, 255, 0.4);
  background: rgba(24, 38, 56, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.photo-frame:hover {
  border-color: rgba(79, 157, 255, 0.8);
  transform: translateY(-3px);
}

.photo-placeholder {
  color: var(--muted);
  font-size: 0.95rem;
}

.photo-card figcaption {
  font-size: 0.9rem;
  color: var(--muted);
}

.testimonial-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial {
  background: rgba(24, 24, 26, 0.7);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(20px, 3vw, 28px);
  font-size: 0.97rem;
  line-height: 1.7;
}

.testimonial cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  color: var(--muted);
}

.small-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.cta-section {
  text-align: center;
  padding: 48px clamp(16px, 4vw, 56px);
  background: linear-gradient(135deg, rgba(79, 157, 255, 0.25), rgba(24, 24, 26, 0.85));
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(19, 23, 36, 0.35);
}

.cta-section .btn {
  margin: 8px;
}

.cta-section p {
  max-width: 520px;
  margin: 0.5rem auto 1.5rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px 16px 20px;
  border: 1px solid var(--border);
  margin: 18px 0;
}

.field-row {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}

.field-row label {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.field-row input,
.field-row select,
.field-row textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  padding: 8px;
  font: inherit;
}

.field-row textarea {
  resize: vertical;
}

.checkbox-row {
  display: block !important;
  margin-bottom: 12px;
}

.checkbox-row label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  flex-direction: row !important;
  margin-bottom: 0 !important;
  cursor: pointer;
}

.students-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .students-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
}

.btn.primary {
  background: var(--accent);
  color: #020203;
}
.btn.primary:hover { filter: brightness(1.08); }

.btn.secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn.secondary:hover { background: rgba(79, 157, 255, 0.12); }

.btn.tertiary {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}

.button-row .btn { margin-right: 8px; }

.form-message {
  margin-top: 8px;
  font-size: 0.9rem;
}

.form-message.ok { color: #6fff9b; }
.form-message.error { color: #ff8080; }

/* Admin page editor overlay */
.page-editor-bar {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 10px 16px;
  background: rgba(12, 16, 24, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  z-index: 1200;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.page-editor-group,
.page-editor-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-editor-tools {
  flex-wrap: wrap;
}

.page-editor-bar .btn {
  margin: 0;
  padding: 6px 16px;
}

.page-editor-toggle {
  min-width: 140px;
}

.page-editor-save {
  min-width: 130px;
}

.page-editor-tool {
  min-width: auto;
  padding: 6px 10px;
  font-size: 0.85rem;
}

.page-editor-tool-bold {
  font-weight: 700;
}

.page-editor-tool-italic {
  font-style: italic;
}

.page-editor-tool-underline {
  text-decoration: underline;
}

.page-editor-tools .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-editor-font-size {
  min-width: 120px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(17, 24, 39, 0.65);
  color: inherit;
  font-size: 0.85rem;
}

.page-editor-font-size:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-editor-status {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.page-editor-status.ok {
  color: #71ffb0;
}

.page-editor-status.warning {
  color: #ffc870;
}

.page-editor-status.error {
  color: #ff8080;
}

body.page-edit-mode {
  cursor: text;
}

[data-editable-block].page-editor-active {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
  position: relative;
  background: rgba(79, 157, 255, 0.08);
  cursor: text;
}

body.page-edit-mode [data-editable-block]:hover {
  background: rgba(79, 157, 255, 0.12);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding: 16px 0 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Google Calendar iframe */
.gcal-embed {
  width: 100%;
  height: 600px;
  border-radius: var(--radius-lg);
  margin-top: 10px;
}

/* Availability calendar grid */
.availability-calendar {
  margin-top: 10px;
  overflow-x: auto;
  overflow-y: visible;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 8px;
  font-size: 0.75rem;
}

.av-row {
  display: grid;
  grid-template-columns: 70px repeat(5, 1fr);
  align-items: stretch;
  overflow: visible;
}

.av-row-header {
  font-weight: 600;
  text-align: center;
  padding: 4px 0;
}

.av-time-label {
  padding: 4px;
  color: var(--muted);
}

.av-slot {
  border-left: 1px solid #333;
  border-top: 1px solid #333;
  min-height: 32px;
  position: relative;
  cursor: pointer;
  overflow: visible;
}

.av-slot.available {
  cursor: pointer;
}

.av-slot.available:hover {
  background: rgba(79, 157, 255, 0.3);
}

.av-slot.unavailable {
  cursor: not-allowed;
}

.av-slot.selected {
  background: transparent;
  color: #020203;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.av-block {
  position: absolute;
  inset: 2px;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  font-size: 0;
  transition: background 0.2s ease;
  pointer-events: none;
}
.av-block:hover {
  background: transparent;
}
.av-block.selected {
  background: transparent;
  color: #020203;
  font-size: 0.7rem;
  pointer-events: none;
}

.av-block-unavailable {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 0;
  height: 100%;
  background: rgba(58, 58, 60, 0.9);
  border-radius: 4px;
  pointer-events: none;
}

#duration-hours option:disabled {
  color: #555;
  background: #222;
}

/* Slightly dim disabled options across browsers */
#duration-hours option[disabled] { opacity: 0.65; }

@media (max-width: 640px) {
  .availability-calendar {
    font-size: 0.65rem;
    padding: 4px;
  }

  .availability-calendar .av-row-header {
    font-size: 0.6rem;
  }

  .availability-calendar .av-time-label {
    font-size: 0.6rem;
    padding: 2px 0;
  }

  .availability-calendar .av-slot {
    min-height: 24px;
  }
}

@media (max-width: 420px) {
  .availability-calendar {
    font-size: 0.58rem;
  }

  .availability-calendar .av-row-header {
    font-size: 0.55rem;
  }

  .availability-calendar .av-time-label {
    font-size: 0.55rem;
  }

  .availability-calendar .av-slot {
    min-height: 22px;
  }
}

/* Helpers */
.hidden { display: none; }
.help-text { color: var(--muted); font-size: 0.85rem; }

/* ========== Mobile Responsive Design ========== */

/* Small phones: 0–480px */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .time-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* .header-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0;
  } */

    .header-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 8px;
      padding: 8px 0;
    }

    .logo {
      font-size: 0.95rem;
    }

    .logo-text {
      flex-direction: column;
      gap: 0;
    }

    .logo-text-secondary {
      margin-top: 2px;
      letter-spacing: 0.08em;
    }

    .header-greeting {
      order: 1;
      margin-left: 0;
      font-size: 0.85rem;
    }

    .header-nav {
      order: 2;
      width: 100%;
      grid-auto-flow: row;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
      margin: 0;
      justify-content: center;
      max-width: 100%;
    }

    .header-nav .header-nav-item {
      font-size: 0.68rem;
      padding: 3px 6px;
      border-radius: 16px;
    }

    .header-nav .btn {
      display: flex;
      margin-bottom: 0;
      width: 100%;
    }

    .header-right {
      order: 3;
      width: 100%;
      align-items: flex-end;
    }

    .current-time {
      font-size: 0.65rem;
    }

  .page-editor-bar {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 12px;
  }

  .page-editor-group,
  .page-editor-tools {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .page-editor-tools .btn,
  .page-editor-font-size {
    width: auto;
  }

  .page-editor-status {
    white-space: normal;
    text-align: center;
  }

  .theme-toggle {
    padding: 4px 6px;
    font-size: 0.8rem;
  }

  .theme-toggle .toggle-icon {
    width: 16px;
    height: 16px;
    font-size: 12px;
  }

  .theme-toggle .toggle-label {
    display: none;
  }

  h1, h2, h3 {
    font-size: 1.3rem;
    margin: 16px 0 8px;
  }

  p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .card {
    padding: 12px 12px 14px;
    margin: 12px 0;
    border-radius: 8px;
  }

  .field-row {
    margin-bottom: 10px;
  }

  .field-row label {
    font-size: 0.85rem;
  }

  .field-row input,
  .field-row select,
  .field-row textarea {
    padding: 10px 8px;
    font-size: 16px;
    border-radius: 6px;
  }

  .btn {
    padding: 10px 12px;
    font-size: 0.9rem;
    display: block;
    width: 100%;
    margin-bottom: 8px;
  }

  .btn.primary {
    width: 100%;
  }

  .btn.secondary,
  .btn.tertiary {
    width: 100%;
  }

  .button-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .button-row .btn {
    margin-right: 0;
    width: 100%;
  }

  .hero {
    padding: 16px 0 8px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions .btn {
    margin-right: 0;
    margin-top: 0;
    width: 100%;
  }

  .section {
    margin: 16px 0;
  }

  .site-footer {
    margin-top: 20px;
    padding: 12px 0 16px;
    font-size: 0.8rem;
  }

  /* Calendar adjustments */
  .availability-calendar {
    font-size: 0.7rem;
    padding: 6px;
    margin-top: 8px;
  }

  .av-row {
    grid-template-columns: 50px repeat(5, 1fr);
  }

  .av-time-label {
    font-size: 0.65rem;
    padding: 2px;
  }

  .av-row-header {
    font-size: 0.7rem;
    padding: 2px 0;
  }

  .av-slot {
    min-height: 18px;
  }

  .av-block {
    font-size: 0.65rem;
    padding: 1px 2px;
  }

  .gcal-embed {
    height: 400px;
  }

  .form-message {
    font-size: 0.85rem;
  }
}

/* Medium phones: 481–768px */
@media (max-width: 768px) and (min-width: 481px) {
  .container {
    padding: 0 14px;
  }

  .time-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 10px 0;
  }

  .logo {
    font-size: 1.1rem;
  }

  .header-inner nav {
    justify-self: center;
  }

  .header-inner nav a {
    margin-left: 8px;
    font-size: 0.85rem;
  }

  .theme-toggle {
    padding: 5px 7px;
  }

  .theme-toggle .toggle-label {
    display: none;
  }

  h2, h3 {
    font-size: 1.4rem;
  }

  .card {
    padding: 14px 14px 16px;
    margin: 14px 0;
  }

  .field-row input,
  .field-row select,
  .field-row textarea {
    padding: 9px 8px;
    font-size: 16px;
  }

  .btn {
    padding: 9px 14px;
    font-size: 0.92rem;
  }

  .hero {
    padding: 24px 0 12px;
  }

  .hero-actions .btn {
    margin-right: 8px;
    margin-top: 8px;
  }

  .section {
    margin: 20px 0;
  }

  .availability-calendar {
    font-size: 0.72rem;
    padding: 7px;
  }

  .av-row {
    grid-template-columns: 60px repeat(5, 1fr);
  }

  .av-time-label {
    font-size: 0.7rem;
    padding: 3px;
  }

  .av-row-header {
    font-size: 0.75rem;
  }

  .av-block {
    font-size: 0.7rem;
  }

  .gcal-embed {
    height: 500px;
  }
}

/* Tablets and up: 769px+ */
@media (min-width: 769px) {
  .theme-toggle .toggle-label {
    display: inline;
  }
}

/* Dashboard and form utility classes */
.hidden-content {
  display: none;
}

.loading-text {
  color: #9ca3af;
}

.flex-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.week-nav-btn {
  padding: 6px 12px;
}

.week-display {
  font-weight: bold;
  font-size: 0.95rem;
}

.time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.time-grid > div {
  min-width: 0;
}

.time-grid select {
  width: 100%;
}

.pointer-cursor {
  cursor: pointer;
}

.sliding-scale-container {
  margin-top: 20px;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.slider-label {
  font-size: 0.9rem;
  color: #666;
}

.slider-input {
  flex: 1;
}

.discount-display {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.cost-display {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3b82f6;
}

/* Utility classes for layout and spacing */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-between-start {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.flex-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.notification-section-label {
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.notification-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.notification-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  cursor: pointer;
}

.notification-checkbox input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-0-5 {
  margin-bottom: 0.5rem;
}

.mt-0-5 {
  margin-top: 0.5rem;
}

.mt-10 {
  margin-top: 10px;
}

.m-0 {
  margin: 0;
}

.mt-0-5rem {
  margin: 0.5rem 0 0 0;
}

.padding-sm {
  padding: 6px 12px;
}

.nowrap {
  white-space: nowrap;
}

.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.week-display {
  font-weight: bold;
  font-size: 0.95rem;
}

