body {
  background: linear-gradient(180deg, var(--body-bg-start) 0%, var(--body-bg-mid) 50%, var(--body-bg-end) 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

.client-notice-center {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, #252020 0%, #493a35 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 18px 38px -24px rgba(var(--shadow-rgb), 0.65);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-notice-center-hiding {
  opacity: 0;
  transform: translateY(-10px);
}

.client-notice-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #252020;
  background: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}

.client-notice-content {
  min-width: 0;
}

.client-notice-item[hidden] {
  display: none;
}

.client-notice-eyebrow {
  display: block;
  margin-bottom: 0.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-notice-item h2 {
  margin: 0 0 0.2rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.client-notice-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  white-space: pre-line;
}

.client-notice-navigation {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  white-space: nowrap;
}

.client-notice-arrow {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}

.client-notice-arrow:hover,
.client-notice-arrow:focus-visible {
  color: #252020;
  background: #fff;
}

.client-notice-arrow:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.client-notice-count {
  min-width: 3.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  text-align: center;
}

.client-notice-close {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.client-notice-close:hover,
.client-notice-close:focus-visible {
  color: #252020;
  background: #fff;
}

.client-notice-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .client-notice-center {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding-right: 3.5rem;
  }

  .client-notice-navigation {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .client-notice-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
  }
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  position: relative;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.35), rgba(var(--accent-rgb), 0.35));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: visible;
  box-shadow: 0 10px 28px -18px rgba(var(--shadow-rgb), 0.45);
  border: 1px solid rgba(var(--primary-rgb), 0.35);
}

.avatar > img:not(.avatar-belt) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.avatar .avatar-belt {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 72% !important;
  height: auto !important;
  object-fit: contain !important;
  z-index: 2;
  pointer-events: none;
}

.avatar-xl {
  width: 96px;
  height: 96px;
}

.avatar-sm {
  width: 48px;
  height: 48px;
}

.avatar-sm .avatar-belt {
  bottom: -13px;
  width: 74% !important;
}

.avatar-xl .avatar-belt {
  bottom: -25px;
  width: 72% !important;
}

.cursor-pointer {
  cursor: pointer;
}

.hero-section {
  background: #262121;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 60px -35px rgba(var(--shadow-rgb), 0.4);
}

.hero-overlay {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.3) 55%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.55));
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--ink);
  box-shadow: 0 24px 48px -24px rgba(var(--shadow-rgb), 0.25);
}

.glass-card .text-white,
.glass-card.text-white {
  color: var(--ink) !important;
}

.glass-card .text-white-50,
.glass-card.text-white-50 {
  color: rgba(var(--muted-rgb), 0.65) !important;
}

.hero-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.6);
}

.text-muted {
  color: rgba(var(--muted-rgb), 0.6) !important;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 560px;
  margin-inline: auto;
}


.summary-pill {
  padding: 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18), rgba(var(--sun-rgb), 0.25));
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  color: var(--ink);
}

.summary-pill-square {
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
}

.summary-pill-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.summary-pill-value {
  display: block;
  font-weight: 700;
  font-size: 1.5rem;
}

.summary-pill-action {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.55), rgba(var(--accent-rgb), 0.5));
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  color: var(--ink) !important;
}

.summary-pill-action:hover,
.summary-pill-action:focus {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px -20px rgba(var(--primary-rgb), 0.4);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.65), rgba(var(--accent-rgb), 0.6));
  color: var(--ink) !important;
  outline: none;
}

.summary-pill-action:active {
  transform: translateY(0);
}

.summary-pill-action * {
  color: inherit !important;
}

.summary-pill-label,
.summary-pill-value {
  color: inherit;
}

.btn-panel {
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  border: 1px solid #000 !important;
  background: #fff !important;
  color: #000 !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  box-shadow: none;
}

.btn-panel:hover,
.btn-panel:focus {
  transform: translateY(-1px);
  background: #f8f9fa !important;
  color: #000 !important;
}

.btn-panel.active {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
  transform: translateY(-1px);
}

.btn-panel.active:hover,
.btn-panel.active:focus {
  color: #fff !important;
  background: #000 !important;
}

/* Ensure expanded toggle (aria-expanded="true") also goes black/white */
.btn-panel[aria-expanded="true"] {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

.btn-panel[aria-expanded="true"]:hover,
.btn-panel[aria-expanded="true"]:focus {
  background: #000 !important;
  color: #fff !important;
}

.btn-panel .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scanner-panel {
  max-width: 760px;
}

.scanner-panel input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.scanner-result {
  min-height: 0;
}

.scanner-result:not(:empty) {
  border-radius: 0.75rem;
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  padding: 0.85rem;
  background: #fff;
}

.scanner-result-info:not(:empty) {
  border-color: rgba(var(--primary-rgb), 0.35);
  background: rgba(var(--primary-rgb), 0.08);
}

.scanner-result-success:not(:empty) {
  border-color: rgba(25, 135, 84, 0.3);
  background: rgba(25, 135, 84, 0.08);
}

.scanner-result-warning:not(:empty) {
  border-color: rgba(255, 193, 7, 0.42);
  background: rgba(255, 193, 7, 0.12);
}

.scanner-result-danger:not(:empty) {
  border-color: rgba(220, 53, 69, 0.32);
  background: rgba(220, 53, 69, 0.08);
}

.scanner-result-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
}

.admin-qr-toast-stack {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(420px, calc(100vw - 2rem));
  pointer-events: none;
}

.admin-qr-toast {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 2px solid transparent;
  color: #111827;
  background: #fff;
  box-shadow: 0 24px 50px -28px rgba(15, 23, 42, 0.55);
  pointer-events: auto;
  animation: adminQrToastIn 0.22s ease-out;
}

.admin-qr-toast-success {
  border-color: #198754;
  background: #e9f7ef;
}

.admin-qr-toast-danger {
  border-color: #dc3545;
  background: #fdecef;
}

.admin-qr-toast-info {
  border-color: rgba(var(--primary-rgb), 0.35);
  background: #fff;
}

.admin-qr-toast.is-leaving {
  animation: adminQrToastOut 0.28s ease-in forwards;
}

.admin-qr-toast-link {
  cursor: pointer;
}

.admin-qr-toast-link:hover,
.admin-qr-toast-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 28px 56px -30px rgba(15, 23, 42, 0.68);
  outline: none;
}

.admin-qr-toast-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.18);
  flex: 0 0 auto;
}

.admin-qr-toast-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.admin-qr-toast-body strong {
  font-size: 1rem;
  line-height: 1.2;
}

.admin-qr-toast-body span,
.admin-qr-toast-body small {
  color: #374151;
  line-height: 1.25;
}

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

@keyframes adminQrToastOut {
  to {
    opacity: 0;
    transform: translateY(12px);
  }
}

.admin-qr-log-table tbody tr {
  border-left: 4px solid transparent;
}

.admin-qr-log-table tbody tr[data-payments-url] {
  cursor: pointer;
}

