/* VIREO School of Performing Arts — Global Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400&family=Playfair+Display:wght@400;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #c5c0fb;
  --green-dark: #7c78e8;
  --green-light: #1e1830;
  --black: #111111;
  --dark: #eeeeee;
  --gray: #a0a0a0;
  --light-gray: #666666;
  --border: #272727;
  --bg: #0d0d0d;
  --cream: #191919;
  --font-body: 'Montserrat', sans-serif;
  --font-display: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── UTILITY ──────────────────────────────────────────────── */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }
.letter-spacing { letter-spacing: 0.12em; }

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 2px solid currentColor;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-white {
  color: #ffffff;
  border-color: #ffffff;
}
.btn-white:hover {
  background: #ffffff;
  color: var(--black);
}

.btn-dark {
  color: #eeeeee;
  border-color: #eeeeee;
}
.btn-dark:hover {
  background: #111111;
  color: #ffffff;
}

.btn-green {
  color: var(--green);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green);
  color: #111111;
}

/* ─── HEADER / NAV ─────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0d0d0d;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-img {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.site-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.nav-cta {
  background: var(--green);
  color: #111111 !important;
  padding: 10px 20px !important;
  border-radius: 2px;
  border-bottom: none !important;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--green-dark) !important;
  color: #111111 !important;
  border-bottom: none !important;
}

/* ── Programs dropdown ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom-color 0.2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active,
.nav-dropdown--active .nav-dropdown-trigger {
  color: var(--green);
  border-bottom-color: var(--green);
}

.nav-dropdown-arrow {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown--open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: 8px;
  list-style: none;
  min-width: 210px;
  padding: 6px 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  z-index: 200;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #1a1a1a;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  rotate: 45deg;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown--open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 18px !important;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  border-bottom: none !important;
  border-radius: 0;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(197,192,251,0.1);
  color: var(--green);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
}

/* ─── ANNOUNCEMENT BANNER ───────────────────────────────────── */

.announcement-bar {
  background: var(--green);
  color: #111111;
  text-align: center;
  padding: 10px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.announcement-bar-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}

.announcement-bar-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.announcement-bar-btn {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.announcement-bar-btn:hover { opacity: 0.85; }

.announcement-bar-btn--primary {
  background: #111;
  color: #fff;
}
.announcement-bar-btn--secondary {
  background: transparent;
  color: #111;
  border: 1.5px solid #111;
}

/* ─── HERO ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #2a1f2e;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.squarespace-cdn.com/content/v1/6669c84f810e1b0ba202dfc6/3d9363c3-8804-417a-b59f-3d5ea9ea5039/Vireo2021-May-3014-1.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  opacity: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 32px;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── SECTION GENERIC ───────────────────────────────────────── */

section {
  padding: 100px 0;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark);
}

.section-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray);
  max-width: 680px;
  margin: 0 auto 32px;
}

/* ─── WELCOME / ABOUT STRIP ─────────────────────────────────── */

.welcome-section {
  background: var(--cream);
  padding: 60px 0;
  text-align: center;
}

.welcome-tagline {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 16px;
}

.welcome-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: 780px;
  margin: 0 auto 36px;
}

/* ─── MARQUEE / DEFINITION ──────────────────────────────────── */

.definition-section {
  background: #111111;
  color: #ffffff;
  padding: 60px 0;
  overflow: hidden;
}

.definition-eyebrow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 28px;
}

.definition-scroll {
  white-space: nowrap;
  overflow: hidden;
  padding: 8px 0;
}

.definition-inner {
  display: inline-block;
  animation: scroll-left 40s linear infinite;
}

.definition-inner:hover { animation-play-state: paused; }

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.definition-text {
  display: inline;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  padding-right: 60px;
}

.definition-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* ─── SEASON LOGO SECTION ───────────────────────────────────── */

.season-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg);
}

.season-logo {
  width: 220px;
  height: auto;
  margin: 0 auto 36px;
  display: block;
}

.season-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 16px;
}

.season-body {
  font-size: 1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ─── PROGRAM CARDS ─────────────────────────────────────────── */

.programs-section {
  padding: 60px 0;
  background: var(--cream);
}

.programs-heading {
  text-align: center;
  margin-bottom: 32px;
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.program-card {
  background: #1a1a1a;
  overflow: hidden;
  border: none;
  display: flex;
  flex-direction: column;
}

.program-card-img {
  position: relative;
  aspect-ratio: 3/4;
  height: auto;
  overflow: hidden;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.program-card:hover .program-card-img img {
  transform: scale(1.03);
}

.program-card-body {
  padding: 36px;
}

.program-card-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 16px;
}

.program-card-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 28px;
}

/* ─── PARTNER LOGOS ─────────────────────────────────────────── */

.partners-section {
  padding: 60px 0;
  background: #111111;
  border-top: 1px solid var(--border);
}

.partners-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.partner-logo {
  height: 72px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s;
  filter: grayscale(30%);
}

.partner-logo:hover {
  opacity: 1;
  filter: none;
}

/* ─── PAGE HERO (inner pages) ───────────────────────────────── */

.page-hero {
  background: var(--cream);
  color: var(--dark);
  text-align: center;
  padding: 60px 24px 40px;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
}

.page-hero-sub {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ─── CONTENT SECTIONS (inner pages) ────────────────────────── */

.content-section {
  padding: 60px 0;
}

.content-section:nth-child(even) {
  background: var(--cream);
}

.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-with-image.reverse {
  direction: rtl;
}
.content-with-image.reverse > * {
  direction: ltr;
}

.content-text h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 24px;
}

.content-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 20px;
}

.content-text p:last-child { margin-bottom: 0; }

.content-image {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── INFO BOXES ────────────────────────────────────────────── */

.info-box {
  background: var(--cream);
  border: 1px solid var(--green);
  padding: 32px 36px;
  margin: 40px 0;
}

.info-box h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box ul li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dark);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.info-box ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.age-groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.age-group-card {
  background: #1a1a1a;
  border: 1px solid var(--border);
  padding: 20px 16px;
  text-align: center;
}

.age-group-card .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.age-group-card .ages {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

/* ─── DANCE STYLES LIST ──────────────────────────────────────── */

.dance-styles-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.dance-styles-item {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark);
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dance-styles-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.dance-styles-dash {
  color: var(--green);
  font-weight: 400;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .dance-styles-list {
    grid-template-columns: 1fr;
  }
  .dance-styles-item:last-child {
    border-bottom: none;
  }
}

/* ─── REGISTRATION BANNER ────────────────────────────────────── */

.reg-banner {
  background: var(--green);
  color: var(--dark);
  text-align: center;
  padding: 48px 24px;
}

.reg-banner h2 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ─── GALLERY ───────────────────────────────────────────────── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light-gray);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ─── CONTACT ───────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-details h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 36px;
}

.contact-item {
  margin-bottom: 28px;
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.contact-value {
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
}

.contact-value a {
  color: var(--dark);
  text-decoration: none;
}
.contact-value a:hover {
  color: var(--green);
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.social-link {
  font-size: 0.9rem;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link:hover {
  color: var(--green);
}

.social-platform {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-width: 88px;
  color: var(--gray);
}

.contact-image {
  border-radius: 0;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.note-text {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--light-gray);
  margin-top: 8px;
}

/* ─── FOOTER ────────────────────────────────────────────────── */

.site-footer {
  background: #111111;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 36px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand .footer-logo span {
  color: var(--green);
}

.footer-logo-img {
  width: 80px;
  height: 80px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-admin-link {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-admin-link:hover {
  color: rgba(255,255,255,0.55);
}

/* ─── FACULTY CARDS ─────────────────────────────────────────── */

.faculty-list-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.faculty-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.faculty-card {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
}

.faculty-photo-wrap {
  flex-shrink: 0;
  width: 260px;
  text-align: center;
}

.faculty-photo {
  width: 260px;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin-bottom: 16px;
}

.faculty-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.faculty-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0;
}

.faculty-bio {
  flex: 1;
  min-width: 0;
}

.faculty-bio p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
}

.faculty-bio p:last-child {
  margin-bottom: 0;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */

@media (max-width: 900px) {
  .programs-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .content-with-image {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-with-image.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  /* Without JS: nav is always visible as a vertical list */
  .site-nav {
    display: flex;
    position: static;
    flex-direction: column;
    gap: 0;
    background: #0d0d0d;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }

  /* With JS (js-nav class on body): collapse nav, show toggle */
  .js-nav .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  .js-nav .site-nav.open {
    display: flex;
  }

  .js-nav .nav-toggle {
    display: flex;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block;
    padding: 14px 24px !important;
    border-bottom: none !important;
    font-size: 0.85rem;
  }

  .site-nav a:hover {
    background: var(--cream);
  }

  .nav-cta {
    margin: 8px 24px;
    text-align: center;
    padding: 14px 24px !important;
  }

  /* Dropdown — mobile: expand inline */
  .nav-dropdown {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px !important;
    font-size: 0.85rem;
    border-bottom: none !important;
  }
  .nav-dropdown-trigger:hover {
    background: var(--cream);
  }

  .nav-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    padding: 0;
    background: rgba(197,192,251,0.05);
    min-width: unset;
    width: 100%;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown--open .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding-left: 36px !important;
    font-size: 0.82rem;
  }

  section {
    padding: 56px 0;
  }

  /* ── Section-specific overrides (class wins over element) ── */
  .page-hero {
    padding: 40px 20px;
  }

  .content-section {
    padding: 48px 0;
  }

  .welcome-section {
    padding: 48px 0;
  }

  /* ── Hero buttons: stack vertically, full width ── */
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0 8px;
  }

  .hero-buttons .btn {
    text-align: center;
    padding: 16px 20px;
    font-size: 0.95rem;
  }

  /* ── reg-banner: stack on mobile ── */
  .reg-banner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 20px;
  }

  .reg-banner h2 {
    font-size: 1.1rem;
  }

  /* ── info-box: tighter padding ── */
  .info-box {
    padding: 20px 20px;
  }

  /* ── Faculty cards: stack photo above bio ── */
  .faculty-card {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .faculty-photo-wrap {
    width: 100%;
    max-width: 260px;
  }

  .faculty-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
  }

  .faculty-bio {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .page-hero {
    padding: 32px 16px;
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .content-section {
    padding: 40px 0;
  }

  .welcome-section {
    padding: 40px 0;
  }

  .programs-grid {
    padding: 0 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faculty-list {
    gap: 40px;
  }
}

/* ─── PARENT PORTAL ─────────────────────────────────────────── */

.nav-account {
  border-left: 1px solid var(--border);
  padding-left: 16px;
  margin-left: 4px;
}

.nav-account-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-account-link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.portal-page {
  padding: 64px 0 80px;
  min-height: 60vh;
}

.portal-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}

.portal-container--wide {
  max-width: 960px;
}

.portal-container h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.portal-subtitle {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 1rem;
}

.portal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.portal-header-row h1 {
  margin-bottom: 4px;
}

.portal-welcome-sub {
  font-size: 0.93rem;
  color: #888;
  margin: 0;
}

.portal-quote-author {
  display: block;
  font-size: 0.78rem;
  font-style: normal;
  color: #bbb;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ── Dancer Selector ── */
.dancer-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.dancer-selector-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #888;
  white-space: nowrap;
}
.dancer-selector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dancer-tab {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 30px;
  border: 1.5px solid #333;
  background: transparent;
  color: #aaa;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .18s, color .18s, background .18s;
  white-space: nowrap;
}
.dancer-tab:hover {
  border-color: #c5c0fb;
  color: #c5c0fb;
}
.dancer-tab--active {
  background: #c5c0fb;
  border-color: #c5c0fb;
  color: #111;
}
.dancer-tab--active:hover {
  background: #aaacff;
  border-color: #aaacff;
  color: #111;
}

/* Active child highlight in list */
.child-list-item--active .child-name {
  color: #c5c0fb;
}

.portal-alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}

.portal-alert--error {
  background: #fdecea;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.portal-alert--success {
  background: #ecfdf5;
  color: #5b21b6;
  border: 1px solid #6ee7b7;
}

.portal-alert--warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.portal-alert--info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.portal-alert--info a {
  color: #1e40af;
  font-weight: 600;
  text-decoration: underline;
}

.portal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark) !important;
  background: #1f1f1f !important;
  transition: border-color 0.15s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61, 112, 85, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.btn--primary {
  background: var(--green);
  color: #111111;
  border-color: var(--green);
}

.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn--primary:disabled {
  background: #9ca3af;
  border-color: #9ca3af;
  cursor: not-allowed;
}

.btn--secondary {
  background: var(--green-light);
  color: var(--green-dark);
  border-color: var(--green-light);
}

.btn--secondary:hover {
  background: #d1e4d8;
  border-color: #d1e4d8;
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn--ghost {
  background: transparent;
  color: #555;
  border-color: #ccc;
}
.btn--ghost:hover {
  background: #f0f0f0;
  border-color: #bbb;
  color: #333;
}

.btn--danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

.btn--danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.btn--small {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn--full {
  width: 100%;
  display: block;
}

.portal-alt-link {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--gray);
}

.portal-alt-link a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
}

/* Portal Cards */
.portal-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  margin-bottom: 24px;
}

.portal-card--full {
  grid-column: 1 / -1;
}

.portal-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--black);
}

.portal-empty {
  color: var(--light-gray);
  font-style: italic;
  margin-bottom: 16px;
}

/* Registration Hub */
.portal-reg-hub-wrap {
  margin-bottom: 32px;
}
.portal-reg-hub-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 12px;
}
.portal-reg-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.portal-reg-hub-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portal-reg-hub-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.portal-reg-hub-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.portal-reg-hub-card-sub {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2px;
}
.portal-reg-hub-card-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.portal-reg-hub-btn {
  align-self: flex-start;
}
.portal-reg-hub-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.portal-reg-hub-badge--done {
  background: rgba(197, 192, 251, 0.18);
  color: var(--green-dark);
  border: 1px solid var(--green-dark);
}
.portal-reg-hub-badge--open {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--border);
}
@media (max-width: 600px) {
  .portal-reg-hub {
    grid-template-columns: 1fr;
  }
}

/* Light-mode portal-reg-hub overrides */
.portal-page .portal-reg-hub-card {
  background: #ffffff;
  border-color: #e5e5e5;
}
.portal-page .portal-reg-hub-card-title {
  color: #111;
}
.portal-page .portal-reg-hub-card-desc {
  color: #555;
}
.portal-page .portal-reg-hub-label {
  color: #7c78e8;
}

.portal-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  align-items: start;
}

/* Children list */
.child-list {
  list-style: none;
  margin-bottom: 20px;
}

.child-list-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: center;
}

.child-list-item:last-child {
  border-bottom: none;
}

.child-name {
  font-weight: 600;
  color: var(--dark);
  display: block;
}

.child-dob {
  font-size: 0.85rem;
  color: var(--gray);
  display: block;
}

.child-list--full .child-list-item--block {
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 0;
  gap: 8px;
}

.child-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.child-info strong {
  font-size: 1rem;
}

.child-info span {
  font-size: 0.85rem;
  color: var(--gray);
}

.child-notes {
  font-style: italic;
}

.child-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Dancer cards — My Dancers page */
.dancer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.dancer-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.dancer-card__info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.dancer-card__info dt {
  font-weight: 600;
  color: var(--gray);
}

.dancer-card__info dd {
  margin: 0;
}

.dancer-card__classes h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-bottom: 10px;
}

.dancer-class-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dancer-class-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: var(--bg-soft, #f5f5f5);
  border-radius: 6px;
}

.dancer-class-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.dancer-class-time {
  font-size: 0.82rem;
  color: var(--gray);
}

.portal-empty--small {
  font-size: 0.875rem;
}

.reg-class-label-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reg-class-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.3;
}

.reg-class-schedule {
  display: block;
  font-size: 0.78rem;
  color: #5a6a7a;
  line-height: 1.3;
  font-weight: 400;
}

.reg-class-check--soldout {
  opacity: 0.55;
  cursor: not-allowed;
}

.reg-class-check--soldout input[type="checkbox"] {
  cursor: not-allowed;
}

.reg-class-soldout-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  background: #e53e3e;
  color: #fff;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  vertical-align: middle;
}

/* Enrollment table */
.enroll-term {
  margin-bottom: 32px;
}

.term-name {
  color: var(--green-dark);
}

.term-dates {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.class-table-wrap {
  overflow-x: auto;
}

.class-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.class-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.class-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.class-table tr:last-child td {
  border-bottom: none;
}

.class-desc {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 4px;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge--open {
  background: #ede9fe;
  color: #5b21b6;
}

.badge--full {
  background: #fee2e2;
  color: #991b1b;
}

.badge--audition {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.class-row--audition td {
  opacity: 0.75;
  font-style: italic;
}

.class-row--audition td:first-child {
  font-style: normal;
  opacity: 1;
}

.enroll-audition-note {
  font-size: 0.8rem;
  color: #92400e;
  font-style: italic;
}

.enroll-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ─── WELCOME BANNER (children onboarding) ─────────────────── */

.welcome-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.welcome-banner--ready {
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.welcome-banner-body {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e3a5f;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.welcome-banner--ready .welcome-banner-body {
  color: var(--dark);
}

.welcome-banner-cta {
  display: inline-block;
  background: var(--green);
  color: #111111 !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  align-self: flex-start;
  transition: background 0.15s;
}

.welcome-banner-cta:hover {
  background: var(--green-dark);
}

.welcome-banner-dismiss {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: none;
  flex-shrink: 0;
  padding: 2px 4px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.15s;
}

.welcome-banner-dismiss:hover {
  color: var(--dark);
}

/* ─── ENROLLMENT COUNT (children page) ─────────────────────── */

.child-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.child-enrollment-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 2px 10px;
  border-radius: 20px;
}

/* ─── PROGRAM HEADER (enroll page) ─────────────────────────── */

.term-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.term-header .term-name {
  margin-bottom: 4px;
}

.term-header .term-dates {
  margin-bottom: 0;
}

.registration-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.registration-badge--open {
  background: #ede9fe;
  color: #5b21b6;
  border: 1px solid #6ee7b7;
}

.registration-badge--closed {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.enroll-term--closed {
  opacity: 0.82;
}

.enroll-capacity {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

.term-closed-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--light-gray);
  font-style: italic;
}

.term-closed-note a {
  color: var(--green);
  text-decoration: underline;
}

/* ─── MY PROGRAMS TABLE (account dashboard) ─────────────────── */

.my-programs-table-wrap {
  overflow-x: auto;
}

.my-programs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.my-programs-table th {
  text-align: left;
  padding: 8px 12px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.my-programs-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.my-programs-table tr:last-child td {
  border-bottom: none;
}

.mp-child {
  font-weight: 600;
  color: var(--dark);
}

.mp-term {
  color: var(--green-dark);
  font-weight: 600;
}

.mp-class {
  color: var(--dark);
}

.mp-schedule {
  font-size: 0.82rem;
  color: var(--gray);
}

@media (max-width: 768px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-dashboard {
    grid-template-columns: 1fr;
  }

  .nav-account {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }

  /* Portal page & container */
  .portal-page {
    padding: 40px 0 56px;
  }

  .portal-container h1 {
    font-size: 1.6rem;
  }

  .portal-card {
    padding: 24px 20px;
  }

  /* Header row: stack title + button vertically */
  .portal-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Term header: stack name/dates + badge */
  .term-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Child item footer: stack count and actions */
  .child-item-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .portal-page {
    padding: 28px 0 40px;
  }

  .portal-container h1 {
    font-size: 1.4rem;
  }

  .portal-card {
    padding: 20px 16px;
  }

  .portal-container {
    padding: 0 16px;
  }
}

/* ─── AUTHENTICATED NAV STATE ──────────────────────────────── */

.nav-account-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-account-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.nav-account-name:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.nav-logout-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.nav-logout-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

.nav-logout-btn:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

/* ─── Contact Inquiry Form ───────────────────────────────────────────────── */
.contact-form-section {
  background: #fff;
}

.contact-form-section,
.contact-form-section .section-eyebrow,
.contact-form-section .section-title,
.contact-form-section .section-intro,
.contact-form-section p,
.contact-inquiry-form label {
  color: #111111 !important;
}

.contact-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

.contact-inquiry-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-inquiry-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.03em;
}

.contact-inquiry-form label span {
  color: #c00;
}

.contact-inquiry-form input,
.contact-inquiry-form textarea {
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 1rem;
  color: #111;
  background: #fff;
  transition: border-color 0.15s;
  resize: vertical;
}

.contact-inquiry-form input:focus,
.contact-inquiry-form textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}

.contact-inquiry-form input::placeholder,
.contact-inquiry-form textarea::placeholder {
  color: #aaa;
}

.contact-form-success {
  padding: 20px 24px;
  background: #eaf6ee;
  border: 1.5px solid #7bc89a;
  border-radius: 8px;
  color: #1e5c34;
  font-size: 1rem;
  line-height: 1.6;
}

/* ─── Admin Page Shared Layout ───────────────────────────────────────────── */
.admin-page {
  min-height: 100vh;
  background: #1a1a1a;
  padding: 48px 20px 80px;
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
}

.admin-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.admin-header-row h1 {
  font-size: 2rem;
  color: #111111;
  margin: 0 0 4px;
}

.admin-subtitle {
  color: #555555;
  font-size: 0.95rem;
  margin: 0;
}

/* ─── CRM Stats Bar ──────────────────────────────────────────────────────── */
.crm-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.crm-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 28px;
  background: #fff;
  border: 2px solid #e5e5e0;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark);
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 100px;
}

.crm-stat:hover {
  border-color: var(--green);
  box-shadow: 0 2px 8px rgba(61, 112, 85, 0.1);
}

.crm-stat--active {
  border-color: var(--green);
  background: #eaf6ee;
}

.crm-stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.crm-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── CRM Table ──────────────────────────────────────────────────────────── */
.parent-ac-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.parent-ac-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d8d8e0;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  z-index: 200;
  overflow: hidden;
}

.parent-ac-item {
  display: flex;
  flex-direction: column;
  padding: 9px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0f0f4;
  transition: background 0.1s;
  outline: none;
}

.parent-ac-item:last-child {
  border-bottom: none;
}

.parent-ac-item:hover,
.parent-ac-item:focus {
  background: #f5f3ff;
}

.parent-ac-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
}

.parent-ac-sub {
  font-size: 0.78rem;
  color: #777;
  margin-top: 1px;
}

.crm-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.crm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.crm-table th {
  padding: 12px 14px;
  background: #1a1a1a;
  border-bottom: 2px solid #ebebeb;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.crm-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0ec;
  vertical-align: top;
  line-height: 1.4;
}

.crm-table tbody tr:last-child td {
  border-bottom: none;
}

.crm-table tbody tr:hover {
  background: #fdfdfb;
}

.crm-row--archived {
  opacity: 0.65;
}

.crm-name {
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}

.crm-email {
  color: var(--green);
  text-decoration: none;
  word-break: break-all;
}
.crm-email:hover { text-decoration: underline; }

.crm-source {
  color: var(--gray);
  font-size: 0.8rem;
}

.crm-date {
  color: var(--gray);
  font-size: 0.8rem;
  white-space: nowrap;
}

.crm-message {
  max-width: 220px;
  color: var(--gray);
  font-size: 0.8rem;
}

.crm-empty {
  color: #ccc;
}

.crm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
}

.crm-actions form {
  margin: 0;
}

/* ─── CRM Status Badges ──────────────────────────────────────────────────── */
.crm-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.crm-badge--lead {
  background: #fff3cd;
  color: #7a5c0a;
}

.crm-badge--customer {
  background: #d1f0de;
  color: #1a5c34;
}

.crm-badge--archived {
  background: #e8e8e8;
  color: #777;
}

/* ─── Btn small ──────────────────────────────────────────────────────────── */
.btn--small {
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 5px;
}

/* ─── Btn danger ─────────────────────────────────────────────────────────── */
.btn--danger {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}
.btn--danger:hover {
  background: #a93226;
  border-color: #a93226;
}

/* ─── Admin Sidebar Layout ───────────────────────────────────────────────── */
.admin-wrap {
  display: flex;
  min-height: 100vh;
  background: #1a1a1a;
}