.admin-qr-log-table tbody tr[data-payments-url]:hover,
.admin-qr-log-table tbody tr[data-payments-url]:focus {
  filter: brightness(0.98);
  outline: 2px solid rgba(var(--primary-rgb), 0.24);
  outline-offset: -2px;
}

.admin-qr-log-client-link {
  color: inherit;
  text-decoration: none;
}

.admin-qr-log-client-link:hover,
.admin-qr-log-client-link:focus {
  color: inherit;
  text-decoration: none;
}

.admin-qr-log-row-paid {
  border-left-color: #198754 !important;
  background: rgba(25, 135, 84, 0.06);
}

.admin-qr-log-row-review {
  border-left-color: #dc3545 !important;
  background: rgba(220, 53, 69, 0.06);
}

.admin-qr-log-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.16);
  flex: 0 0 auto;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  background: rgba(var(--primary-rgb), 0.18);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-strong-black);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
}

.role-pill:hover {
  background: rgba(var(--primary-rgb), 0.28);
  border-color: rgba(var(--primary-rgb), 0.45);
}

.role-pill input[type="checkbox"] {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(var(--primary-rgb), 0.45);
  display: inline-block;
  position: relative;
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-right: 0.3rem;
}

.role-pill input[type="checkbox"]:checked {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.75), rgba(var(--accent-rgb), 0.75));
  border-color: transparent;
}

.role-pill input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 3px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.role-pill span {
  line-height: 1;
  color: inherit;
}

.card-entry-hidden {
  display: none !important;
}

.btn-section {
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  border: none;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.7), rgba(var(--accent-rgb), 0.65));
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 18px 35px -22px rgba(var(--primary-rgb), 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.btn-section:hover,
.btn-section:focus {
  transform: translateY(-2px);
  box-shadow: 0 25px 45px -25px rgba(var(--primary-rgb), 0.45);
  color: var(--ink);
}

.btn-section-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-strong);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  box-shadow: none;
}

.btn-section-outline:hover,
.btn-section-outline:focus {
  background: rgba(var(--primary-rgb), 0.18);
  color: var(--primary-strong);
}

.btn-section.active {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.85), rgba(var(--accent-rgb), 0.8));
  color: var(--ink);
  box-shadow: 0 25px 50px -22px rgba(var(--primary-rgb), 0.45);
}

.btn-section-outline.active {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.85), rgba(var(--accent-rgb), 0.8));
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 25px 50px -22px rgba(var(--primary-rgb), 0.45);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  font-size: 1.45rem;
}

.navbar {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.92), rgba(var(--accent-rgb), 0.92));
  box-shadow: 0 20px 45px -30px rgba(var(--shadow-rgb), 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: var(--surface) !important;
}

.navbar .navbar-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #ffffff !important;
  opacity: 0.85;
}

.navbar .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--surface);
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.navbar .btn-outline-light:hover,
.navbar .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar .navbar-toggler-icon {
  filter: brightness(1.2);
}

.navbar-login-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  border-color: #d1d5db !important;
  background: #fff !important;
  color: #000 !important;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.navbar-login-shortcut:hover,
.navbar-login-shortcut:focus {
  background: #f3f4f6 !important;
  border-color: #9ca3af !important;
  color: #000 !important;
}

.login-user-icon {
  width: 1.15rem;
  height: 1.15rem;
  border: 1.8px solid currentColor;
  border-radius: 999px;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}

.login-user-icon::before {
  content: "";
  position: absolute;
  width: 0.34rem;
  height: 0.34rem;
  border: 1.6px solid currentColor;
  border-radius: 999px;
  top: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
}

.login-user-icon::after {
  content: "";
  position: absolute;
  width: 0.58rem;
  height: 0.3rem;
  border: 1.6px solid currentColor;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom: 0;
  left: 50%;
  bottom: 0.18rem;
  transform: translateX(-50%);
}

@media (max-width: 991.98px) {
  .navbar-login-shortcut {
    height: 2.35rem;
    min-width: auto;
    padding: 0 0.75rem;
    font-size: 0.85rem;
  }
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* Ensure danger badges keep white text even if a theme overrides badge base color */
.badge.bg-danger {
  color: #fff !important;
}

/* Ensure warning badges can show white text when used as status labels */
.badge.bg-warning {
  color: #fff !important;
}

/* Light warning subtle → text white override when needed */
.badge.bg-warning-subtle {
  color: #fff !important;
}

/* Secondary subtle badges force white text */
.badge.bg-secondary-subtle {
  color: #fff !important;
}

/* Override: black navbar variant */
.navbar.bg-black {
  background-color: #000 !important;
  background-image: none !important;
  box-shadow: 0 12px 30px -22px rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.bg-black .navbar-brand,
.navbar.bg-black .nav-link {
  color: #fff !important;
  opacity: 1;
  font-weight: 600;
}

.navbar.bg-black .nav-link.active {
  color: #fff !important;
  font-weight: 800;
}

.navbar.bg-black .btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.navbar.bg-black .btn-outline-light:hover,
.navbar.bg-black .btn-outline-light:focus {
  color: #000;
  background: #fff;
  border-color: #fff;
}

.feature-card {
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -20px rgba(var(--primary-rgb), 0.45);
}


.experience-card {
  background: linear-gradient(140deg, rgba(var(--primary-rgb), 0.25), rgba(var(--accent-rgb), 0.25));
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -24px rgba(var(--primary-rgb), 0.38);
}

.class-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.class-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.7rem 1.2rem -0.8rem rgba(var(--primary-rgb), 0.35);
}

.timeline-day:not(:last-child) {
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(var(--primary-rgb), 0.35);
  margin-bottom: 1.5rem;
}

.border-dashed {
  border: 1px dashed rgba(var(--primary-rgb), 0.35) !important;
}

.pricing-card {
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.7rem 1.2rem -0.8rem rgba(var(--primary-rgb), 0.35);
}

.pricing-mini-card {
  border: 1px solid rgba(var(--primary-rgb), 0.25);
}

.pricing-mini-card:hover {
  box-shadow: 0 0.6rem 1rem -0.8rem rgba(var(--primary-rgb), 0.35);
}

.bonus-item {
  background: rgba(var(--primary-rgb), 0.18);
  border: 1px solid rgba(var(--primary-rgb), 0.28);
}

.payment-card {
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.payment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -26px rgba(var(--shadow-rgb), 0.25);
}

.payment-card-paid {
  border-color: rgba(34, 197, 94, 0.35);
}

.payment-card-pending {
  border-color: rgba(var(--accent-rgb), 0.4);
}

.client-hero-profile .avatar {
  flex: 0 0 auto;
}

.client-hero-profile > div:last-child {
  min-width: 0;
}

.client-hero-alerts {
  display: grid;
  gap: 0.5rem;
  max-width: 100%;
}

.client-pending-alert {
  border: 1px solid rgba(239, 68, 68, 0.55);
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.96), rgba(239, 68, 68, 0.88));
  box-shadow: 0 18px 34px -24px rgba(127, 29, 29, 0.8);
}

.client-pending-alert-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  background: rgba(127, 29, 29, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.client-pending-alert a {
  color: #fff;
}

.client-paused-alert {
  border: 1px solid rgba(245, 158, 11, 0.58);
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.96), rgba(245, 158, 11, 0.88));
  box-shadow: 0 18px 34px -24px rgba(120, 53, 15, 0.8);
}

.client-paused-alert-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  background: rgba(120, 53, 15, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.client-security-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.25rem;
  align-items: stretch;
}

.client-security-card,
.client-account-card {
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 24px 50px -36px rgba(15, 23, 42, 0.5);
}

.client-security-card {
  padding: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(17, 24, 39, 0.08), transparent 38%),
    linear-gradient(145deg, #ffffff, #f8fafc);
}

.client-security-card-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.client-security-icon {
  position: relative;
  flex: 0 0 auto;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
  background: #111827;
  box-shadow: 0 18px 34px -20px rgba(15, 23, 42, 0.8);
}

.client-security-icon::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 0.72rem;
  width: 1.48rem;
  height: 1.25rem;
  border: 0.22rem solid #fff;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.client-security-icon::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  bottom: 0.72rem;
  width: 1.95rem;
  height: 1.45rem;
  border-radius: 0.35rem;
  background: #fff;
}

.client-security-eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.client-security-card h3,
.client-account-card h3 {
  margin: 0;
  color: #111827;
  font-size: 1.45rem;
  font-weight: 850;
}

.client-security-card-header p {
  margin: 0.45rem 0 0;
  max-width: 34rem;
  color: #4b5563;
}

.client-security-form {
  display: grid;
  gap: 1rem;
}

.client-security-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.client-security-field {
  display: grid;
  gap: 0.45rem;
}

.client-security-field label {
  color: #111827;
  font-size: 0.82rem;
  font-weight: 800;
}

.client-security-field .form-control {
  border-radius: 0.95rem;
  border-color: #d1d5db;
  padding: 0.82rem 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.client-security-field .form-control:focus {
  border-color: #111827;
  box-shadow: 0 0 0 0.22rem rgba(17, 24, 39, 0.12);
}

.client-security-tip {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 0.85rem 0.95rem;
  background: #f9fafb;
  color: #4b5563;
  font-size: 0.88rem;
}

.client-security-tip-dot {
  flex: 0 0 auto;
  width: 0.58rem;
  height: 0.58rem;
  margin-top: 0.32rem;
  border-radius: 999px;
  background: #111827;
}

.client-security-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  background: #111827;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 18px 34px -24px rgba(15, 23, 42, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.client-security-submit:hover,
.client-security-submit:focus {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 22px 40px -24px rgba(15, 23, 42, 0.95);
}

.client-install-profile-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: #111827;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  box-shadow: 0 18px 34px -24px rgba(15, 23, 42, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.client-install-profile-button:hover,
.client-install-profile-button:focus {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 22px 40px -24px rgba(15, 23, 42, 0.95);
}

.client-account-card {
  padding: 1.25rem;
  background:
    linear-gradient(145deg, #111827, #1f2937);
  color: #fff;
}

.client-account-card .client-security-eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.client-account-card h3 {
  color: #fff;
}

.client-account-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.15rem 0;
}

.client-account-list div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
}

.client-account-list span {
  display: block;
  margin-bottom: 0.2rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-account-list strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.3;
  word-break: break-word;
}

.client-account-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

#profileSettingsAccordion .accordion-item,
#adminProfileSettingsAccordion .accordion-item {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

#profileSettingsAccordion .accordion-button,
#profileSettingsAccordion .accordion-button.collapsed,
#profileSettingsAccordion .accordion-button:not(.collapsed),
#adminProfileSettingsAccordion .accordion-button,
#adminProfileSettingsAccordion .accordion-button.collapsed,
#adminProfileSettingsAccordion .accordion-button:not(.collapsed) {
  background: #050505;
  color: #fff;
  box-shadow: none;
}

#profileSettingsAccordion .accordion-button,
#adminProfileSettingsAccordion .accordion-button {
  font-weight: 850;
  letter-spacing: -0.01em;
}

#profileSettingsAccordion .accordion-button::after,
#adminProfileSettingsAccordion .accordion-button::after {
  filter: invert(1) grayscale(1) brightness(2);
}

#profileSettingsAccordion .accordion-body,
#adminProfileSettingsAccordion .accordion-body {
  background: #fff;
  color: #111827;
}

#panelProfile .client-account-card,
#panelAdminProfile .client-account-card {
  height: auto;
  padding: 0.95rem;
  border-radius: 1rem;
}

#panelProfile .client-account-card h3,
#panelAdminProfile .client-account-card h3 {
  font-size: 1.05rem;
}

#panelProfile .client-account-list,
#panelAdminProfile .client-account-list {
  gap: 0.5rem;
  margin: 0.75rem 0;
}

#panelProfile .client-account-list div,
#panelAdminProfile .client-account-list div {
  padding: 0.65rem 0.75rem;
  border-radius: 0.8rem;
}

#panelProfile .client-account-card p {
  font-size: 0.8rem;
}

.admin-guide-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-guide-nav {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 1rem;
  background: #f9fafb;
}

.admin-guide-nav span {
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-guide-nav a {
  color: #111827;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.admin-guide-nav a:hover,
.admin-guide-nav a:focus {
  color: #0d6efd;
}

.admin-guide-nav a.is-active {
  color: #0d6efd;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.admin-guide-content {
  display: grid;
  gap: 1rem;
}

.admin-guide-intro {
  margin: 0;
}

.admin-guide-section {
  padding: 1.15rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 16px 35px -28px rgba(15, 23, 42, 0.5);
}

.admin-guide-section.is-hidden {
  display: none;
}

.admin-guide-section h3 {
  margin: 0 0 0.8rem;
  color: #111827;
  font-size: 1.08rem;
  font-weight: 900;
}

.admin-guide-section h4 {
  margin: 1rem 0 0.5rem;
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 850;
}

.admin-guide-section p {
  color: #374151;
  line-height: 1.65;
}

.admin-guide-section p:last-child {
  margin-bottom: 0;
}

.admin-guide-list {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
  color: #374151;
}

.admin-guide-list:last-child {
  margin-bottom: 0;
}

.admin-guide-code {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: #050505;
  color: #fff;
  overflow-x: auto;
  font-size: 0.84rem;
}

@media (max-width: 991.98px) {
  .client-security-layout {
    grid-template-columns: 1fr;
  }

  .admin-guide-layout {
    grid-template-columns: 1fr;
  }

  .admin-guide-nav {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .client-security-card,
  .client-account-card {
    border-radius: 1.05rem;
    padding: 1rem;
  }

  .client-security-card-header {
    gap: 0.85rem;
  }

  .client-security-icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.85rem;
  }

  .client-security-icon::before {
    left: 0.79rem;
    top: 0.58rem;
    width: 1.25rem;
    height: 1.05rem;
  }

  .client-security-icon::after {
    left: 0.6rem;
    bottom: 0.6rem;
    width: 1.65rem;
    height: 1.22rem;
  }

  .client-security-card h3,
  .client-account-card h3 {
    font-size: 1.2rem;
  }

  .client-security-card-header p {
    font-size: 0.9rem;
  }

  .client-security-field-grid {
    grid-template-columns: 1fr;
  }
}

.client-payment-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}

.client-payment-section-title span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111827;
}