.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #111111;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.admin-sidebar-header {
  padding: 24px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-logo {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-sidebar-role {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex: 1;
  overflow-y: auto;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-nav-item--active {
  background: rgba(61, 112, 85, 0.35);
  color: #fff;
  border-left: 3px solid var(--green);
}

.admin-nav-item--muted {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.admin-nav-section-label {
  display: block;
  padding: 14px 20px 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.admin-nav-item--logout {
  color: rgba(255, 180, 180, 0.75);
}

.admin-nav-item--logout:hover {
  color: #ffb0b0;
  background: rgba(255, 100, 100, 0.1);
}

.admin-nav-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  line-height: 1;
}

.admin-sidebar-footer {
  padding: 12px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.admin-sidebar-user {
  display: block;
  padding: 4px 20px 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Admin Main Content Area ────────────────────────────────────────────── */
.admin-main {
  flex: 1;
  overflow-x: auto;
}

.admin-content {
  padding: 36px 40px 60px;
  max-width: 1100px;
}

.admin-content-header {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.admin-content-header-actions {
  flex-shrink: 0;
  padding-top: 4px;
}

.admin-content-header h1 {
  font-size: 1.875rem;
  color: #111111;
  margin: 0 0 4px;
}

.admin-back-link {
  display: inline-block;
  color: #5b21b6;
  font-size: 0.85rem;
  text-decoration: none;
  margin-bottom: 8px;
}

.admin-back-link:hover {
  text-decoration: underline;
}

/* Submission detail page */
.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }
}

.admin-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.admin-detail-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: baseline;
}

.admin-detail-row:last-child {
  border-bottom: none;
}

.admin-detail-row dt {
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-detail-row dd {
  margin: 0;
  font-size: 0.92rem;
  color: #1a1a1a;
  word-break: break-word;
}

.admin-submission-message {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #2a2a2a;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-link {
  color: #5b21b6;
  text-decoration: none;
}

.admin-link:hover {
  text-decoration: underline;
}

.admin-section {
  background: #fff;
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.admin-section--danger {
  border: 1px solid #ffddd9;
  background: #fffaf9;
}

.admin-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

.admin-section-title--danger {
  color: #c0392b;
}

.admin-section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.admin-section-header-row .admin-section-title {
  margin-bottom: 0;
}

.admin-danger-text {
  color: #7a4040;
  font-size: 0.9rem;
  margin: 0 0 16px;
}

/* ─── Admin Forms ────────────────────────────────────────────────────────── */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.admin-form--narrow {
  max-width: 520px;
}

.admin-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.admin-form-row .form-group {
  flex: 1;
  min-width: 160px;
  margin-bottom: 0;
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

/* ─── Admin Table ────────────────────────────────────────────────────────── */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #ebebeb;
  margin-top: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-row--clickable {
  cursor: pointer;
}

.admin-row--clickable:hover td {
  background: #f5f3ff;
}

.admin-table th {
  padding: 11px 14px;
  background: #ececf0;
  border-bottom: 2px solid #d8d8e0;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f2f2ef;
  vertical-align: middle;
  line-height: 1.4;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: #fdfdfb;
}

.admin-cell-name {
  font-weight: 600;
  color: #111111;
}

.admin-cell-sub {
  display: block;
  font-size: 0.8rem;
  color: #666666;
  font-weight: 400;
  margin-top: 2px;
}

.admin-cell-meta {
  color: #555555;
  white-space: nowrap;
}

.admin-cell-date {
  color: #666666;
  font-size: 0.8rem;
  white-space: nowrap;
}

.admin-cell-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-cell-actions form {
  margin: 0;
}

/* ─── Admin Badges ───────────────────────────────────────────────────────── */
.admin-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-badge--active {
  background: #d1f0de;
  color: #1a5c34;
}

.admin-badge--inactive {
  background: #e8e8e8;
  color: #777;
}

/* ─── Admin Capacity ─────────────────────────────────────────────────────── */
.studio-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #eeeaff;
  color: #5b52cc;
  white-space: nowrap;
}

.admin-capacity-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 110px;
}

.admin-capacity {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
}

.admin-capacity--near {
  color: #b45309;
}

.admin-capacity--full {
  color: #c0392b;
}

.admin-capacity-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.capacity-bar {
  height: 6px;
  background: #e5e5e5;
  border-radius: 999px;
  overflow: hidden;
  width: 100%;
}

.capacity-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.capacity-bar-fill--ok   { background: #22c55e; }
.capacity-bar-fill--near { background: #f59e0b; }
.capacity-bar-fill--full { background: #ef4444; }

/* ─── Admin Filter Bar ───────────────────────────────────────────────────── */
.admin-filter-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444444;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-filter-links--sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}

.admin-filter-link {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #444444;
  text-decoration: none;
  background: #e2e2e8;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}

.admin-filter-link:hover {
  background: #d0d0d8;
  color: #111111;
}

.admin-filter-link--active {
  background: var(--green);
  color: #111111;
}

.admin-filter-link--active:hover {
  background: var(--green-dark);
  color: #111111;
}

/* ── Collapsible admin panel ── */
.admin-details {
  border: 1px solid #e0e0e8;
  border-radius: 10px;
  overflow: hidden;
}

.admin-details-summary {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-dark) !important;
  cursor: pointer;
  user-select: none;
  background: #f7f7fb;
  border: none;
  outline: none;
  transition: background 0.15s;
  font-family: inherit;
}

.admin-details-summary:hover {
  background: #eeeeff;
}

.admin-details-body {
  padding: 24px;
  background: #ffffff;
}

.admin-filter-select {
  padding: 6px 10px;
  border: 1px solid #d5d5d0;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--dark);
  background: #fff;
}

.admin-enrollments-count {
  font-size: 0.875rem;
  color: #555555;
  margin-bottom: 4px;
}

/* ─── Admin Login redirect from /admin ───────────────────────────────────── */
.form-group--checkbox {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--dark);
  cursor: pointer;
  font-weight: 400;
  letter-spacing: 0;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--green);
}

/* ─── Responsive Admin ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Sidebar becomes a sticky top bar */
  .admin-wrap {
    flex-direction: column;
    min-height: 100vh;
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-direction: column;
    overflow: hidden;
  }

  /* Compact header row */
  .admin-sidebar-header {
    padding: 10px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .admin-sidebar-logo {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }

  .admin-sidebar-role {
    display: inline;
    margin-top: 0;
    margin-left: 2px;
    font-size: 0.6rem;
  }

  /* Nav becomes horizontal scrollable tab row */
  .admin-nav {
    flex-direction: row;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    flex: 0 0 auto;
    border-top: none;
  }

  .admin-nav::-webkit-scrollbar {
    display: none;
  }

  /* Footer also becomes a horizontal row */
  .admin-sidebar-footer {
    flex-direction: row;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Nav items: icon stacked above label */
  .admin-nav-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    gap: 2px;
    font-size: 0.62rem;
    white-space: nowrap;
    flex-shrink: 0;
    border-left: none !important;
    border-bottom: 3px solid transparent;
    width: auto;
  }

  .admin-nav-item--active {
    background: rgba(61, 112, 85, 0.35);
    border-left: none !important;
    border-bottom: 3px solid var(--green);
  }

  .admin-nav-item--muted {
    font-size: 0.62rem;
    padding: 8px 12px;
  }

  .admin-nav-item--logout {
    font-size: 0.62rem;
    padding: 8px 12px;
  }

  .admin-nav-icon {
    font-size: 1.1rem;
    width: auto;
  }

  /* Main content fills full width */
  .admin-main {
    width: 100%;
    overflow-x: hidden;
  }

  .admin-content {
    padding: 16px 14px 48px;
    max-width: 100%;
  }

  .admin-content-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .admin-content-header h1 {
    font-size: 1.4rem;
  }

  .admin-header-actions {
    align-self: flex-start;
  }

  .admin-subtitle {
    font-size: 0.85rem;
  }

  /* Sections */
  .admin-section {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 14px;
  }

  .admin-section-title {
    font-size: 1rem;
    margin-bottom: 14px;
  }

  /* Forms */
  .admin-form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .admin-form-row .form-group {
    min-width: 0;
    width: 100%;
  }

  .admin-form-actions {
    flex-direction: column;
  }

  .admin-form-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  /* ── Card-based table rows (no horizontal scrolling) ── */
  .admin-table-wrap,
  .crm-table-wrap {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .admin-table,
  .admin-table thead,
  .admin-table tbody,
  .admin-table th,
  .admin-table td,
  .admin-table tr,
  .crm-table,
  .crm-table thead,
  .crm-table tbody,
  .crm-table th,
  .crm-table td,
  .crm-table tr,
  .crm-enroll-table,
  .crm-enroll-table thead,
  .crm-enroll-table tbody,
  .crm-enroll-table th,
  .crm-enroll-table td,
  .crm-enroll-table tr {
    display: block;
  }

  /* Hide table headers — labels come from data-label */
  .admin-table thead,
  .crm-table thead,
  .crm-enroll-table thead {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  /* Each row = a card */
  .admin-table tbody tr,
  .crm-table tbody tr,
  .crm-enroll-table tbody tr {
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 2px 0 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  /* Each cell: label on left (via ::before), value on right */
  .admin-table td,
  .crm-table td,
  .crm-enroll-table td {
    position: relative;
    padding: 7px 14px 7px 42%;
    border: none;
    border-bottom: 1px solid #f0f0ea;
    font-size: 0.875rem;
    text-align: right;
    white-space: normal;
    min-height: 0;
  }

  .admin-table td:last-child,
  .crm-table td:last-child,
  .crm-enroll-table td:last-child {
    border-bottom: none;
  }

  .admin-table td::before,
  .crm-table td::before,
  .crm-enroll-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 38%;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.42);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Action cells: full width, left-aligned, no label */
  .admin-table td[data-label=""],
  .crm-table td[data-label=""],
  .crm-enroll-table td[data-label=""] {
    padding: 10px 14px;
    text-align: left;
    background: #1a1a1a;
    border-radius: 0 0 8px 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
  }

  .admin-table td[data-label=""]::before,
  .crm-table td[data-label=""]::before,
  .crm-enroll-table td[data-label=""]::before {
    display: none;
  }

  /* First cell in each row = card title styling */
  .admin-table td:first-child,
  .crm-table td:first-child,
  .crm-enroll-table td:first-child {
    font-weight: 600;
    font-size: 0.95rem;
    padding-top: 12px;
    border-radius: 8px 8px 0 0;
  }

  /* Inline cell content that had display:inline adjustments */
  .admin-cell-actions,
  .crm-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Cells with multi-line content: align label to top */
  .admin-table td.admin-cell-name + td::before,
  .admin-table td[data-label="Parent"]::before {
    top: 12px;
    transform: none;
  }

  /* Enrollments count */
  .admin-enrollments-count {
    font-size: 0.85rem;
    margin: 10px 0 4px;
  }

  /* Filter bar */
  .admin-filter-bar {
    gap: 6px;
    flex-wrap: wrap;
  }

  .admin-filter-links {
    gap: 4px;
    flex-wrap: wrap;
  }

  .admin-filter-link {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  /* CRM stats */
  .crm-stats {
    gap: 8px;
    flex-wrap: wrap;
  }

  .crm-stat {
    min-width: 76px;
    padding: 12px 10px;
  }

  .crm-stat-num {
    font-size: 1.6rem;
  }

  /* CRM detail grid → single column */
  .crm-detail-grid {
    grid-template-columns: 1fr;
  }

  .crm-detail-list {
    grid-template-columns: 100px 1fr;
    font-size: 0.85rem;
    gap: 5px 10px;
  }

  /* Section header row */
  .admin-section-header-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* ─── CRM Contact Detail Page ────────────────────────────────────────────── */

.crm-breadcrumb {
  font-size: 0.82rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.crm-breadcrumb:hover { text-decoration: underline; }

.crm-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .crm-detail-grid {
    grid-template-columns: 1fr;
  }
}

.crm-detail-main,
.crm-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.crm-detail-list {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 0.9rem;
}

.crm-detail-list dt {
  color: #6b7280;
  font-weight: 600;
  padding-top: 2px;
}

.crm-detail-list dd {
  margin: 0;
  color: var(--dark);
  word-break: break-word;
}

.crm-detail-message {
  white-space: pre-wrap;
  color: var(--dark);
  line-height: 1.6;
}

.crm-child-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.crm-child-card:last-child { margin-bottom: 0; }

.crm-child-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.crm-child-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.crm-child-dob {
  font-size: 0.82rem;
  color: #6b7280;
}

.crm-no-enrollments {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: #9ca3af;
  font-style: italic;
  margin: 0;
}

.crm-enroll-table {
  width: 100%;
  font-size: 0.85rem;
  border-collapse: collapse;
}

.crm-enroll-table th {
  text-align: left;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.crm-enroll-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.crm-enroll-table tr:last-child td { border-bottom: none; }

.crm-sidebar-form {
  margin-bottom: 10px;
}

.crm-sidebar-form:last-child { margin-bottom: 0; }

.btn--full { width: 100%; text-align: center; }

.crm-enroll-form { margin-top: 4px; }

.crm-no-terms {
  font-size: 0.88rem;
  color: #9ca3af;
  font-style: italic;
}

/* ─── CRM List Enhancements ──────────────────────────────────────────────── */

.crm-contact-link {
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
}

.crm-contact-link:hover {
  color: var(--green);
  text-decoration: underline;
}

.crm-programs {
  white-space: normal;
  line-height: 1.6;
}

.crm-program-tag {
  display: inline-block;
  background: #ecfdf5;
  color: #5b21b6;
  border: 1px solid #6ee7b7;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 1px 7px;
  margin: 2px 2px 0 0;
}

/* ─── Enrollments list — CRM Profile link ────────────────────────────────── */

.admin-contact-link {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

.admin-contact-link:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   SUMMER PROGRAM PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Shared section layout ── */
.summer-section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.summer-section-inner--narrow {
  max-width: 820px;
}

/* ── Hero ── */
.summer-hero {
  position: relative;
  background: #0d0d0d;
  color: #fff;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.summer-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 72px 24px 72px 40px;
}
.summer-hero-eyebrow {
  display: inline-block;
  background: #fff;
  color: #111;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.summer-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 20px;
}
.summer-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin: 0 0 36px;
}
.summer-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.summer-btn-primary {
  background: #fff;
  color: #111111;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 14px 28px;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .15s;
}
.summer-btn-primary:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
}
.summer-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-block;
  transition: border-color .2s, background .2s;
}
.summer-btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}
.summer-btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
}
.summer-hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.summer-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .15;
}
.summer-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.88);
}

/* ── Why section ── */
.summer-why {
  padding: 80px 0;
  background: #191919;
}
.summer-why h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #eeeeee;
  margin: 0 0 48px;
}
.summer-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.summer-why-card {
  background: #111111;
  border: 1px solid #272727;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
}
.summer-why-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}
.summer-why-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #eeeeee;
  margin: 0 0 8px;
}
.summer-why-card p {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.55;
  margin: 0;
}