.client-payment-section-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e5e7eb;
}

.client-payment-card {
  border-radius: 1.1rem;
  border-width: 1px;
  background: #fff;
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.45);
}

.client-payment-card.payment-card-paid {
  border-color: rgba(22, 163, 74, 0.45);
}

.client-payment-card.payment-card-pending {
  border-color: rgba(185, 28, 28, 0.45);
}

.client-payment-card .card-body {
  padding: 1.1rem;
}

.client-payment-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}

.client-payment-month {
  display: inline-flex;
  align-items: center;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.client-payment-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.client-payment-status.is-paid {
  background: #dcfce7;
  color: #166534;
}

.client-payment-status.is-pending {
  background: #fee2e2;
  color: #991b1b;
}

.client-payment-status.is-cancelled {
  background: #e5e7eb;
  color: #374151;
}

.client-payment-amount {
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: #111827;
}

.client-payment-detail {
  color: #4b5563;
  font-size: 0.92rem;
}

.client-payment-divider {
  margin: 2rem 0;
  border-color: #e5e7eb;
  opacity: 1;
}

.client-payment-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-radius: 1.2rem;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border: 1px solid #d1d5db;
  background: #fff;
  box-shadow: 0 18px 42px -32px rgba(0, 0, 0, 0.55);
}

.client-payment-hero.is-clear {
  border-color: rgba(22, 163, 74, 0.55);
  background: linear-gradient(145deg, #dcfce7, #f0fdf4);
}

.client-payment-hero.is-due {
  border-color: rgba(185, 28, 28, 0.55);
  background: linear-gradient(145deg, #fee2e2, #fff1f2);
}

.client-payment-eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-payment-hero h3 {
  margin: 0;
  color: #111827;
  font-size: 1.45rem;
  font-weight: 850;
}

.client-payment-hero p {
  margin: 0.35rem 0 0;
  color: #4b5563;
}

.client-payment-hero > strong {
  display: grid;
  place-items: center;
  min-width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 1.5rem;
}

.client-payment-hero.is-clear > strong {
  background: #15803d;
  color: #fff;
}

.client-payment-smile {
  position: relative;
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.client-payment-smile::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 0.38rem;
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0.68rem 0 0 currentColor;
}

.client-payment-smile::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  bottom: 0.38rem;
  width: 0.72rem;
  height: 0.42rem;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 999px 999px;
}

.client-payment-empty {
  border: 1px dashed #d1d5db;
  border-radius: 1rem;
  padding: 1rem;
  background: #f9fafb;
  color: #4b5563;
}

.client-payment-history-toggle {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 1rem;
}

.client-payment-history-toggle .btn {
  border-radius: 999px;
  padding-inline: 1rem;
  font-weight: 700;
}

.client-payment-subtitle {
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

@media (max-width: 575.98px) {
  .client-payment-card-head {
    align-items: flex-start;
  }

  .client-payment-amount {
    font-size: 1.75rem;
  }

  .client-payment-hero {
    align-items: flex-start;
    padding: 1rem;
  }

  .client-payment-hero h3 {
    font-size: 1.2rem;
  }

  .client-payment-hero p {
    font-size: 0.9rem;
  }

  .client-payment-hero > strong {
    min-width: 2.55rem;
    height: 2.55rem;
    font-size: 1.15rem;
  }
}

.schedule-table th {
  font-weight: 600;
  text-transform: capitalize;
  color: var(--ink);
  background: rgba(var(--accent-rgb), 0.2);
  border-bottom: 2px solid rgba(var(--primary-rgb), 0.25);
}

.schedule-table td {
  vertical-align: top;
  min-width: 120px;
  border-top: none;
  border-right: 1px solid rgba(var(--primary-rgb), 0.12);
  padding: 0.5rem 0.35rem;
}

.schedule-table td:last-child {
  border-right: none;
}

.schedule-nav {
  width: 0;
  vertical-align: middle !important;
  padding: 0 !important;
}

.schedule-nav .btn {
  border-radius: 999px;
  padding: 0.1rem 0.3rem;
  line-height: 1;
  min-width: auto;
}

.schedule-date {
  display: block;
  font-size: 0.75rem;
  color: rgba(var(--muted-rgb), 0.6);
  margin-top: 0.25rem;
}

.schedule-column {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.schedule-class-card {
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--sun-rgb), 0.2));
  padding: 0.5rem 0.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  display: block;
  text-align: left;
  cursor: pointer;
  color: inherit;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
}

.schedule-class-card.is-cancelled {
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.96), rgba(252, 165, 165, 0.8));
  border-color: rgba(185, 28, 28, 0.45);
  color: #7f1d1d;
}

.schedule-class-card.is-cancelled .schedule-class-time,
.schedule-class-card.is-cancelled .schedule-class-title,
.schedule-class-card.is-cancelled .schedule-class-meta {
  color: #7f1d1d;
}

.schedule-class-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -24px rgba(var(--shadow-rgb), 0.35);
}

.schedule-class-card.is-cancelled:hover {
  box-shadow: 0 14px 28px -24px rgba(185, 28, 28, 0.35);
}

.schedule-class-card:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.25);
}

.schedule-class-card.is-cancelled:focus {
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.35);
}

.schedule-class-time {
  font-weight: 600;
  color: var(--primary-strong);
}

.schedule-class-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.schedule-class-meta {
  font-size: 0.8rem;
}