/* ── Camps section ── */
.summer-camps {
  padding: 80px 0;
  background: #0d0d0d;
}
.summer-camps h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #eeeeee;
  margin: 0 0 10px;
}
.summer-section-sub {
  text-align: center;
  color: #888;
  font-size: 1rem;
  margin: 0 0 48px;
}
.summer-camps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.summer-camp-card {
  position: relative;
  border: 2px solid #272727;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color .2s, box-shadow .2s;
}
.summer-camp-card:hover {
  border-color: #555;
  box-shadow: 0 4px 20px rgba(255,255,255,.06);
}
.summer-camp-card--featured {
  border-color: #444;
  background: #1a1a1a;
}
.summer-camp-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: #fff;
  color: #111;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 12px;
  border-radius: 20px;
}
.summer-camp-emoji {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.summer-camp-title {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #eeeeee;
  margin: 0 0 16px;
}
.summer-camp-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 0;
  border-top: 1px solid #272727;
  border-bottom: 1px solid #272727;
}
.summer-camp-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.summer-camp-meta dt {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #888;
}
.summer-camp-meta dd {
  font-size: 0.88rem;
  font-weight: 600;
  color: #eeeeee;
  margin: 0;
}
.summer-camp-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #aaa;
  margin: 0 0 24px;
  flex: 1;
}
.summer-camp-btn {
  display: block;
  text-align: center;
  background: transparent;
  color: #eeeeee;
  border: 1.5px solid #555;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 0.82rem;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.summer-camp-btn:hover {
  background: #222;
  border-color: #888;
}
.summer-camp-inquiry {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #aaa;
  margin: 0;
  font-style: italic;
  border-top: 1px solid #272727;
  padding-top: 16px;
}
.summer-camp-meta-fee {
  grid-column: 1 / -1;
  border-top: 1px solid #272727;
  padding-top: 10px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Age group pills inside camp card */
.summer-camp-age-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.summer-camp-age-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #c5c0fb;
  background: rgba(197, 192, 251, 0.1);
  border: 1px solid rgba(197, 192, 251, 0.22);
  border-radius: 20px;
  padding: 2px 9px;
  white-space: nowrap;
}

/* Multi-session list inside camp card */
.summer-camp-sessions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.summer-camp-sessions li {
  font-size: 0.88rem;
  font-weight: 600;
  color: #eeeeee;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.summer-camp-session-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #888;
  white-space: nowrap;
}

/* Meta span — full-width row */
.summer-camp-meta-span {
  grid-column: 1 / -1;
  border-bottom: 1px solid #272727;
  padding-bottom: 10px;
  margin-bottom: 2px;
}

/* Dancer picker on registration form */
.summer-dancer-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(197, 192, 251, 0.06);
  border: 1px solid rgba(197, 192, 251, 0.15);
  border-radius: 8px;
}
.summer-dancer-picker-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}
.summer-dancer-pick-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-family: var(--font-body);
}
.summer-dancer-pick-btn:hover {
  border-color: var(--green-dark);
  background: rgba(197, 192, 251, 0.08);
}
.summer-dancer-pick-btn--active {
  border-color: var(--green-dark);
  background: rgba(197, 192, 251, 0.15);
  color: var(--green-dark);
}

/* Light-mode overrides for dancer picker (portal page) */
.portal-page .summer-dancer-picker {
  background: rgba(124, 120, 232, 0.06);
  border-color: rgba(124, 120, 232, 0.2);
}
.portal-page .summer-dancer-picker-label {
  color: #7c78e8;
}
.portal-page .summer-dancer-pick-btn {
  border-color: #d0d0d0;
  color: #111;
}
.portal-page .summer-dancer-pick-btn:hover,
.portal-page .summer-dancer-pick-btn--active {
  border-color: #7c78e8;
  background: rgba(124, 120, 232, 0.08);
  color: #7c78e8;
}

/* ── Dates / Sessions ── */
.summer-dates {
  padding: 80px 0;
  background: #191919;
}
.summer-dates h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #eeeeee;
  margin: 0 0 10px;
}
.summer-sessions-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.summer-session-row {
  background: #111111;
  border: 1px solid #272727;
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.summer-session-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.summer-session-info strong {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #eeeeee;
}
.summer-session-info span {
  font-size: 0.95rem;
  color: #aaa;
}
.summer-session-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.summer-session-status {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 20px;
}
.summer-session-status--open {
  background: #2a2a2a;
  color: #ccc;
  border: 1px solid #444;
}
.summer-session-status--full {
  background: #2a2a2a;
  color: #888;
  border: 1px solid #444;
}
.summer-session-btn {
  background: transparent;
  color: #eeeeee;
  border: 1.5px solid #555;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 0.8rem;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.summer-session-btn:hover {
  background: #222;
  border-color: #888;
}
.summer-dates-note {
  font-size: 0.88rem;
  color: #888;
  text-align: center;
  margin: 0;
}
.summer-dates-note a {
  color: #ccc;
  font-weight: 600;
}

/* ── Mid-page CTA band ── */
.summer-cta-band {
  background: #191919;
  color: #fff;
  padding: 56px 0;
}
.summer-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.summer-cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  margin: 0 0 6px;
}
.summer-cta-band p {
  color: rgba(255,255,255,.75);
  font-size: 0.95rem;
  margin: 0;
}

/* ── Photo strip ── */
.summer-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 280px;
  overflow: hidden;
}
.summer-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── FAQ ── */
.summer-faq {
  padding: 80px 0;
  background: #0d0d0d;
}
.summer-faq h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #eeeeee;
  margin: 0 0 40px;
}
.summer-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 32px;
}
.summer-faq-item {
  border-bottom: 1px solid #272727;
  padding: 22px 0;
}
.summer-faq-item:first-child {
  border-top: 1px solid #272727;
}
.summer-faq-item dt {
  font-size: 1rem;
  font-weight: 700;
  color: #eeeeee;
  margin-bottom: 8px;
}
.summer-faq-item dd {
  font-size: 0.93rem;
  color: #aaa;
  line-height: 1.65;
  margin: 0;
}
.summer-faq-more {
  text-align: center;
  color: #888;
  font-size: 0.95rem;
}
.summer-faq-more a {
  color: #ccc;
  font-weight: 600;
  text-decoration: underline;
}

/* ── Final CTA ── */
.summer-final-cta {
  background: #191919;
  color: #fff;
  padding: 96px 0;
  text-align: center;
}
.summer-final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.summer-final-cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  margin: 0;
  line-height: 1.15;
}
.summer-final-cta > .summer-section-inner > p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  margin: 0;
}
.summer-final-cta-contact {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  margin: 0;
}
.summer-final-cta-contact a {
  color: rgba(255,255,255,.85);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   SUMMER PAGE — RESPONSIVE (mobile-first from 768px down)
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  /* Hero */
  .summer-hero-inner {
    padding: 56px 20px 56px;
    max-width: 100%;
  }
  .summer-hero-img {
    opacity: .22;
  }
  .summer-hero-img-overlay {
    background: rgba(13,13,13,0.88);
  }
  .summer-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .summer-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .summer-btn-primary,
  .summer-btn-secondary {
    text-align: center;
    padding: 16px 20px;
    font-size: 1rem;
  }

  /* Why grid → 2 col */
  .summer-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Camps → single column */
  .summer-camps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Sessions */
  .summer-session-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
  }
  .summer-session-right {
    width: 100%;
    justify-content: space-between;
  }
  .summer-session-btn {
    flex: 1;
    text-align: center;
  }

  /* CTA band → stacked */
  .summer-cta-band-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .summer-cta-band .summer-btn-primary {
    width: 100%;
    max-width: 380px;
  }

  /* Photo strip → 1 photo */
  .summer-photo-strip {
    grid-template-columns: 1fr;
    height: 220px;
  }
  .summer-photo-strip img:not(:first-child) {
    display: none;
  }

  /* Final CTA */
  .summer-final-cta {
    padding: 72px 0;
  }
  .summer-final-cta .summer-btn-large {
    width: 100%;
    max-width: 380px;
  }
}

@media (max-width: 600px) {
  /* Why grid → single column */
  .summer-why-grid {
    grid-template-columns: 1fr;
  }
  .summer-why-card {
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
  }
  .summer-why-icon {
    margin: 0;
    flex-shrink: 0;
    font-size: 1.8rem;
  }
  .summer-why-card h3 {
    margin-top: 2px;
  }

  /* Camp meta → 2 col grid on tiny screens */
  .summer-camp-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .summer-why,
  .summer-camps,
  .summer-dates,
  .summer-faq {
    padding: 56px 0;
  }
  .summer-cta-band {
    padding: 44px 0;
  }
}

/* ─── REGISTRATION FORM ─────────────────────────────────────── */

.reg-page { background: var(--cream); }

.reg-page-hero {
  text-align: center;
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.reg-page-hero h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reg-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.reg-intro {
  color: var(--gray);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Guardian / dancer headings */
.reg-guardian-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 32px 0 0;
  padding: 0;
}

.reg-subheading {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin: 4px 0 0;
}

.reg-dancer-block {
  margin-top: 12px;
}

.reg-dancer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 32px 0 0;
}

/* Class checkboxes */
.reg-class-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.reg-class-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reg-class-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #222;
  cursor: pointer;
  padding: 4px 0;
}

.reg-class-check input[type="checkbox"],
.reg-class-check input[type="radio"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green-dark);
}

/* Radio payment group */
.reg-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Newsletter note */
.reg-newsletter-note {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  line-height: 1.6;
}

/* Waiver blocks */
.reg-waiver-block {
  margin-top: 32px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.reg-waiver-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #f4f4f4;
  padding: 14px 20px;
  margin: 0;
  border-bottom: 1px solid #ddd;
  color: #111;
}

.reg-waiver-text {
  padding: 16px 20px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #444;
  white-space: pre-line;
  max-height: 220px;
  overflow-y: auto;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.reg-waiver-check {
  padding: 14px 20px;
  background: #fff;
  font-weight: 600;
}

/* Add dancer button */
.reg-add-dancer-wrap {
  margin: 24px 0 8px;
  text-align: center;
}

.reg-add-dancer-btn {
  background: #111;
  color: #fff !important;
  border-color: #111;
  border-radius: 6px;
  padding: 11px 28px;
  font-size: 0.85rem;
}

.reg-add-dancer-btn:hover {
  background: #333;
  border-color: #333;
}

/* Hero buttons on reg page — solid black pill, white text */
.reg-page .reg-hero-btns .btn {
  background: #111;
  color: #fff !important;
  border-color: #111;
  border-radius: 50px;
  padding: 12px 32px;
}

.reg-page .reg-hero-btns .btn:hover {
  background: #333;
  border-color: #333;
}

/* Submit button — solid black, white text */
.reg-page .btn--primary {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

.reg-page .btn--primary:hover {
  background: #333 !important;
  border-color: #333 !important;
}

.reg-form {
  margin-bottom: 80px;
}

.reg-section-header {
  background: var(--green);
  color: #111111;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 6px 6px 0 0;
  margin-top: 40px;
  margin-bottom: 0;
}

.reg-section {
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 28px 28px 24px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Full-border variant (used after plain headings, not section-header tabs) */
.reg-section--full {
  border-top: 1px solid #ddd !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

.reg-section-note {
  color: var(--gray);
  font-size: 0.88rem;
  margin: 6px 0 0;
  font-style: italic;
}

.reg-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.reg-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--light-gray);
  margin-top: 4px;
  display: block;
}

.req {
  color: #dc2626;
  margin-left: 2px;
}

.opt {
  color: var(--light-gray);
  font-weight: 400;
  font-size: 0.85em;
}

/* Payment note */
.reg-payment-note {
  background: #eef0ff;
  border: 1px solid #c5bffa;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #3d3875;
  font-weight: 500;
  line-height: 1.6;
}

/* Policies */
.reg-policies {
  gap: 24px;
}

.reg-policy-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reg-policy-details {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--cream);
}

.reg-policy-details summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.reg-policy-details summary::-webkit-details-marker { display: none; }

.reg-policy-details summary::before {
  content: "▶";
  font-size: 0.65rem;
  color: var(--green);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.reg-policy-details[open] summary::before {
  transform: rotate(90deg);
}

.reg-policy-text {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reg-policy-text p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
}

.reg-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
}

.reg-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Summer camp registration form */
.reg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.reg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reg-field--full {
  grid-column: 1 / -1;
}
.reg-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.03em;
}
.reg-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.reg-input:focus {
  border-color: var(--green-dark);
}
.reg-textarea {
  resize: vertical;
  min-height: 64px;
}
.reg-required {
  color: var(--green);
}
@media (max-width: 540px) {
  .reg-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Student blocks */
.reg-student-block {
  margin-top: 8px;
}

.reg-student-extra {
  margin-top: 24px;
}

/* Class registration note */
.reg-class-reg {
  gap: 14px;
}

.reg-class-note {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.reg-class-note-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--green-dark);
  line-height: 1.6;
}

.reg-class-note-icon {
  margin-right: 6px;
}

/* Add student & submit */
.reg-add-student-wrap {
  margin-top: 32px;
  text-align: center;
}

.reg-add-student-btn {
  font-size: 0.9rem;
  padding: 12px 28px;
}

.reg-submit-wrap {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.reg-submit-btn {
  font-size: 1rem;
  padding: 16px;
  letter-spacing: 0.06em;
}

/* ─── RETURN REGISTRATION ─────────────────────────────────────── */

.return-info-summary {
  padding: 20px 24px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 28px;
}

.return-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px 24px;
  margin-bottom: 14px;
}

.return-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.return-info-label {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}

.return-info-value {
  font-size: 0.95rem;
  color: var(--dark);
}