/* Checkout payment toggle: force black/white colors and disable hover blue */
.payment-toggle {
  --bs-btn-color: #000;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #000;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #000;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #000;
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #fff;
  --bs-btn-disabled-border-color: #000;
  color: #000 !important;
  background-color: #fff !important;
  border-color: #000 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.btn-check:checked+.payment-toggle,
.btn-check:checked+.payment-toggle:hover,
.btn-check:checked+.payment-toggle:focus,
.btn-check:checked+.payment-toggle:active,
.payment-toggle.active {
  --bs-btn-color: #fff;
  --bs-btn-bg: #000;
  --bs-btn-border-color: #000;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #000;
  --bs-btn-hover-border-color: #000;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #000;
  --bs-btn-active-border-color: #000;
  color: #fff !important;
  background-color: #000 !important;
  border-color: #000 !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* Extra specificity to override theme hover/focus styles */
.btn-group .payment-toggle.btn-outline-primary,
.btn-group .payment-toggle.btn-outline-secondary,
.btn-group .payment-toggle.btn-outline-primary:hover,
.btn-group .payment-toggle.btn-outline-secondary:hover,
.btn-group .payment-toggle.btn-outline-primary:focus,
.btn-group .payment-toggle.btn-outline-secondary:focus,
.btn-group .payment-toggle.btn-outline-primary:active,
.btn-group .payment-toggle.btn-outline-secondary:active,
.btn-group .payment-toggle.btn-outline-primary.active,
.btn-group .payment-toggle.btn-outline-secondary.active {
  color: #000 !important;
  background-color: #fff !important;
  border-color: #000 !important;
  box-shadow: none !important;
}

.btn-check:checked+.payment-toggle.btn-outline-primary,
.btn-check:checked+.payment-toggle.btn-outline-secondary,
.btn-check:checked+.payment-toggle.btn-outline-primary:hover,
.btn-check:checked+.payment-toggle.btn-outline-secondary:hover,
.btn-check:checked+.payment-toggle.btn-outline-primary:focus,
.btn-check:checked+.payment-toggle.btn-outline-secondary:focus,
.btn-check:checked+.payment-toggle.btn-outline-primary:active,
.btn-check:checked+.payment-toggle.btn-outline-secondary:active,
.btn-check:checked+.payment-toggle.btn-outline-primary.active,
.btn-check:checked+.payment-toggle.btn-outline-secondary.active {
  color: #fff !important;
  background-color: #000 !important;
  border-color: #000 !important;
  box-shadow: none !important;
}

.metric-card {
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.14), rgba(var(--accent-rgb), 0.14));
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--muted-rgb), 0.6);
  margin-bottom: 0;
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0;
}

.metric-caption {
  margin-bottom: 0;
}

.progress-thin {
  height: 0.5rem;
  border-radius: 999px;
  background-color: rgba(var(--primary-rgb), 0.15);
}

.progress-thin .progress-bar {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.8), rgba(var(--accent-rgb), 0.8));
  border-radius: 999px;
}

.accordion-item {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 35px -22px rgba(var(--shadow-rgb), 0.18);
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
}

.accordion-flush .accordion-item {
  border: none;
  box-shadow: none;
  background: transparent;
  margin-bottom: 0.75rem;
}

.accordion-flush .accordion-button {
  border-radius: 0.75rem;
  box-shadow: 0 12px 30px -24px rgba(var(--shadow-rgb), 0.25);
}

.accordion-flush .accordion-button.collapsed {
  box-shadow: none;
}

.accordion-button {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 245, 255, 1) 100%);
  border: none;
  font-weight: 600;
  padding: 1.15rem 1.5rem;
  color: var(--ink);
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-strong);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(var(--accent-rgb), 0.12));
  box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.25);
}

.product-toggle {
  background: linear-gradient(135deg, #f7f7f7, #eeeeee);
  color: #111;
  border: 1px solid #d0d0d0;
}

.product-toggle.collapsed {
  background: linear-gradient(135deg, #fbfbfb, #f1f1f1);
  color: #1a1a1a;
  border-color: #dcdcdc;
}

.product-toggle:not(.collapsed) {
  background: linear-gradient(135deg, #e0e0e0, #cfcfcf);
  color: #0b0b0b;
  box-shadow: inset 0 0 0 1px #b5b5b5;
  border-color: #c3c3c3;
}

.product-toggle:hover {
  background: linear-gradient(135deg, #e8e8e8, #dcdcdc);
  color: #0b0b0b;
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.3);
}

.teacher-accordion .accordion-button {
  --bs-accordion-btn-icon: none;
  --bs-accordion-btn-active-icon: none;
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background-color: rgba(var(--primary-rgb), 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  content: "\25BC";
  font-size: 0.65rem;
  color: var(--primary-strong);
  transition: transform 0.2s ease, background 0.2s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  background-color: rgba(var(--primary-rgb), 0.25);
}

.accordion-button.day-toggle::after {
  content: "";
  background-image: none !important;
  border-width: 0.35rem 0.35rem 0 0.35rem;
  border-style: solid;
  border-color: var(--primary-strong) transparent transparent transparent;
  background: transparent;
}

.accordion-button.day-toggle {
  --bs-accordion-btn-icon: none;
  --bs-accordion-btn-active-icon: none;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 0.85rem;
  margin: 0.35rem 0;
}

.accordion-button.day-toggle:hover {
  background: rgba(var(--primary-rgb), 0.15);
}

.accordion-button.day-toggle:not(.collapsed)::after {
  transform: rotate(180deg);
  border-color: var(--primary-strong) transparent transparent transparent;
  background-image: none !important;
}

.accordion-button.day-toggle:not(.collapsed) {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18), rgba(var(--accent-rgb), 0.12));
  color: var(--primary-strong);
}

.accordion-flush .accordion-button {
  --bs-accordion-btn-icon: none;
  --bs-accordion-btn-active-icon: none;
}

.accordion-flush .accordion-button::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: auto;
  border-width: 0.35rem 0.35rem 0 0.35rem;
  border-style: solid;
  border-color: var(--primary-strong) transparent transparent transparent;
  background: transparent;
  background-image: none !important;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.accordion-flush .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  border-color: var(--primary-strong) transparent transparent transparent;
}

.accordion-body {
  background: rgba(255, 255, 255, 0.98);
  padding: 1.5rem;
}

.contact-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 20px 35px -28px rgba(0, 0, 0, 0.22);
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  box-shadow: 0 14px 24px -24px rgba(0, 0, 0, 0.3);
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-social-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 5rem;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  background: #ffffff;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 14px 24px -24px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.contact-social-card:hover,
.contact-social-card:focus {
  color: #111827;
  border-color: rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -24px rgba(0, 0, 0, 0.42);
}

.contact-social-handle {
  font-weight: 700;
  color: #111827;
  overflow-wrap: anywhere;
}

.contact-social-instagram {
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  flex: 0 0 auto;
}

.contact-social-instagram svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.contact-instagram-icon,
.contact-brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.contact-instagram-icon {
  background: #ffffff;
  overflow: hidden;
}

.contact-brand-mark {
  background: #ffffff;
  overflow: hidden;
}

.contact-instagram-icon img,
.contact-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
}

.contact-map {
  min-height: 280px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 0 1200px rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: #ffffff;
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: currentColor;
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .contact-socials {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
    min-height: 3rem;
    padding: 0.8rem;
  }

  .whatsapp-float span {
    display: none;
  }
}

.map-overlay {
  background: rgba(255, 255, 255, 0.96);
  padding: 1.5rem;
  border-radius: 1rem;
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  box-shadow: 0 20px 30px -28px rgba(0, 0, 0, 0.28);
}

.map-embed {
  width: 100%;
  min-height: 280px;
  height: 100%;
  border: 0;
  filter: none;
}

#contacto,
#contacto h1,
#contacto h2,
#contacto h3,
#contacto h4,
#contacto h5,
#contacto h6,
#contacto p,
#contacto span,
#contacto small,
#contacto strong {
  color: #000 !important;
  font-weight: 700 !important;
}

#contacto .badge {
  background: #e5e7eb !important;
  color: #000 !important;
  border: 1px solid #000;
}

.maestros-hero {
  background: linear-gradient(145deg, #ffffff 0%, #ededed 60%, #d4d4d8 100%);
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: 0 22px 40px -30px rgba(0, 0, 0, 0.35);
}

.maestros-chip {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  border: 1px solid #000000;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.maestros-subtitle {
  color: #111111;
  font-weight: 600;
  max-width: 56ch;
}

.maestros-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .maestros-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .maestros-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.maestro-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 30px -26px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.maestro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 36px -24px rgba(0, 0, 0, 0.4);
}

.maestro-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: none;
}

.maestro-body {
  padding: 1.1rem 1.2rem 1.25rem;
}

.maestro-body h2 {
  color: #000000;
}

.maestro-body p {
  color: #111111;
  font-weight: 600;
  margin: 0;
}

.maestro-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #525252 !important;
  font-weight: 700 !important;
}

.search-group .input-group-text {
  font-size: 1rem;
}

.search-group .form-control {
  border-radius: 0.75rem;
}

.search-group .form-control:focus {
  box-shadow: 0 0 0 0.1rem rgba(var(--primary-rgb), 0.3);
}

.btn-outline-primary.btn-sm {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

.client-card {
  display: block;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.client-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.6rem 1rem -0.8rem rgba(var(--primary-rgb), 0.35);
  text-decoration: none;
}

.alert-area .alert {
  border-radius: 0.85rem;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: #6378f2;
  border-color: #6378f2;
}

.badge.bg-primary-subtle {
  background-color: rgba(var(--black-rgb), 0.15) !important;
  color: var(--primary-strong) !important;
}

.badge.bg-danger-subtle {
  background-color: rgba(220, 38, 38, 0.12) !important;
  color: #b91c1c !important;
}

.badge.bg-success-subtle {
  background-color: rgba(34, 197, 94, 0.12) !important;
  color: #15803d !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.text-primary {
  color: var(--primary-strong) !important;
}

.text-primary-black {
  color: var(--primary-bg) !important;
}

.jb-watermark {
  position: fixed;
  right: 0.45rem;
  bottom: 0.4rem;
  z-index: 1040;
  font-size: 0.56rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.4);
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.jb-watermark:hover,
.jb-watermark:focus {
  color: rgba(0, 0, 0, 0.62);
  opacity: 0.8;
}

.app-install-prompt {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1070;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  width: min(420px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 55px -30px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(14px);
}

.app-install-icon {
  width: 46px;
  height: 46px;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #050505;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-install-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-install-body strong {
  color: #111827;
  font-size: 0.98rem;
  font-weight: 900;
}

.app-install-body p {
  margin: 0.2rem 0 0.65rem;
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.4;
}

.app-install-ios-steps {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  color: #374151;
  font-size: 0.86rem;
}

.app-install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Home presentation style (calendar + seminars) */
.home-install-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #050505 0%, #1f2937 100%);
  color: #fff;
  box-shadow: 0 22px 50px -34px rgba(15, 23, 42, 0.8);
}

.home-install-card span {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-install-card h1 {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 900;
}

.home-install-card p {
  max-width: 560px;
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.home-install-button {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: #fff;
  color: #050505;
  padding: 0.7rem 1.15rem;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-install-button:hover,
.home-install-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px -22px rgba(255, 255, 255, 0.7);
}

.home-section-shell {
  position: relative;
  margin-top: 0.75rem;
}

.home-section-offset {
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.home-section-inner {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  border: 2px solid #000;
  padding: 1.1rem;
  box-shadow: 0 18px 32px -28px rgba(0, 0, 0, 0.45);
}

.home-section-head {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 0.8rem;
  margin-bottom: 0.95rem !important;
}

.home-section-chip {
  display: inline-block;
  padding: 0.33rem 0.8rem;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.home-section-title {
  color: #000;
  font-size: clamp(1.15rem, 1.1rem + 0.4vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.home-head-action {
  border-radius: 0.25rem;
  border: 1px solid #000 !important;
  color: #000 !important;
  background: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-head-action:hover,
.home-head-action:focus {
  background: #000 !important;
  color: #fff !important;
}

#calendario.home-section-shell .schedule-table th {
  background: #000 !important;
  color: #fff !important;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

#calendario.home-section-shell .schedule-table th:last-child {
  border-right: none;
}

#calendario.home-section-shell .schedule-table td {
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #f3f4f6;
}

#calendario.home-section-shell .schedule-column {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 0.4rem;
  padding: 0.35rem;
}

#calendario.home-section-shell .schedule-class-card {
  border-radius: 0.45rem;
  background: linear-gradient(145deg, #ffffff 0%, #ededed 100%);
  border: 1px solid rgba(0, 0, 0, 0.24);
  box-shadow: none;
}

#calendario.home-section-shell .schedule-class-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -20px rgba(0, 0, 0, 0.55);
}

#calendario.home-section-shell .schedule-class-time {
  color: #000;
  font-weight: 700;
}

#calendario.home-section-shell .schedule-class-title {
  color: #000;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#calendario.home-section-shell .schedule-class-meta {
  color: #111827;
  font-weight: 600;
}

#calendario.home-section-shell .schedule-class-card.is-cancelled {
  background: linear-gradient(145deg, #fca5a5 0%, #ef4444 100%);
  border-color: #991b1b;
}

#calendario.home-section-shell .schedule-class-card.is-cancelled .schedule-class-time,
#calendario.home-section-shell .schedule-class-card.is-cancelled .schedule-class-title,
#calendario.home-section-shell .schedule-class-card.is-cancelled .schedule-class-meta {
  color: #fff;
}

.home-calendar-note {
  font-weight: 700;
  color: #000 !important;
}

.home-empty-state {
  border: 1px dashed #000;
  background: #f5f5f5;
  color: #111;
  font-weight: 700;
}

.home-seminar-card {
  border: 1px solid rgba(0, 0, 0, 0.16) !important;
  border-radius: 0.8rem;
  box-shadow: 0 18px 26px -28px rgba(0, 0, 0, 0.35) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
}

.home-seminar-card .card-body h3 {
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.home-seminar-card .text-muted,
.home-seminar-card .small {
  color: #111 !important;
  font-weight: 600;
}

.home-soul-shell {
  position: relative;
}

.home-soul-inner {
  border: 2px solid #000;
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 56%, #e5e7eb 100%);
  padding: 1.25rem;
  box-shadow: 0 20px 28px -26px rgba(0, 0, 0, 0.45);
}

.home-soul-title {
  color: #000;
  font-size: clamp(1.3rem, 1.15rem + 0.65vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 22ch;
}

.home-soul-text {
  color: #111;
  font-weight: 600;
  max-width: 60ch;
}

.home-soul-quote {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid #000;
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-soul-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.82rem;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-soul-link:hover,
.home-soul-link:focus {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

.home-soul-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.home-soul-card {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, #ffffff 0%, #f3f4f6 100%);
  padding: 0.85rem 0.9rem;
}

.home-soul-card-kicker {
  color: #525252;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.home-soul-card-title {
  color: #000;
  font-size: 1.03rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.home-soul-card-text {
  color: #111;
  font-weight: 600;
  font-size: 0.9rem;
}

.home-license-shell {
  position: relative;
}

.home-license-inner {
  border: 2px solid #000;
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 56%, #e5e7eb 100%);
  color: #000;
  padding: 1.25rem;
  box-shadow: 0 20px 28px -26px rgba(0, 0, 0, 0.45);
}

.home-license-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-license-logo {
  width: 82px;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  padding: 0.35rem;
}

.home-license-title {
  color: #000;
  font-size: clamp(1.3rem, 1.15rem + 0.65vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 24ch;
}

.home-license-text {
  color: #111;
  font-weight: 600;
  max-width: 62ch;
}

.home-license-required {
  border-left: 4px solid #000;
  background: rgba(255, 255, 255, 0.86);
  color: #000;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 0.7rem 0.85rem;
  text-transform: uppercase;
  max-width: 62ch;
}

.home-license-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.88rem;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-license-link:hover,
.home-license-link:focus {
  background: #fff;
  color: #000;
  transform: translateY(-1px);
}

.home-license-link-outline {
  background: #fff;
  color: #000;
}

.home-license-link-outline:hover,
.home-license-link-outline:focus {
  background: #000;
  color: #fff;
}

.home-license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.home-license-card {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, #ffffff 0%, #f3f4f6 100%);
  padding: 0.9rem;
}

.home-license-price-card {
  position: relative;
  overflow: hidden;
  border: 2px solid #000;
  background: #fff;
  min-height: 128px;
}

.home-license-price-card-featured {
  background: #000;
  color: #fff;
}

.home-license-price-card-featured .home-license-card-kicker,
.home-license-price-card-featured .home-license-card-text,
.home-license-price-card-featured .home-license-price-label,
.home-license-price-card-featured .home-license-price,
.home-license-price-card-featured .home-license-currency {
  color: #fff;
}

.home-license-price-label {
  color: #111;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-license-price-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.18rem;
  line-height: 0.9;
}

.home-license-price {
  color: #000;
  font-size: clamp(3rem, 2.4rem + 2vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.home-license-currency {
  color: #000;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
}

.home-license-card-note {
  border-color: rgba(0, 0, 0, 0.32);
  background: rgba(255, 255, 255, 0.8);
}

.home-license-card-kicker {
  color: #525252;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
}

.home-license-card-title {
  color: #000;
  font-size: 1.03rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.home-license-card-text {
  color: #111;
  font-weight: 600;
  font-size: 0.9rem;
}

.home-gallery-note {
  font-weight: 600;
}

.home-gallery-marquee {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  padding: 0.7rem;
}

.home-gallery-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: homeGalleryLoop 42s linear infinite;
}

.home-gallery-track.is-static {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  animation: none;
}

.home-gallery-marquee:hover .home-gallery-track {
  animation-play-state: paused;
}

.home-gallery-marquee:focus-within .home-gallery-track,
.home-gallery-marquee:active .home-gallery-track {
  animation-play-state: paused;
}

.home-gallery-item {
  width: 300px;
  height: 460px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.home-gallery-item img,
.home-gallery-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-gallery-tag {
  display: none !important;
}

.home-clothing-marquee {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  padding: 0.7rem;
}

.home-clothing-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: homeGalleryLoop 42s linear infinite;
}

.home-clothing-track.is-static {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  animation: none;
}

.home-clothing-marquee:hover .home-clothing-track,
.home-clothing-marquee:focus-within .home-clothing-track,
.home-clothing-marquee:active .home-clothing-track {
  animation-play-state: paused;
}

.home-clothing-item {
  width: 300px;
  height: 460px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.home-clothing-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-clothing-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.96) 42%);
  color: #111827;
}

.home-clothing-info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.home-clothing-price {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.home-clothing-description {
  margin: 0.25rem 0 0;
  color: #4b5563;
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Admin monochrome guardrails: force black/gray UI in admin panels */
#adminAccordion #panelClients #clientsAccordion .accordion-button {
  background: #f3f4f6 !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.85rem !important;
  box-shadow: none !important;
}

#adminAccordion #panelClients #clientsAccordion .accordion-button:hover,
#adminAccordion #panelClients #clientsAccordion .accordion-button:focus {
  background: #e5e7eb !important;
  color: #0f172a !important;
}

#adminAccordion #panelClients #clientsAccordion .accordion-button:not(.collapsed) {
  background: #111827 !important;
  color: #f9fafb !important;
  border-color: #111827 !important;
}

#adminAccordion #panelClients #clientsAccordion .accordion-button::after {
  filter: invert(25%) !important;
}

#adminAccordion #panelClients #clientsAccordion .accordion-button:not(.collapsed)::after {
  filter: invert(95%) !important;
}

#adminAccordion #panelPayments #payments-client-list .list-group-item {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #e5e7eb !important;
}

#adminAccordion #panelPayments #payments-client-list {
  max-height: min(60vh, 34rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 0.25rem;
}

#adminAccordion #panelPayments #payments-client-list .list-group-item:hover,
#adminAccordion #panelPayments #payments-client-list .list-group-item:focus {
  background: #e5e7eb !important;
  color: #0b1324 !important;
}

#adminAccordion #panelPayments #payments-client-list .list-group-item.active {
  background: #111827 !important;
  color: #f9fafb !important;
  border-color: #111827 !important;
}

#adminAccordion #panelPayments #payments-client-list .list-group-item.active .small {
  color: rgba(229, 231, 235, 0.92) !important;
}