.return-info-update-note {
  font-size: 0.82rem;
  color: #888;
  margin-top: 10px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.return-info-update-note a {
  color: var(--green);
  text-decoration: underline;
}

.return-dancer-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.return-dancer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.return-dancer-dob {
  font-size: 0.85rem;
  color: #888;
  font-weight: 400;
}

/* ─── REGISTRATION — RESPONSIVE ─────────────────────────────── */

@media (max-width: 768px) {
  .reg-page-hero h1 { font-size: 1.8rem; }
  .reg-page-hero { padding: 32px 0 28px; margin-bottom: 28px; }

  .reg-two-col { grid-template-columns: 1fr; }
  .reg-three-col { grid-template-columns: 1fr; }

  .reg-section {
    padding: 20px 16px 18px;
    gap: 14px;
  }

  .reg-section-header { margin-top: 28px; }
}

@media (max-width: 480px) {
  .reg-page-hero h1 { font-size: 1.5rem; }
  .reg-section { padding: 16px 14px; }
}

/* ─── ADMIN: PARENTS ────────────────────────────────────────── */

/* Billing status badges */
.billing-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.billing-badge--current  { background: #ede9fe; color: #5b21b6; }
.billing-badge--pending  { background: #fef3c7; color: #92400e; }
.billing-badge--outstanding { background: #fee2e2; color: #991b1b; }
.billing-badge--none     { background: #f3f4f6; color: #6b7280; }

/* Family tag in parent name cell */
.parent-family-tag { color: var(--gray); font-weight: 400; font-size: 0.88em; }

/* Search row */
.admin-search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-search-input {
  flex: 1;
  min-width: 200px;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: #fff;
}
.admin-search-input:focus {
  outline: none;
  border-color: var(--green);
}

/* Tab navigation */
.parent-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.parent-tab {
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.parent-tab:hover { color: var(--green); }
.parent-tab--active { color: var(--green); border-bottom-color: var(--green); }
.parent-tab-badge {
  background: var(--green);
  color: #111111;
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Admin form readonly */
.admin-readonly-input {
  background: var(--cream) !important;
  color: var(--gray) !important;
  cursor: default;
}

/* Section group (billing tab layout) */
.admin-section-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.parent-billing-summary { background: var(--cream); }

/* Parent edit form */
.parent-edit-form { margin-bottom: 0; }
.admin-form-actions { margin-top: 8px; }

/* Child card */
.parent-child-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}
.parent-child-edit-form {
  border-top: 1px solid #e0e0e0;
  padding-top: 16px;
  margin-bottom: 20px;
}
.parent-child-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.parent-child-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
}
.parent-enrollments { margin-top: 12px; }
.parent-enroll-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.parent-enroll-form {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.parent-enroll-form .admin-search-input { min-width: 280px; }

.enroll-group { margin-bottom: 16px; }
.enroll-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.enroll-group-count {
  font-size: 0.8rem;
  color: #888;
}
.enroll-group--muted .crm-enroll-table {
  opacity: 0.7;
}
.enroll-row--muted td {
  color: #888;
}

@media (max-width: 768px) {
  .parent-tabs { gap: 0; }
  .parent-tab { padding: 10px 14px; font-size: 0.82rem; }
  .parent-child-header { flex-direction: column; }
  .parent-enroll-form { flex-direction: column; align-items: stretch; }
  .admin-search-row { flex-direction: column; align-items: stretch; }
}

/* ─── ADMIN LIGHT-THEME INPUT OVERRIDES ────────────────────── */

/* All admin inputs use light backgrounds with dark text */
.admin-site input,
.admin-site select,
.admin-site textarea {
  background: #f8f8f8 !important;
  color: #111111 !important;
  border-color: #cccccc !important;
}
.admin-site input::placeholder,
.admin-site textarea::placeholder { color: #999999 !important; }

/* Admin inputs / search row */
/* ─── Admin section cards: white on dark bg for maximum readability ──────── */
.admin-main .admin-section {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.18);
  color: #111111;
}

/* ═══════════════════════════════════════════════════════════════════════════
   WHITE CARD RULE — ABSOLUTE:
   White background = black text. Every single descendant, no exceptions
   except those explicitly listed below.
   ═══════════════════════════════════════════════════════════════════════════ */
.admin-main .admin-section,
.admin-main .admin-section * {
  color: #111111 !important;
}

/* ── Inputs / selects / textareas: light bg, dark text ─────────────────── */
.admin-main .admin-section input:not([type="checkbox"]):not([type="radio"]),
.admin-main .admin-section select,
.admin-main .admin-section textarea {
  background: #f8f8f8 !important;
  color: #111111 !important;
  border-color: #cccccc !important;
}
.admin-main .admin-section input::placeholder,
.admin-main .admin-section textarea::placeholder {
  color: #999999 !important;
}

/* ── Tables: light rows, dark text ─────────────────────────────────────── */
.admin-main .admin-section .admin-table th {
  background: #f0f0f0 !important;
  border-bottom: 1px solid #e0e0e0;
}
.admin-main .admin-section .admin-table td {
  border-bottom: 1px solid #f0f0f0;
}
.admin-main .admin-section .admin-table tr:nth-child(even) {
  background: #f9f9f9 !important;
}
.admin-main .admin-section .admin-table tr:hover {
  background: #ede9fe !important;
}

/* ── Muted secondary text ──────────────────────────────────────────────── */
.admin-main .admin-section .admin-subtitle,
.admin-main .admin-section .admin-input-hint,
.admin-main .admin-section .admin-cell-sub,
.admin-main .admin-section .email-group-meta,
.admin-main .admin-section .crm-stat-label {
  color: #555555 !important;
}

/* ── EXCEPTION: email-group-tag (white text on dark pill) ──────────────── */
.admin-main .admin-section .email-group-tag {
  color: #ffffff !important;
}

/* ── EXCEPTION: btn--primary (dark text on lavender bg) ────────────────── */
.admin-main .admin-section .btn--primary,
.admin-main .admin-section .btn--primary * {
  color: #111111 !important;
}

/* ── EXCEPTION: btn--danger / btn--outline keep their own look ─────────── */
.admin-main .admin-section .btn--danger,
.admin-main .admin-section .btn--danger *,
.admin-section .btn--danger,
.admin-section .btn--danger * {
  color: #ffffff !important;
}
.admin-main .admin-section .btn--outline,
.admin-section .btn--outline {
  color: #333333 !important;
  border-color: #aaaaaa !important;
}
.admin-main .admin-section .btn--outline:hover,
.admin-section .btn--outline:hover {
  color: #5b21b6 !important;
  border-color: #5b21b6 !important;
}
.admin-section .btn--ghost {
  color: #555555 !important;
  border-color: #cccccc !important;
}
.admin-section .btn--ghost:hover {
  color: #333333 !important;
  background: #f0f0f0 !important;
}

/* ── EXCEPTION: status badges keep their color coding ──────────────────── */
.admin-main .admin-section .admin-badge--active,
.admin-main .admin-section .admin-badge--active * {
  color: #166534 !important;
}
.admin-main .admin-section .admin-badge--inactive,
.admin-main .admin-section .admin-badge--inactive * {
  color: #991b1b !important;
}
.admin-main .admin-section .admin-badge--pending,
.admin-main .admin-section .admin-badge--pending * {
  color: #92400e !important;
}

/* ── EXCEPTION: links inside cards use purple ──────────────────────────── */
.admin-main .admin-section a,
.admin-main .admin-section a * {
  color: #5b21b6 !important;
}
.admin-main .admin-section a:hover,
.admin-main .admin-section a:hover * {
  color: #7c78e8 !important;
}

/* ── EXCEPTION: alert boxes keep semantic colors ───────────────────────── */
.admin-main .admin-section .portal-alert--error,
.admin-main .admin-section .portal-alert--error * {
  color: #7f1d1d !important;
}
.admin-main .admin-section .portal-alert--success,
.admin-main .admin-section .portal-alert--success * {
  color: #14532d !important;
}
.admin-main .admin-section .portal-alert--warning,
.admin-main .admin-section .portal-alert--warning * {
  color: #78350f !important;
}

/* admin-label / admin-input-hint utility classes (used in settings form) */
.admin-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.admin-input-hint {
  display: block;
  font-size: 0.78rem;
  color: #666666;
  margin-top: 4px;
}
.admin-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #cccccc;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #f8f8f8;
  color: #111111;
  transition: border-color 0.15s;
}
.admin-input:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(124, 120, 232, 0.15);
}

/* Fallback for inputs outside section cards (search bars in header area) */
.admin-search-input,
.admin-filter-select,
.admin-input,
.form-input {
  background: #f8f8f8 !important;
  color: #111111 !important;
  border-color: #cccccc !important;
}

/* Portal & registration pages — ALL inputs must be white */
.portal-page input,
.portal-page select,
.portal-page textarea,
.reg-page input,
.reg-page select,
.reg-page textarea {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #cccccc !important;
}
.portal-page input::placeholder,
.portal-page textarea::placeholder,
.reg-page input::placeholder,
.reg-page textarea::placeholder {
  color: #999999 !important;
}

/* Cards and panels — dark theme (admin pages use body.admin-site; portal-card stays white) */
.admin-card,
.parent-child-card,
.welcome-banner,
.contact-form-wrap,
.enroll-class-card,
.class-card,
.reg-form-card,
.portal-section,
.billing-info-box {
  background: #ffffff !important;
  border-color: #e0e0e0 !important;
}

.admin-table-wrap {
  background: transparent !important;
}

.admin-stat-card,
.admin-panel {
  background: #ffffff !important;
  border-color: #e0e0e0 !important;
}

.admin-content {
  background: transparent !important;
}

/* Admin table rows — light theme */
.admin-table th {
  background: #ececf0 !important;
  color: #333333 !important;
}
.admin-table tr:nth-child(even) { background: #f7f7f9 !important; }
.admin-table tr:hover { background: #ede9fe !important; }

/* ─── Email Groups ─────────────────────────────────────────────────────────── */
.email-group-card {
  margin-bottom: 20px;
}
.email-group-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.email-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: #e5e5e5;
  margin-bottom: 4px;
}
.email-group-meta {
  font-size: 0.82rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.email-group-tag {
  background: #1e1830;
  color: #c5c0fb;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 600;
}
.email-group-sep {
  color: #444;
}
.email-group-list {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #1a1a1a;
  font-family: monospace;
  word-break: break-all;
  margin-bottom: 14px;
  line-height: 1.6;
  min-height: 38px;
}
.email-group-roster {
  margin-top: 0;
}
.email-group-mailto {
  color: #c5c0fb;
  text-decoration: none;
}
.email-group-mailto:hover {
  text-decoration: underline;
}

/* Nav link text on dark header */
.site-nav a { color: var(--dark) !important; }
.site-nav a:hover, .site-nav a.active { color: var(--green) !important; border-bottom-color: var(--green) !important; }

/* Mobile nav toggle bars – stay light */
.nav-toggle span { background: var(--dark); }

/* Admin main area — light theme */
.admin-main { background: #f4f4f6; }

/* Portal page backgrounds */
.portal-page, .portal-layout { background: #f7f7fb; }

/* ── Portal Sidebar Layout ── */
.portal-layout {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.portal-sidebar {
  width: 230px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.portal-sidebar-top {
  padding: 28px 22px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.portal-sidebar-greeting {
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 3px;
}

.portal-sidebar-school {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c78e8;
}

.portal-sidebar-nav-outer {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.portal-sidebar-nav {
  flex: 1;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}

.portal-sidebar-link {
  display: block;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.portal-sidebar-link:hover {
  background: #f7f7fb;
  color: #111;
}

.portal-sidebar-link--active {
  color: #7c78e8;
  font-weight: 700;
  border-left-color: #7c78e8;
  background: rgba(124, 120, 232, 0.06);
}

.portal-sidebar-bottom {
  padding: 16px 22px;
  border-top: 1px solid #f0f0f0;
}

.portal-sidebar-logout {
  background: none;
  border: none;
  font-size: 0.85rem;
  color: #aaa;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: color 0.12s;
}

.portal-sidebar-logout:hover {
  color: #555;
}

.portal-main {
  flex: 1;
  min-width: 0;
}

/* Remove double padding when portal-page is inside portal-layout */
.portal-layout .portal-page {
  padding-top: 0;
  min-height: unset;
}

/* Mobile: sidebar becomes a compact horizontal top bar */
@media (max-width: 860px) {
  .portal-layout {
    flex-direction: column;
  }
  .portal-sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    align-items: stretch;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    overflow: hidden;
  }
  .portal-sidebar-top {
    padding: 12px 16px;
    border-bottom: none;
    border-right: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
  }
  /* Nav outer: clips scroll and holds the fade indicator */
  .portal-sidebar-nav-outer {
    flex-direction: row;
    flex: 1;
    position: relative;
    overflow: hidden;
  }
  /* Fade gradient — swipe hint */
  .portal-sidebar-nav-outer::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 52px;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
    z-index: 2;
  }
  .portal-sidebar-nav {
    flex-direction: row;
    flex: 1;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    /* Hide scrollbar visually but keep it functional */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .portal-sidebar-nav::-webkit-scrollbar {
    display: none;
  }
  .portal-sidebar-link {
    padding: 14px 14px;
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 0.85rem;
  }
  .portal-sidebar-link--active {
    border-left: none;
    border-bottom-color: #7c78e8;
    background: transparent;
  }
  .portal-sidebar-bottom {
    padding: 0 14px;
    border-top: none;
    border-left: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
  }
  .portal-main {
    padding: 0;
  }
  .portal-layout .portal-page {
    padding-top: 40px;
  }
}
.portal-header { background: #ffffff; border-bottom: 1px solid #e5e5e5; }

/* Billing badges stay colorful on dark bg */
.billing-badge--current  { background: #ede9fe !important; color: #5b21b6 !important; }
.billing-badge--pending  { background: #fef3c7 !important; color: #92400e !important; }
.billing-badge--outstanding { background: #fee2e2 !important; color: #991b1b !important; }
.billing-badge--none     { background: #2a2a2a !important; color: #888 !important; }

/* Admin filter tabs on dark */
.admin-filter-tabs { background: #111111; border-color: var(--border); }

/* Admin detail page back link */
.admin-readonly-input {
  background: #111111 !important;
  color: #666 !important;
}

/* Reg banner dark text on purple */
.reg-banner { color: #111111; }

/* Success/error flash messages — keep colored */
.portal-success { background: #ecfdf5 !important; color: #065f46 !important; border-color: #6ee7b7 !important; }
.portal-error   { background: #fff1f2 !important; color: #991b1b !important; border-color: #fca5a5 !important; }
.alert-success  { background: #052e1c !important; color: #6ee7b7 !important; }
.alert-error    { background: #2d0a0a !important; color: #fca5a5 !important; }

/* ─── FACULTY LEADERS (side by side) ───────────────────────── */

.faculty-leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.faculty-leader-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faculty-leader-photo-wrap {
  width: 100%;
  margin-bottom: 20px;
}

.faculty-leader-photo {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 768px) {
  .faculty-leaders {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faculty-leader-photo {
    height: auto;
  }
}

/* ─── WHITE THEME: registration form only ─────────────── */

.reg-page {
  background: #ffffff !important;
  color: #111111 !important;
}

.reg-page .reg-page-hero {
  border-bottom-color: #e5e5e5;
}

.reg-page .reg-page-hero h1 {
  color: #111111 !important;
}

.reg-page .reg-intro {
  color: #555555 !important;
}

.reg-page .reg-form-card,
.reg-page .class-card,
.reg-page .enroll-class-card,
.reg-page .portal-section,
.reg-page .welcome-banner {
  background: #f8f8f8 !important;
  border-color: #e0e0e0 !important;
}

.reg-page label,
.reg-page .form-group label,
.portal-page label,
.portal-page .form-group label,
.admin-main label,
.admin-site label {
  color: #111111 !important;
}

/* Admin cards (white bg) — ensure all text is readable */
.admin-card {
  color: #111111;
}
.admin-card label {
  color: #111111 !important;
}

.reg-page .form-group input,
.reg-page .form-group select,
.reg-page .form-group textarea,
.reg-page .portal-input {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #cccccc !important;
}

.reg-page .form-group input::placeholder,
.reg-page .form-group textarea::placeholder {
  color: #aaaaaa !important;
}

.reg-page p {
  color: #444444;
}

.reg-page a {
  color: var(--green-dark);
}

.reg-page .reg-section-header {
  background: var(--green-dark);
  color: #ffffff;
}

.reg-page .reg-section {
  background: #ffffff !important;
  border-top: 1px solid #ddd !important;
  border-radius: 8px !important;
}

.reg-page .reg-radio-group,
.reg-page .reg-class-checkboxes {
  background: #ffffff;
}

/* ── PORTAL: light theme ── */
.portal-page .portal-card,
.portal-page .portal-card--billing {
  background: #ffffff !important;
  border-color: #e5e5e5 !important;
  color: #111111 !important;
}

.portal-page .portal-card h2,
.portal-page .portal-header-row h1,
.portal-page h1,
.portal-page h2,
.portal-page h3 {
  color: #111111 !important;
}

.portal-page .portal-empty {
  color: #666666 !important;
}

.portal-page .dancer-card__name {
  border-color: #e5e5e5 !important;
  color: #111111 !important;
}

.portal-page .dancer-card__info dt {
  color: #888888 !important;
}

.portal-page .dancer-card__info dd {
  color: #111111 !important;
}

.portal-page .dancer-card__classes h3 {
  color: #888888 !important;
}

.portal-page p {
  color: #333333 !important;
}

.portal-page .reg-payment-note,
.reg-page .reg-payment-note {
  background: #eef0ff !important;
  color: #3d3875 !important;
  border-color: #c5bffa !important;
}

.portal-page .reg-class-check,
.reg-page .reg-class-check {
  color: #222222 !important;
}

.portal-page .reg-class-name,
.reg-page .reg-class-name {
  color: #111111 !important;
}

.portal-page .reg-class-schedule,
.reg-page .reg-class-schedule {
  color: #555555 !important;
}

.portal-page .reg-class-label,
.reg-page .reg-class-label {
  color: #111111 !important;
}

.portal-page .reg-guardian-heading,
.portal-page .reg-dancer-heading,
.reg-page .reg-guardian-heading,
.reg-page .reg-dancer-heading {
  color: #111111 !important;
}

.portal-page a:not(.btn) {
  color: #7c78e8 !important;
}

.portal-page .dancer-class-item {
  background: #f5f5f5 !important;
}

.portal-page .dancer-class-name {
  color: #111111 !important;
}

.portal-page .dancer-class-time {
  color: #666666 !important;
}

.portal-page .child-list-item {
  background: #f5f5f5 !important;
  border-color: #e5e5e5 !important;
}

.portal-page .child-name {
  color: #111111 !important;
}

.portal-page .child-dob {
  color: #666666 !important;
}

.portal-page .my-programs-table,
.portal-page table {
  background: #ffffff !important;
  color: #111111 !important;
}

.portal-page .my-programs-table th,
.portal-page table th {
  background: #f0eeff !important;
  color: #5b21b6 !important;
  border-color: #e0d9ff !important;
}

.portal-page .my-programs-table td,
.portal-page table td {
  color: #333333 !important;
  border-color: #eeeeee !important;
}

.portal-page .my-programs-table tr:nth-child(even),
.portal-page table tr:nth-child(even) {
  background: #faf9ff !important;
}

.portal-page .my-programs-table tr:hover,
.portal-page table tr:hover {
  background: #f0eeff !important;
}

.portal-page .enroll-term-name,
.portal-page .enroll-term-section,
.portal-page .enroll-class-meta {
  color: #666666 !important;
}

.portal-page .enroll-class-card {
  background: #ffffff !important;
  border-color: #e5e5e5 !important;
  color: #111111 !important;
}

.portal-page .enroll-class-name {
  color: #111111 !important;
}

.portal-page .portal-breadcrumb,
.portal-page .portal-breadcrumb a {
  color: #7c78e8 !important;
}

/* Billing page */
.portal-page .portal-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e5e5 !important;
  color: #111111 !important;
}
.portal-page .portal-header h1,
.portal-page .portal-header p {
  color: #111111 !important;
}
.portal-page .billing-section {
  background: #ffffff !important;
  border-color: #e5e5e5 !important;
}

.portal-page .billing-section-title {
  color: #111111 !important;
}

.portal-page .billing-invoice-desc {
  color: #111111 !important;
}

.portal-page .billing-invoice-due,
.portal-page .billing-invoice-paid-on {
  color: #666666 !important;
}

/* Edit child page */
.portal-page .admin-section,
.portal-page .admin-form-row {
  background: #ffffff !important;
  color: #111111 !important;
}

.portal-page .admin-section-title {
  color: #111111 !important;
}

/* Welcome banner */
.portal-page .welcome-banner {
  background: #f0eeff !important;
  border-color: #c5c0fb !important;
  color: #111111 !important;
}

/* Welcome subtitle */
.portal-page .portal-welcome-sub {
  color: #555555 !important;
}

/* Dancer selector */
.portal-page .dancer-selector-label {
  color: #888888 !important;
}
.portal-page .dancer-tab {
  border-color: #dddddd !important;
  color: #555555 !important;
  background: #ffffff !important;
}
.portal-page .dancer-tab:hover {
  border-color: #7c78e8 !important;
  color: #7c78e8 !important;
  background: #f0eeff !important;
}
.portal-page .dancer-tab--active {
  background: #7c78e8 !important;
  border-color: #7c78e8 !important;
  color: #ffffff !important;
}
.portal-page .dancer-tab--active:hover {
  background: #6b66e0 !important;
  border-color: #6b66e0 !important;
  color: #ffffff !important;
}
.portal-page .child-list-item--active .child-name {
  color: #7c78e8 !important;
}

/* ─── Portal-page button overrides (white bg needs dark-text variants) ─── */

/* btn--outline: default uses near-white text (--dark = #eee) — invisible on white */
.portal-page .btn--outline {
  color: #444444;
  border-color: #aaaaaa;
  background: transparent;
}
.portal-page .btn--outline:hover {
  color: #7c78e8;
  border-color: #7c78e8;
  background: transparent;
}

/* btn--secondary: default uses very dark bg (#1e1830) — jarring on white portal cards */
.portal-page .btn--secondary {
  background: #ede9fe;
  color: #5b21b6;
  border-color: #ede9fe;
}
.portal-page .btn--secondary:hover {
  background: #ddd6fe;
  border-color: #ddd6fe;
  color: #4c1d95;
}

/* btn--primary: base OK (#c5c0fb bg / #111 text); ensure hover keeps readable text */
.portal-page .btn--primary:hover {
  color: #111111;
}

/* ═══════════════════════════════════════════════════════════════
   BILLING & INVOICES — Portal + Admin
   ═══════════════════════════════════════════════════════════════ */

/* Portal billing page */
.billing-owing-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.billing-owing-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #888;
}
.billing-owing-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: #e05252;
}

.billing-section {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 28px 28px 20px;
  margin-bottom: 20px;
}
.billing-section-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 0 0 18px;
  color: #111;
}
.billing-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 0;
  color: #888;
  text-align: center;
}
.billing-empty svg { opacity: .5; }

.billing-invoice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.billing-invoice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid #e4e4e4;
}
.billing-invoice-card--unpaid {
  border-left: 3px solid #c5c0fb;
  background: #faf9ff;
}
.billing-invoice-card--paid {
  border-left: 3px solid #5cb85c;
  background: #f8fdf8;
  opacity: .85;
}
.billing-invoice-info { flex: 1; }
.billing-invoice-desc {
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}
.billing-invoice-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.billing-invoice-due {
  font-size: 0.82rem;
  color: #666;
}
.billing-invoice-paid-on {
  font-size: 0.82rem;
  color: #888;
}
.billing-status-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 8px;
  border-radius: 20px;
}
.billing-status-chip--unpaid { background: #fff3cd; color: #856404; }
.billing-status-chip--paid { background: #d1fae5; color: #065f46; }
.billing-status-chip--overdue { background: #fee2e2; color: #991b1b; }
.billing-square-badge {
  font-size: 0.7rem;
  background: #00b388;
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 600;
}
.billing-invoice-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.billing-invoice-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}
.billing-invoice-amount--paid {
  color: #5cb85c;
}
.billing-pay-btn { min-width: 90px; }

/* Square payment modal */
.payment-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}
.payment-modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px 24px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.payment-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.payment-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #111;
}
.payment-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 0;
}
.payment-modal-close:hover { color: #333; }
.payment-modal-invoice-info {
  background: #f7f7fb;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: .92rem;
  color: #333;
}
.square-card-container {
  margin-bottom: 12px;
  min-height: 90px;
}
.square-apple-pay-container {
  margin-bottom: 8px;
}
.reg-pay-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0;
  gap: 10px;
  color: #888888;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.reg-pay-or-divider::before,
.reg-pay-or-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid #cccccc;
}
.payment-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}
.payment-modal-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  font-size: 0.78rem;
  color: #aaa;
}

/* Admin invoices table styles */
.invoice-row--paid td { opacity: .65; }
.invoice-row--overdue td:first-child { color: #e05252; }
.invoice-badge {
  display: inline-block;
  font-size: 0.7rem;
  margin-left: 8px;
  vertical-align: middle;
}
.invoice-badge--square {
  background: #00b388;
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 600;
}
.invoice-note {
  font-size: 0.78rem;
  color: #888;
  margin-top: 3px;
}
.invoice-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.invoice-summary {
  display: flex;
  gap: 28px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  font-size: .9rem;
  color: #555;
}
.invoice-summary strong { color: #111; }
.billing-badge--unpaid { background: #fff3cd; color: #856404; }
.billing-badge--paid { background: #d1fae5; color: #065f46; }
.billing-badge--overdue { background: #fee2e2; color: #991b1b; }

/* ═══════════════════════════════════════════════════════════════
   DANCER PORTAL — v10 additions
   ═══════════════════════════════════════════════════════════════ */

/* ── Dancer Selector ─────────────────────────────────────────── */
.dancer-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: rgba(197,192,251,0.07);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.dancer-selector-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}
.dancer-selector-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dancer-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dark);
  background: transparent;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.dancer-tab:hover {
  background: rgba(197,192,251,0.12);
  border-color: var(--green);
  color: var(--green);
}
.dancer-tab--active {
  background: var(--green);
  border-color: var(--green);
  color: #0d0d0d;
}
.dancer-tab--active:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

/* ── Dancer Focused View ─────────────────────────────────────── */
.dancer-focused-view {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Dancer Profile Card */
.dancer-profile-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dancer-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.dancer-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--green);
  color: #0d0d0d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
}
.dancer-profile-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 4px;
}
.dancer-profile-dob {
  font-size: 0.82rem;
  color: var(--gray);
  margin: 0 0 3px;
}
.dancer-profile-notes {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
  margin: 0;
}
.dancer-profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Dancer Classes Card */
.dancer-classes-card {}
.dancer-classes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.dancer-classes-header h2 { margin: 0; }
.dancer-class-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.dancer-class-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.dancer-class-row:last-child { border-bottom: none; }
.dancer-class-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 160px;
}
.dancer-class-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}
.dancer-class-term {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.dancer-class-schedule {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dancer-class-day-time {
  font-size: 0.85rem;
  color: var(--gray);
}
.dancer-class-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}
.dancer-class-status {
  display: flex;
  align-items: center;
}
.dancer-class-locked {
  font-size: 0.8rem;
  color: #aaa;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: not-allowed;
}

/* ── Portal empty state within cards ─────────────────────────── */
.portal-empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0 8px;
}

/* ── My Programs table ───────────────────────────────────────── */
.my-programs-table-wrap {
  overflow-x: auto;
  margin: 0 -4px;
}
.my-programs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.my-programs-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid var(--border);
}
.my-programs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  vertical-align: middle;
}
.my-programs-table tr:last-child td { border-bottom: none; }
.my-programs-table .mp-child { font-weight: 700; }
.my-programs-table .mp-term  { font-size: 0.8rem; color: var(--gray); }
.my-programs-table .mp-class { font-weight: 600; }
.my-programs-table .mp-schedule { color: var(--gray); }
.my-programs-table .mp-classes-year { font-weight: 600; color: var(--green); text-align: center; }

/* ── Portal alert variants (re-affirm) ───────────────────────── */
.portal-alert--info {
  background: rgba(197,192,251,0.1);
  border-color: rgba(197,192,251,0.3);
  color: var(--dark);
}

/* ── Registration badge ──────────────────────────────────────── */
.registration-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.registration-badge--open {
  background: rgba(16,185,129,0.15);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.3);
}
.registration-badge--closed {
  background: rgba(239,68,68,0.1);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.25);
}

/* Closed term card dimming */
.enroll-term--closed {
  opacity: 0.82;
}

/* ── Enroll page: classes/year ───────────────────────────────── */
.enroll-classes-year {
  font-weight: 700;
  color: var(--green);
  font-size: 0.88rem;
}
.enroll-classes-year--unknown {
  color: var(--gray);
  font-weight: 400;
}

/* Enroll action row (dancer label + button) */
.enroll-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.enroll-action-row:last-child { margin-bottom: 0; }
.enroll-child-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  min-width: 80px;
}

/* Portal header row */
.portal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

/* ── Billing card accent ─────────────────────────────────────── */
.portal-card--billing {
  border-left: 3px solid var(--green);
}

/* ── Responsive tweaks ───────────────────────────────────────── */
@media (max-width: 640px) {
  .dancer-class-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .dancer-profile-header {
    flex-direction: column;
  }
  .my-programs-table th,
  .my-programs-table td {
    padding: 9px 10px;
    font-size: 0.82rem;
  }
  .dancer-selector {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Sign Up Page — returning family banner ──────────────────── */
.signup-returning-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--green-dark);
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s;
}
.signup-returning-banner:hover {
  background: #6a66d4;
}
.signup-returning-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.signup-returning-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

/* ── Registration Fee Banner (AccountPage) ──────────────────── */
.reg-required-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(197,192,251,0.18);
  border: 2px solid var(--green);
  border-radius: 12px;
  padding: 22px 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.reg-required-banner-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 200px;
}
.reg-required-banner-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
}
.reg-required-banner-text span {
  font-size: 0.92rem;
  color: #444444;
  line-height: 1.5;
}

/* ── Registration Gate Banner (EnrollPage) ───────────────────── */
.reg-gate-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(197,192,251,0.18);
  border: 2px solid var(--green);
  border-radius: 12px;
  padding: 22px 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.reg-gate-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 200px;
}
.reg-gate-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
}
.reg-gate-text span {
  font-size: 0.92rem;
  color: #444444;
  line-height: 1.5;
}

/* ── Collapsible Waiver Details ──────────────────────────────── */
.reg-waiver-details {
  margin-bottom: 12px;
}
.reg-waiver-details > .reg-waiver-title {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.reg-waiver-details > .reg-waiver-title::before {
  content: "▶";
  font-size: 0.7rem;
  color: var(--green);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.reg-waiver-details[open] > .reg-waiver-title::before {
  transform: rotate(90deg);
}
.reg-waiver-details > .reg-waiver-title::-webkit-details-marker {
  display: none;
}

/* ── Portal Registration Page ────────────────────────────────── */
.reg-fee-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(197,192,251,0.10);
  border: 1.5px solid var(--green);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.reg-fee-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reg-fee-banner-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.reg-fee-banner-text span {
  font-size: 0.9rem;
  color: rgba(238,238,238,0.75);
  line-height: 1.55;
}
.reg-fee-badge {
  display: inline-block;
  background: var(--green);
  color: #0d0d0d;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.reg-payment-block {
  background: #f0eeff;
  border: 1px solid #c5c0fb;
  border-radius: 12px;
  padding: 24px;
  margin-top: 16px;
}
.reg-payment-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111111;
}
.reg-payment-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.reg-payment-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #111111;
}
.reg-payment-line.total,
.reg-payment-line--total {
  font-weight: 700;
  font-size: 1rem;
  color: #111111;
  border-top: 1px solid #c5c0fb;
  padding-top: 10px;
  margin-top: 4px;
}
#sq-card-container,
#reg-card-container {
  border: 1px solid #c5c0fb;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  margin-bottom: 16px;
  min-height: 56px;
}
.reg-payment-disclaimer {
  font-size: 0.78rem;
  color: #666666;
  margin-top: 12px;
  line-height: 1.5;
}

.reg-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.reg-success-block {
  background: rgba(50,200,100,0.08);
  border: 1.5px solid rgba(50,200,100,0.35);
  border-radius: 12px;
  padding: 28px 32px;
  text-align: center;
  margin-bottom: 28px;
}
.reg-success-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.reg-success-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.reg-success-block p {
  font-size: 0.9rem;
  color: rgba(238,238,238,0.7);
  line-height: 1.55;
}
.reg-success-block .btn {
  margin-top: 20px;
}

/* ════════════════════════════════════════════════════════════════
   IMPORTANT INFORMATION PAGE
   ════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.info-hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #191919 100%);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px 64px;
  text-align: center;
}
.info-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.info-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.info-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}

/* ── Sections ── */
.info-section {
  padding: 72px 24px;
}
.info-section--alt {
  background: var(--cream);
}
.info-container {
  max-width: 900px;
  margin: 0 auto;
}
.info-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.info-section-title-accent {
  color: var(--green);
}
.info-section-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 32px;
  font-style: italic;
}

/* ── Tables ── */
.info-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.info-table thead tr {
  background: var(--green);
  color: #0d0d0d;
}
.info-table thead th {
  padding: 14px 20px;
  font-weight: 700;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.info-table tbody tr {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.15s;
}
.info-table tbody tr:last-child {
  border-bottom: none;
}
.info-table tbody tr:hover {
  background: #f5f3ff;
}
.info-table tbody td {
  padding: 13px 20px;
  color: #1a1a1a;
  font-weight: 500;
}
.info-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}
.info-table tbody tr:nth-child(even):hover {
  background: #f5f3ff;
}
.info-table-company td {
  font-weight: 700;
  color: #5a54c9 !important;
  background: #eeecff !important;
}
.info-fee-name {
  font-weight: 700;
  color: #1a1a1a !important;
}
.info-table-footnote {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin: 0;
}

/* ── Policy Box ── */
.info-policy-box {
  margin-top: 36px;
  background: rgba(197,192,251,0.08);
  border: 1px solid rgba(197,192,251,0.2);
  border-radius: 12px;
  padding: 28px 32px;
}
.info-policy-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.info-policy-box ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-policy-box li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}

/* ── Important Dates ── */
.info-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.info-date-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 8px;
  padding: 18px 20px;
}
.info-section--alt .info-date-card {
  background: #0d0d0d;
}
.info-date-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.info-date-desc {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
}