#adminAccordion #panelPayments .glass-card .form-label,
#adminAccordion #panelPayments .glass-card h3 {
  color: #111827 !important;
}

#adminAccordion #panelClasses .schedule-table th {
  background: #000 !important;
  color: #f9fafb !important;
  border-bottom: 2px solid #000 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

#adminAccordion #panelClasses .schedule-table th:last-child {
  border-right: none;
}

#adminAccordion #panelClasses .schedule-date {
  color: rgba(229, 231, 235, 0.95) !important;
}

#adminAccordion #panelClasses .schedule-table td {
  background: #f3f4f6;
  border-right: 1px solid #d1d5db;
}

#adminAccordion #panelClasses .schedule-column {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  padding: 0.35rem;
}

#adminAccordion #panelClasses .schedule-class-card {
  background: linear-gradient(145deg, #374151 0%, #4b5563 100%) !important;
  border: 1px solid #111827 !important;
  color: #f9fafb !important;
  box-shadow: none;
}

#adminAccordion #panelClasses .schedule-class-card:hover {
  box-shadow: 0 12px 24px -20px rgba(0, 0, 0, 0.55) !important;
}

#adminAccordion #panelClasses .schedule-class-time,
#adminAccordion #panelClasses .schedule-class-title,
#adminAccordion #panelClasses .schedule-class-meta {
  color: #f9fafb !important;
}

#adminAccordion #panelClasses .schedule-class-card.is-cancelled {
  background: linear-gradient(145deg, #fecaca 0%, #fca5a5 100%) !important;
  border-color: #991b1b !important;
  color: #7f1d1d !important;
}