/* ── Payment Grid ── */
.info-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.info-payment-card {
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.info-section .info-payment-card {
  background: var(--cream);
}
.info-payment-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.info-payment-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin: 0;
}
.info-payment-card ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-payment-card li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
}
.info-payment-card a:not(.btn) {
  color: var(--green);
  text-decoration: none;
}
.info-payment-card a:not(.btn):hover {
  text-decoration: underline;
}
.info-payment-note {
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.45) !important;
  font-style: italic;
}

@media (max-width: 640px) {
  .info-hero {
    padding: 56px 20px 48px;
  }
  .info-section {
    padding: 52px 20px;
  }
  .info-policy-box {
    padding: 20px 20px;
  }
  .info-table thead th,
  .info-table tbody td {
    padding: 11px 14px;
  }
}

/* ── Misc fees / due dates table refinements ── */
.info-fee-desc {
  color: #555555 !important;
  font-size: 0.88rem;
  line-height: 1.5;
  font-style: italic;
}
.info-fee-amount {
  font-weight: 600;
  color: #1a1a1a !important;
  font-size: 0.9rem;
  line-height: 1.6;
}
.info-due-date {
  font-weight: 700;
  color: #5a54c9 !important;
  font-size: 0.88rem;
  white-space: nowrap;
}
.info-due-desc {
  color: #1a1a1a !important;
  font-size: 0.92rem;
  line-height: 1.5;
}
.info-table--misc {
  table-layout: fixed;
  width: 100%;
}
.info-table--misc th,
.info-table--misc td {
  padding: 14px 20px;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}