#adminAccordion #panelClasses .schedule-class-card.is-cancelled .schedule-class-time,
#adminAccordion #panelClasses .schedule-class-card.is-cancelled .schedule-class-title,
#adminAccordion #panelClasses .schedule-class-card.is-cancelled .schedule-class-meta {
  color: #7f1d1d !important;
}

#agendaAccordion #panelSchedule .schedule-table th {
  background: #000 !important;
  color: #f9fafb !important;
  border-bottom: 2px solid #000 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

#agendaAccordion #panelSchedule .schedule-table th:last-child {
  border-right: none;
}

#agendaAccordion #panelSchedule .schedule-date {
  color: rgba(229, 231, 235, 0.95) !important;
}

#agendaAccordion #panelSchedule .schedule-table td {
  background: #f3f4f6;
  border-right: 1px solid #d1d5db;
}

#agendaAccordion #panelSchedule .schedule-column {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  padding: 0.35rem;
}

#agendaAccordion #panelSchedule .schedule-class-card {
  background: linear-gradient(145deg, #374151 0%, #4b5563 100%) !important;
  border: 1px solid #111827 !important;
  color: #f9fafb !important;
  box-shadow: none;
}

#agendaAccordion #panelSchedule .schedule-class-card:hover {
  box-shadow: 0 12px 24px -20px rgba(0, 0, 0, 0.55) !important;
}

#agendaAccordion #panelSchedule .schedule-class-time,
#agendaAccordion #panelSchedule .schedule-class-title,
#agendaAccordion #panelSchedule .schedule-class-meta {
  color: #f9fafb !important;
}

#agendaAccordion #panelSchedule .schedule-class-card.is-cancelled {
  background: linear-gradient(145deg, #fecaca 0%, #fca5a5 100%) !important;
  border-color: #991b1b !important;
  color: #7f1d1d !important;
}

#agendaAccordion #panelSchedule .schedule-class-card.is-cancelled .schedule-class-time,
#agendaAccordion #panelSchedule .schedule-class-card.is-cancelled .schedule-class-title,
#agendaAccordion #panelSchedule .schedule-class-card.is-cancelled .schedule-class-meta {
  color: #7f1d1d !important;
}

.home-gallery-item-add {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(
    45deg,
    #fafafa 0 12px,
    #f2f2f2 12px 24px
  );
}

.home-gallery-placeholder {
  display: grid;
  gap: 0.35rem;
  text-align: center;
  width: calc(100% - 1.4rem);
  padding: 0.8rem;
  border: 1px dashed #000;
  background: rgba(255, 255, 255, 0.85);
}

.home-gallery-placeholder strong {
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-gallery-placeholder span {
  font-size: 0.74rem;
  color: #111;
  font-weight: 600;
}

.home-instagram-marquee {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  padding: 0.7rem;
}

.home-instagram-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: homeInstagramLoop 42s linear infinite;
}

.home-instagram-track.is-static {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  animation: none;
}

.home-instagram-marquee:hover .home-instagram-track {
  animation-play-state: paused;
}

.home-instagram-marquee:focus-within .home-instagram-track,
.home-instagram-marquee:active .home-instagram-track {
  animation-play-state: paused;
}

.home-instagram-item {
  width: 340px;
  height: 600px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  overflow: hidden;
  flex: 0 0 auto;
}

.home-instagram-item iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.gallery-upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gallery-upload-preview-item {
  width: 112px;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gallery-upload-preview-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.gallery-upload-preview-item video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.gallery-upload-preview-item figcaption {
  font-size: 0.7rem;
  line-height: 1.25;
  color: #4b5563;
  word-break: break-word;
}

.gallery-admin-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.home-youtube-feature {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  padding: 0.7rem;
}

.home-youtube-frame {
  width: min(100%, 980px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  overflow: hidden;
  margin-inline: auto;
}

.home-youtube-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

/* Admin dashboard summary pills: lock gray style */
.admin-summary-grid .summary-pill,
.admin-summary-grid .summary-pill-action {
  background: linear-gradient(145deg, rgba(203, 213, 225, 0.34), rgba(148, 163, 184, 0.34)) !important;
  border: 1px solid rgba(203, 213, 225, 0.52) !important;
  color: #f3f4f6 !important;
}

.admin-summary-grid .summary-pill-action:hover,
.admin-summary-grid .summary-pill-action:focus {
  background: linear-gradient(145deg, rgba(229, 231, 235, 0.38), rgba(156, 163, 175, 0.42)) !important;
  border-color: rgba(229, 231, 235, 0.62) !important;
  box-shadow: 0 18px 30px -24px rgba(0, 0, 0, 0.52) !important;
  color: #f9fafb !important;
}

.admin-summary-grid .summary-pill-label {
  color: rgba(229, 231, 235, 0.84) !important;
}

.admin-summary-grid .summary-pill-value {
  color: #f9fafb !important;
}

/* Client portal summary pills: keep same gray style */
.client-summary-grid .summary-pill,
.client-summary-grid .summary-pill-action {
  background: linear-gradient(145deg, rgba(203, 213, 225, 0.34), rgba(148, 163, 184, 0.34)) !important;
  border: 1px solid rgba(203, 213, 225, 0.52) !important;
  color: #f3f4f6 !important;
}

.client-summary-grid .summary-pill-action:hover,
.client-summary-grid .summary-pill-action:focus {
  background: linear-gradient(145deg, rgba(229, 231, 235, 0.38), rgba(156, 163, 175, 0.42)) !important;
  border-color: rgba(229, 231, 235, 0.62) !important;
  box-shadow: 0 18px 30px -24px rgba(0, 0, 0, 0.52) !important;
  color: #f9fafb !important;
}

.client-summary-grid .summary-pill-label {
  color: rgba(229, 231, 235, 0.84) !important;
}

.client-summary-grid .summary-pill-value {
  color: #f9fafb !important;
}

@media (max-width: 575.98px) {
  .client-summary-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .client-summary-grid .summary-pill,
  .client-summary-grid .summary-pill-action {
    width: 100%;
  }
}

@keyframes homeGalleryLoop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.425rem));
  }
}

@keyframes homeInstagramLoop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.425rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-track {
    animation: none;
  }

  .home-instagram-track {
    animation: none;
  }
}

@media (max-width: 767.98px) {
  .home-gallery-track {
    animation-duration: 30s;
  }

  .home-gallery-item {
    width: 240px;
    height: 360px;
  }

  .home-instagram-track {
    animation-duration: 30s;
  }

  .home-instagram-item {
    width: 280px;
    height: 520px;
  }

  .home-section-offset {
    display: none;
  }

  .home-section-inner {
    padding: 0.9rem;
  }

  .home-soul-inner {
    padding: 1rem;
  }

  .home-soul-title {
    max-width: 100%;
  }

  .home-license-inner {
    padding: 1rem;
  }

  .home-license-title {
    max-width: 100%;
  }

  .home-license-logo {
    width: 68px;
    max-height: 68px;
  }

  .home-license-grid {
    grid-template-columns: 1fr;
  }
}