.info-table--misc th:nth-child(1),
.info-table--misc td:nth-child(1) { width: 22%; }
.info-table--misc th:nth-child(2),
.info-table--misc td:nth-child(2) { width: 42%; }
.info-table--misc th:nth-child(3),
.info-table--misc td:nth-child(3) { width: 36%; }

.info-table--dates td {
  padding: 14px 20px;
  vertical-align: top;
}

/* ── My Schedule Cards ──────────────────────────────────────── */
.schedule-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.schedule-card {
  display: flex;
  align-items: stretch;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.schedule-card-day {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #7c78e8;
  min-width: 64px;
  padding: 16px 10px;
}
.schedule-day-abbr {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}
.schedule-card-body {
  flex: 1;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.schedule-class-name {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
}
.schedule-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.schedule-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.84rem;
  color: #555555;
}
.schedule-meta-item svg {
  flex-shrink: 0;
  color: #7c78e8;
}
.schedule-term-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c78e8;
  background: #f0eeff;
  border-radius: 999px;
  padding: 2px 10px;
  align-self: flex-start;
  margin-top: 2px;
}

/* ── Season Setup Gate ───────────────────────────────────────── */
.season-gate-header {
  text-align: center;
  padding: 40px 0 24px;
}
.season-gate-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #7c78e8;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.season-gate-header h1 {
  font-size: 2rem;
  color: #111111;
  margin-bottom: 10px;
}
.season-dancer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.season-dancer-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fafafa;
}
.season-dancer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #7c78e8;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.season-dancer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.season-dancer-info strong {
  font-size: 0.95rem;
  color: #111111;
}
.season-dancer-dob {
  font-size: 0.8rem;
  color: #888;
}
.season-dancer-check {
  font-size: 1.2rem;
  color: #7c78e8;
  font-weight: 700;
}

/* Checkbox version of dancer row (season setup) */
.season-dancer-row--check {
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.season-dancer-row--check:hover {
  background: #f0effe;
  border-color: #c5c0fb;
}
.season-dancer-checkbox {
  width: 20px !important;
  height: 20px !important;
  accent-color: #7c78e8;
  flex-shrink: 0;
  cursor: pointer;
}
.season-dancer-returning-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c78e8;
  white-space: nowrap;
}

/* Visually dim a dancer row when its checkbox is unchecked */
.season-dancer-row--check:has(.season-dancer-checkbox:not(:checked)) {
  opacity: 0.45;
  border-color: #ddd;
}
.season-dancer-row--check:has(.season-dancer-checkbox:not(:checked)) .season-dancer-returning-label {
  color: #aaa;
}

/* ── Schedule Page — Dancer-grouped table ───────────────────── */
.sched-dancer-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sched-dancer-section {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}
.sched-dancer-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.sched-dancer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #7c78e8;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sched-dancer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
  margin: 0;
  flex: 1;
}
.sched-class-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: #7c78e8;
  background: #f0eeff;
  border-radius: 999px;
  padding: 3px 10px;
}
.sched-class-table {
  width: 100%;
}
.sched-class-table-head {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.6fr;
  padding: 8px 22px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
}
.sched-class-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.6fr;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid #f5f5f5;
  gap: 8px;
}
.sched-class-row:last-child {
  border-bottom: none;
}
.sched-class-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111111;
}
.sched-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sched-day-cell {
  display: flex;
  align-items: center;
}
.sched-day-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}
.sched-time-cell {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}
.sched-season-cell {
  font-size: 0.8rem;
  color: #777;
}
.sched-cpy {
  color: #aaa;
}
@media (max-width: 600px) {
  .sched-class-table-head {
    display: none;
  }
  .sched-class-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 18px;
  }
  .sched-day-cell { margin-top: 4px; }
  .sched-time-cell::before { content: "Time: "; font-weight: 400; color: #aaa; }
  .sched-season-cell::before { content: "Season: "; font-weight: 400; color: #aaa; }
}

/* ── My Classes page ── */
.myclasses-days {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.myclasses-day {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}
.myclasses-day--today {
  border-color: #c5c0fb;
  box-shadow: 0 0 0 3px rgba(197,192,251,0.18);
}
.myclasses-day-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}
.myclasses-day--today .myclasses-day-header {
  background: rgba(197,192,251,0.08);
}
.myclasses-day-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.myclasses-day-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}
.myclasses-today-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c78e8;
  background: rgba(124,120,232,0.1);
  border-radius: 20px;
  padding: 2px 10px;
}
.myclasses-rows {
  display: flex;
  flex-direction: column;
}
.myclasses-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid #f5f5f5;
}
.myclasses-row:last-child {
  border-bottom: none;
}
.myclasses-dancer-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #c5c0fb;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.myclasses-info {
  flex: 1;
  min-width: 0;
}
.myclasses-class-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.myclasses-dancer-name {
  font-size: 0.78rem;
  color: #999;
  margin-top: 2px;
}
.myclasses-time {
  font-size: 0.85rem;
  color: #555;
  white-space: nowrap;
  font-weight: 500;
}

/* ─── SUMMER CAMP BANNER ─────────────────────────────────────── */

.summer-banner {
  background: #6d28d9;
  color: #fff;
  overflow: hidden;
  max-height: 500px;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  z-index: 50;
}

.summer-banner--hidden {
  max-height: 0;
}

.summer-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 14px;
}

.summer-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.summer-banner-title {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.summer-banner-close {
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 16px;
  transition: background 0.2s;
}

.summer-banner-close:hover {
  background: rgba(255,255,255,0.32);
}

.summer-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.summer-banner-item {
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.summer-banner-item strong {
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.summer-banner-item span {
  font-size: 0.78rem;
  opacity: 0.88;
  line-height: 1.4;
}

.summer-banner-footer {
  display: flex;
  justify-content: center;
}

.summer-banner-cta {
  display: inline-block;
  background: #fff;
  color: #6d28d9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 22px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s;
}

.summer-banner-cta:hover {
  background: #ede9fe;
}

.summer-banner-tab {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #6d28d9;
  color: #fff;
  border: none;
  padding: 5px 20px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 9999;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
  transition: background 0.2s;
}

.summer-banner-tab:hover {
  background: #7c3aed;
}

.summer-banner-tab[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .summer-banner-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .summer-banner-grid {
    grid-template-columns: 1fr;
  }
  .summer-banner-inner {
    padding: 14px 16px 12px;
  }
}

/* ─── SUMMER CAMP MODAL POPUP ────────────────────────────────── */

.summer-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 24, 48, 0.72);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: summerModalFadeIn 0.35s ease forwards;
}

.summer-modal-overlay.summer-modal--hidden {
  display: none;
}

.summer-modal-overlay.summer-modal--out {
  animation: summerModalFadeOut 0.3s ease forwards;
}

@keyframes summerModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes summerModalFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.summer-modal-box {
  background: #c5c0fb;
  color: #1e1830;
  border-radius: 12px;
  max-width: 680px;
  width: 100%;
  padding: 36px 36px 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: summerModalSlideIn 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

@keyframes summerModalSlideIn {
  from { transform: translateY(-24px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.summer-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(30, 24, 48, 0.12);
  border: none;
  color: #1e1830;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.summer-modal-close:hover {
  background: rgba(30, 24, 48, 0.22);
}

.summer-modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4c3d9a;
  margin-bottom: 8px;
}

.summer-modal-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1e1830;
  margin-bottom: 24px;
  line-height: 1.2;
}

.summer-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.summer-modal-item {
  background: rgba(255,255,255,0.45);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.summer-modal-item strong {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e1830;
  margin-bottom: 4px;
}

.summer-modal-item span {
  font-size: 0.82rem;
  color: #2d2457;
  line-height: 1.45;
}

.summer-modal-cta {
  display: block;
  text-align: center;
  background: #1e1830;
  color: #c5c0fb;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 24px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.summer-modal-cta:hover {
  background: #2d2457;
}

@media (max-width: 500px) {
  .summer-modal-box {
    padding: 28px 20px 24px;
  }
  .summer-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── SUMMER MODAL – SILHOUETTES & ACRO LEVELS ──────────────── */

.summer-modal-silhouettes {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(30,24,48,0.14);
}

.summer-modal-dancer {
  color: rgba(30,24,48,0.18);
  height: 80px;
  width: auto;
  flex-shrink: 0;
}

.summer-modal-dancer--leap {
  height: 56px;
  transform: translateY(4px);
}

.summer-modal-dancer--arabesque {
  height: 86px;
}

/* Acro levels inside the card */
.summer-modal-item--acro {
  grid-column: span 1;
}

.summer-modal-levels {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.summer-modal-level {
  display: flex;
  align-items: center;
  gap: 7px;
}

.summer-modal-level-badge {
  background: rgba(30,24,48,0.14);
  color: #1e1830;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.summer-modal-level span:last-child {
  font-size: 0.78rem;
  color: #2d2457;
}

@media (max-width: 500px) {
  .summer-modal-dancer--leap {
    display: none;
  }
}

.summer-modal-inquiry {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #2d2457;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.summer-modal-inquiry:hover {
  color: #1e1830;
}
