/**
 * Manso Orgullo — Dashboard Styles
 * Sigue Sistema_de_diseño.md + referencia manso-orgullo-dashboard.html
 *
 * Prefijo: .mo-dash (wrapper en cada template)
 * Selectores de alta especificidad al final para overrides de Tutor LMS
 */

/* ═══════════════════════════════════════════════
   0. FONT IMPORT
   ═══════════════════════════════════════════════ */
/* Fonts are loaded globally by the site — no @import needed */

/* ═══════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════════ */
:root {
  /* Fondos e ink */
  --bg:         var(--e-global-color-mo4d5e6f, #F4F1EC);
  --ink:        var(--e-global-color-mo2b3c4d, #0E0E10);
  --ink-soft:   rgba(14,14,16,0.72);
  --ink-dim:    rgba(14,14,16,0.5);
  --ink-faint:  rgba(14,14,16,0.38);
  --line:       rgba(14,14,16,0.14);
  --hairline:   rgba(14,14,16,0.08);
  --card:       #FFFFFF;

  /* Plasma */
  --magenta:    var(--e-global-color-mo0d1e2f, #FF3DA8);
  --violet:     var(--e-global-color-mo9c0d1e, #7A4DFF);
  --cyan:       var(--e-global-color-mo1e2f3a, #34E7E4);
  --plasma:     linear-gradient(120deg, #FF3DA8 0%, #7A4DFF 50%, #34E7E4 100%);
  --glow:       255, 61, 168;

  /* Tipografía */
  --display:    "Plus Jakarta Sans", system-ui, sans-serif;
  --body:       "Plus Jakarta Sans", system-ui, sans-serif;
  --mono:       "JetBrains Mono", ui-monospace, monospace;
  --italic:     "Instrument Serif", "Times New Roman", serif;
}

/* ═══════════════════════════════════════════════
   2. MESH BACKGROUND
   Contenido dentro de .mo-dash con position absolute,
   NO fixed, para que no tape el footer ni el sidebar.
   ═══════════════════════════════════════════════ */
.mo-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  max-height: 800px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.mo-mesh-gradients {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 8% 12%, rgba(255,61,168,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 45% 50% at 92% 8%, rgba(122,77,255,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 85% 95%, rgba(52,231,228,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 18% 92%, rgba(255,61,168,0.10) 0%, transparent 60%);
  filter: blur(60px);
}

.mo-mesh-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 55%, transparent 0%, rgba(244,241,236,0.6) 65%, rgba(244,241,236,0.92) 100%);
}

.mo-mesh-grain {
  position: absolute;
  inset: 0;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* ═══════════════════════════════════════════════
   3. BASE / PAGE
   ═══════════════════════════════════════════════ */
.mo-dash {
  position: relative;
  z-index: 1;
  font-family: var(--body) !important;
  color: #0E0E10 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  min-height: 200px;
}

.mo-dash *,
.mo-dash *::before,
.mo-dash *::after {
  box-sizing: border-box;
}

.mo-dash ::selection {
  background: var(--magenta);
  color: #fff;
}

.mo-dash a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════
   4. TYPOGRAPHY
   ═══════════════════════════════════════════════ */
/* Page title — H1 with optional italic dot */
.mo-dash .mo-title,
.mo-dash h1.mo-title {
  margin: 0 0 28px !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
  font-size: clamp(36px, 4.5vw, 56px) !important;
  color: #0E0E10 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

.mo-dash .mo-title em {
  font-family: "Instrument Serif", "Times New Roman", serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: rgba(14,14,16,0.72) !important;
}

.mo-dash .mo-title .dot {
  color: #FF3DA8 !important;
}

/* Section subtitle */
.mo-dash .mo-subtitle,
.mo-dash h2.mo-subtitle,
.mo-dash h3.mo-subtitle {
  margin: 0 0 18px !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 28px !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  color: #0E0E10 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

/* Eyebrow / chip mono */
.mo-dash .mo-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mo-dash .mo-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(var(--glow), 0.7);
}

/* Breadcrumb */
.mo-dash .mo-breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mo-dash .mo-breadcrumb .sep {
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════
   5. SURFACE / CARD
   ═══════════════════════════════════════════════ */
.mo-dash .mo-surface {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(14,14,16,0.04),
    0 30px 60px -30px rgba(14,14,16,0.22);
}

/* ═══════════════════════════════════════════════
   6. STAT CARDS
   ═══════════════════════════════════════════════ */
.mo-dash .mo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mo-dash .mo-stat {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 32px 28px 30px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 1px 0 rgba(14,14,16,0.03);
}

.mo-dash .mo-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(14,14,16,0.18);
  box-shadow:
    0 1px 0 rgba(14,14,16,0.04),
    0 30px 60px -34px rgba(14,14,16,0.30);
}

.mo-dash .mo-stat-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mo-dash .mo-stat-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(14,14,16,0.04);
  color: var(--ink);
  border: 1px solid var(--hairline);
}

.mo-dash .mo-stat-ico i,
.mo-dash .mo-stat-ico .ph {
  font-size: 22px;
  color: inherit;
  line-height: 1;
}

.mo-dash .mo-stat-num {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-size: 64px;
  color: var(--ink);
  margin: 6px 0 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: center;
}

.mo-dash .mo-stat-num .currency {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: -0.02em;
  transform: translateY(-12px);
}

.mo-dash .mo-stat-label {
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}

/* Plasma-accented variants */
.mo-dash .mo-stat.accent-magenta .mo-stat-ico {
  background: rgba(255,61,168,0.10);
  color: var(--magenta);
  border-color: rgba(255,61,168,0.25);
}

.mo-dash .mo-stat.accent-violet .mo-stat-ico {
  background: rgba(122,77,255,0.10);
  color: var(--violet);
  border-color: rgba(122,77,255,0.25);
}

.mo-dash .mo-stat.accent-cyan .mo-stat-ico {
  background: rgba(52,231,228,0.14);
  color: #0aa5a3;
  border-color: rgba(52,231,228,0.35);
}

/* ═══════════════════════════════════════════════
   7. SECTIONS
   ═══════════════════════════════════════════════ */
.mo-dash .mo-section {
  margin-top: 36px;
}

.mo-dash .mo-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.mo-dash .mo-section-header .mo-subtitle {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   8. CTA BUTTONS
   ═══════════════════════════════════════════════ */
/* Primary pill */
.mo-dash .mo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: transform 220ms ease, box-shadow 220ms ease;
  text-decoration: none;
  line-height: 1.25;
}

.mo-dash .mo-btn-primary {
  background: var(--magenta);
  color: #fff;
  padding: 11px 22px;
  box-shadow: 0 0 0 1px rgba(14,14,16,0.04);
}

.mo-dash .mo-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--magenta), 0 12px 32px -12px rgba(var(--glow), 0.7);
  color: #fff;
}

/* Dark CTA */
.mo-dash .mo-btn-dark {
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
}

.mo-dash .mo-btn-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -14px rgba(14,14,16,0.45);
  color: var(--bg);
}

.mo-dash .mo-btn-dark .plus {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--plasma);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* Ghost / outline */
.mo-dash .mo-btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding: 10px 18px;
  border: 1px solid var(--line);
}

.mo-dash .mo-btn-ghost:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  background: rgba(255,61,168,0.04);
}

/* Link-style */
.mo-dash .mo-link {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: rgba(122,77,255,0.35);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 180ms ease;
}

.mo-dash .mo-link:hover {
  color: var(--magenta);
  text-decoration-color: rgba(255,61,168,0.35);
}

/* ═══════════════════════════════════════════════
   9. TABLES
   ═══════════════════════════════════════════════ */
.mo-dash .mo-table-wrap {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(14,14,16,0.04),
    0 30px 60px -30px rgba(14,14,16,0.22);
}

.mo-dash .mo-table {
  width: 100%;
  border-collapse: collapse;
}

.mo-dash .mo-table thead {
  background: rgba(14,14,16,0.02);
}

.mo-dash .mo-table thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 14px 22px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
}

.mo-dash .mo-table tbody td {
  font-size: 15px;
  color: var(--ink);
  padding: 16px 22px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}

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

.mo-dash .mo-table tbody tr {
  transition: background 180ms ease;
}

.mo-dash .mo-table tbody tr:hover {
  background: rgba(14,14,16,0.02);
}

.mo-dash .mo-table a {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: rgba(122,77,255,0.35);
  text-underline-offset: 2px;
  font-weight: 500;
}

.mo-dash .mo-table a:hover {
  color: var(--magenta);
}

.mo-dash .mo-table__empty {
  text-align: center;
  padding: 44px 22px !important;
  color: var(--ink-faint);
}

/* ═══════════════════════════════════════════════
   10. INPUTS / FORMS
   ═══════════════════════════════════════════════ */
.mo-dash .mo-input,
.mo-dash input[type="text"],
.mo-dash input[type="email"],
.mo-dash input[type="password"],
.mo-dash input[type="number"],
.mo-dash input[type="tel"],
.mo-dash input[type="url"],
.mo-dash textarea,
.mo-dash select {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  width: 100%;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  letter-spacing: -0.005em;
  outline: none;
}

.mo-dash .mo-input:hover,
.mo-dash input:hover,
.mo-dash textarea:hover,
.mo-dash select:hover {
  border-color: rgba(14,14,16,0.28);
}

.mo-dash .mo-input:focus,
.mo-dash input:focus,
.mo-dash textarea:focus,
.mo-dash select:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(255,61,168,0.12);
}

.mo-dash .mo-input::placeholder,
.mo-dash input::placeholder,
.mo-dash textarea::placeholder {
  color: var(--ink-faint);
}

.mo-dash .mo-form-label,
.mo-dash label {
  display: block;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.mo-dash .mo-form-group {
  margin-bottom: 22px;
}

.mo-dash .mo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ═══════════════════════════════════════════════
   11. PROGRESS BAR
   ═══════════════════════════════════════════════ */
.mo-dash .mo-progress {
  height: 6px;
  background: rgba(14,14,16,0.06);
  border-radius: 999px;
  overflow: hidden;
}

.mo-dash .mo-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--plasma);
  transition: width 400ms ease;
}

/* ═══════════════════════════════════════════════
   12. IN-PROGRESS COURSE CARDS
   ═══════════════════════════════════════════════ */
.mo-dash .mo-progress-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  box-shadow: 0 1px 0 rgba(14,14,16,0.03);
}

.mo-dash .mo-progress-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14,14,16,0.18);
  box-shadow:
    0 1px 0 rgba(14,14,16,0.04),
    0 30px 60px -34px rgba(14,14,16,0.30);
  color: inherit;
}

.mo-dash .mo-progress-card__thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.mo-dash .mo-progress-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mo-dash .mo-progress-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mo-dash .mo-progress-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.mo-dash .mo-progress-card__rating-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.mo-dash .mo-progress-card__title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.mo-dash .mo-progress-card__meta {
  display: flex;
  gap: 4px;
  font-size: 14px;
  margin-bottom: 18px;
}

.mo-dash .mo-progress-card__meta-label {
  color: var(--ink-faint);
}

.mo-dash .mo-progress-card__meta-value {
  font-weight: 500;
  color: var(--ink);
}

.mo-dash .mo-progress-card__bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mo-dash .mo-progress-card__bar-row .mo-progress {
  flex: 1;
}

.mo-dash .mo-progress-card__percent {
  font-size: 14px;
  color: var(--ink-faint);
  white-space: nowrap;
}

.mo-dash .mo-progress-card__percent strong {
  color: var(--ink);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   13. PROFILE COMPLETION
   ═══════════════════════════════════════════════ */
.mo-dash .mo-profile-complete {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px 36px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  box-shadow:
    0 1px 0 rgba(14,14,16,0.04),
    0 30px 60px -30px rgba(14,14,16,0.22);
}

.mo-dash .mo-profile-complete__heading {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.mo-dash .mo-profile-complete__bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mo-dash .mo-profile-complete__bars {
  display: flex;
  gap: 4px;
  flex: 1;
}

.mo-dash .mo-profile-complete__bar-segment {
  height: 8px;
  flex: 1;
  border-radius: 999px;
  background: rgba(14,14,16,0.06);
  transition: background 200ms ease;
}

.mo-dash .mo-profile-complete__bar-segment.is-filled {
  background: var(--plasma);
}

.mo-dash .mo-profile-complete__trophy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--plasma);
  color: #fff;
  font-size: 20px;
}

.mo-dash .mo-profile-complete__status {
  font-size: 14px;
  margin-top: 12px;
}

.mo-dash .mo-profile-complete__status-text {
  color: var(--ink-faint);
}

.mo-dash .mo-profile-complete__status-count {
  font-weight: 600;
  color: var(--ink);
}

.mo-dash .mo-profile-complete__divider {
  width: 1px;
  align-self: stretch;
  background: var(--hairline);
}

.mo-dash .mo-profile-complete__checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mo-dash .mo-profile-complete__check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.mo-dash .mo-check-done {
  color: var(--cyan);
  font-size: 16px;
}

.mo-dash .mo-check-pending {
  color: var(--magenta);
  font-size: 16px;
}

.mo-dash .mo-profile-complete__check-link {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: rgba(122,77,255,0.35);
  text-underline-offset: 2px;
  transition: color 180ms ease;
}

.mo-dash .mo-profile-complete__check-link.is-done {
  color: var(--ink-faint);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════
   14. ALERT
   ═══════════════════════════════════════════════ */
.mo-dash .mo-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--hairline);
}

.mo-dash .mo-alert--info {
  border-left: 3px solid var(--violet);
}

.mo-dash .mo-alert__icon {
  color: var(--violet);
  font-size: 22px;
  flex-shrink: 0;
}

.mo-dash .mo-alert__text {
  flex: 1;
  font-size: 14px;
  color: var(--ink-soft);
}

.mo-dash .mo-alert__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--magenta);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.mo-dash .mo-alert__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -12px rgba(var(--glow), 0.7);
  color: #fff;
}

/* ═══════════════════════════════════════════════
   15. BADGES
   ═══════════════════════════════════════════════ */
.mo-dash .mo-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mo-dash .mo-badge--success {
  background: rgba(52,231,228,0.12);
  color: #0aa5a3;
}

.mo-dash .mo-badge--warning {
  background: rgba(255,61,168,0.10);
  color: var(--magenta);
}

.mo-dash .mo-badge--danger {
  background: rgba(255,61,168,0.12);
  color: #c02a7e;
}

.mo-dash .mo-badge--neutral {
  background: rgba(14,14,16,0.06);
  color: var(--ink-dim);
}

.mo-dash .mo-badge--published {
  background: rgba(52,231,228,0.12);
  color: #0aa5a3;
}

.mo-dash .mo-badge--pending {
  background: rgba(122,77,255,0.10);
  color: var(--violet);
}

/* ═══════════════════════════════════════════════
   16. NAVIGATION / TABS
   ═══════════════════════════════════════════════ */
.mo-dash .mo-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 28px;
}

.mo-dash .mo-tab {
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-dim);
  padding: 12px 22px;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
  text-decoration: none;
  cursor: pointer;
}

.mo-dash .mo-tab:hover {
  color: var(--ink);
}

.mo-dash .mo-tab.is-active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--magenta);
}

/* ═══════════════════════════════════════════════
   17. MODALS
   ═══════════════════════════════════════════════ */
.mo-dash .tutor-modal-window {
  border-radius: 18px;
  overflow: hidden;
}

.mo-dash .tutor-modal-content {
  border-radius: 18px;
  font-family: var(--body);
}

/* ═══════════════════════════════════════════════
   18. STAR RATINGS
   ═══════════════════════════════════════════════ */
.mo-dash .mo-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-faint);
}

.mo-dash .mo-stars .filled {
  color: #FBBF24;
}

/* ═══════════════════════════════════════════════
   19. EMPTY STATE
   ═══════════════════════════════════════════════ */
.mo-dash .mo-empty {
  text-align: center;
  padding: 56px 28px;
  color: var(--ink-faint);
  font-size: 15px;
}

.mo-dash .mo-empty-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(14,14,16,0.04);
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--ink-dim);
  font-size: 24px;
}

/* ═══════════════════════════════════════════════
   20. PROFILE VIEW (my-profile)
   ═══════════════════════════════════════════════ */
.mo-dash .mo-profile-grid {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px 36px;
  box-shadow:
    0 1px 0 rgba(14,14,16,0.04),
    0 30px 60px -30px rgba(14,14,16,0.22);
}

.mo-dash .mo-profile-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

.mo-dash .mo-profile-row:last-child {
  border-bottom: none;
}

.mo-dash .mo-profile-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  min-width: 160px;
  padding-top: 3px;
}

.mo-dash .mo-profile-value {
  font-size: 15px;
  color: var(--ink);
  flex: 1;
}

/* ═══════════════════════════════════════════════
   21. COURSE CARD GRID (enrolled, wishlist)
   ═══════════════════════════════════════════════ */
.mo-dash .mo-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mo-dash .mo-course-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  box-shadow: 0 1px 0 rgba(14,14,16,0.03);
  display: flex;
  flex-direction: column;
}

.mo-dash .mo-course-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14,14,16,0.18);
  box-shadow:
    0 1px 0 rgba(14,14,16,0.04),
    0 30px 60px -34px rgba(14,14,16,0.30);
}

.mo-dash .mo-course-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.mo-dash .mo-course-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mo-dash .mo-course-card__body {
  padding: 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mo-dash .mo-course-card__title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.mo-dash .mo-course-card__meta {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: auto;
}

.mo-dash .mo-course-card__footer {
  padding: 12px 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.mo-dash .mo-course-card__progress-row {
  padding: 14px 22px;
  border-top: 1px solid var(--hairline);
}

.mo-dash .mo-course-card__progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.mo-dash .mo-course-card__progress-text strong {
  color: var(--ink);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   22. FILTERS
   ═══════════════════════════════════════════════ */
.mo-dash .mo-filters {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.mo-dash .mo-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 180px;
}

.mo-dash .mo-filter-group label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   23. PAGINATION
   ═══════════════════════════════════════════════ */
.mo-dash .tutor-pagination {
  margin-top: 28px;
}

.mo-dash .tutor-pagination-hints {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.mo-dash .tutor-pagination-numbers .page-numbers {
  font-family: var(--body);
  border-radius: 10px;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-dim);
  transition: all 200ms ease;
}

.mo-dash .tutor-pagination-numbers .page-numbers.current {
  background: var(--ink);
  color: var(--bg);
}

.mo-dash .tutor-pagination-numbers .page-numbers:hover:not(.current) {
  background: rgba(14,14,16,0.06);
  color: var(--ink);
}

/* ═══════════════════════════════════════════════
   24. REVIEW CARDS
   ═══════════════════════════════════════════════ */
.mo-dash .mo-review-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(14,14,16,0.03);
}

.mo-dash .mo-review-card__header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--hairline);
}

.mo-dash .mo-review-card__course {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.mo-dash .mo-review-card__course-title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.mo-dash .mo-review-card__body {
  padding: 22px 28px;
}

.mo-dash .mo-review-card__actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

/* ═══════════════════════════════════════════════
   25. SETTINGS FORM
   ═══════════════════════════════════════════════ */
.mo-dash .mo-settings-form {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 36px;
  box-shadow:
    0 1px 0 rgba(14,14,16,0.04),
    0 30px 60px -30px rgba(14,14,16,0.22);
}

/* ═══════════════════════════════════════════════
   26. ANNOUNCEMENT CARDS
   ═══════════════════════════════════════════════ */
.mo-dash .mo-announcement-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 18px;
  box-shadow: 0 1px 0 rgba(14,14,16,0.03);
  transition: border-color 180ms ease;
}

.mo-dash .mo-announcement-card:hover {
  border-color: rgba(14,14,16,0.18);
}

.mo-dash .mo-announcement-card__eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.mo-dash .mo-announcement-card__title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.mo-dash .mo-announcement-card__excerpt {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   27. QA / QUESTION-ANSWER
   ═══════════════════════════════════════════════ */
.mo-dash .mo-qa-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 28px;
  margin-bottom: 14px;
  box-shadow: 0 1px 0 rgba(14,14,16,0.03);
  transition: border-color 180ms ease;
}

.mo-dash .mo-qa-card:hover {
  border-color: rgba(14,14,16,0.18);
}

.mo-dash .mo-qa-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.mo-dash .mo-qa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.mo-dash .mo-qa-user {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.mo-dash .mo-qa-date {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.mo-dash .mo-qa-question {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   28. WITHDRAW
   ═══════════════════════════════════════════════ */
.mo-dash .mo-withdraw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════
   29. ICONIC BUTTONS
   ═══════════════════════════════════════════════ */
.mo-dash .mo-iconic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--card);
  color: var(--ink-dim);
  cursor: pointer;
  transition: all 200ms ease;
}

.mo-dash .mo-iconic-btn:hover {
  background: rgba(255,61,168,0.06);
  border-color: rgba(255,61,168,0.25);
  color: var(--magenta);
}

/* ═══════════════════════════════════════════════
   30. REGISTRATION / LOGIN
   ═══════════════════════════════════════════════ */
.mo-dash .mo-auth-wrap {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 44px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow:
    0 1px 0 rgba(14,14,16,0.04),
    0 30px 60px -30px rgba(14,14,16,0.22);
}

.mo-dash .mo-auth-wrap .mo-btn-primary {
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
}

/* ═══════════════════════════════════════════════
   31. SCROLLBAR
   ═══════════════════════════════════════════════ */
.mo-dash ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.mo-dash ::-webkit-scrollbar-track {
  background: rgba(14,14,16,0.03);
  border-radius: 999px;
}

.mo-dash ::-webkit-scrollbar-thumb {
  background: rgba(14,14,16,0.14);
  border-radius: 999px;
}

.mo-dash ::-webkit-scrollbar-thumb:hover {
  background: rgba(14,14,16,0.22);
}

/* ═══════════════════════════════════════════════
   32. RESPONSIVE
   Matches original example breakpoints.
   ═══════════════════════════════════════════════ */

/* --- Tablet (≤ 1100px) --- */
@media (max-width: 1100px) {
  .mo-dash .mo-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .mo-dash .mo-course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mo-dash .mo-withdraw-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Mobile landscape / small tablet (≤ 880px) --- */
@media (max-width: 880px) {
  /* Tutor dashboard: stack sidebar + content vertically */
  .tutor-dashboard .tutor-container {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .tutor-dashboard .tutor-row {
    flex-direction: column !important;
    display: flex !important;
  }
  /* Mobile bottom nav: always horizontal */
  .tutor-dashboard .tutor-dashboard-footer-mobile,
  .tutor-dashboard .tutor-dashboard-footer-mobile .tutor-row {
    flex-direction: row !important;
  }
  .tutor-dashboard .tutor-col-md-3,
  .tutor-dashboard .tutor-dashboard-left-menu {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-right: 0 !important;
  }
  .tutor-dashboard .tutor-col-md-9,
  .tutor-dashboard .tutor-dashboard-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
  }
  /* Sidebar: horizontal, no border-right, border-bottom instead */
  .tutor-dashboard .tutor-dashboard-permalinks {
    border-right: none !important;
    border-bottom: 1px solid rgba(14,14,16,0.08) !important;
    padding-right: 0 !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .tutor-dashboard .tutor-dashboard-permalinks li {
    flex: none !important;
  }
  .tutor-dashboard .tutor-dashboard-permalinks li a {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
  /* Header: smaller padding */
  .tutor-dashboard .tutor-dashboard-header {
    padding: 28px 0 22px !important;
  }
  .tutor-dashboard .tutor-dashboard-header .tutor-avatar,
  .tutor-dashboard .tutor-dashboard-header img.tutor-avatar {
    width: 64px !important;
    height: 64px !important;
  }
  .tutor-dashboard .tutor-dashboard-header .tutor-dashboard-header-display-name,
  .tutor-dashboard .tutor-dashboard-header h3 {
    font-size: clamp(22px, 5vw, 32px) !important;
  }
  /* MO content spacing */
  .mo-dash .mo-profile-complete {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 22px 20px;
  }
  .mo-dash .mo-profile-complete__divider {
    width: 100%;
    height: 1px;
    margin: 18px 0;
  }
  .mo-dash .mo-form-row {
    grid-template-columns: 1fr;
  }
  .mo-dash .mo-progress-card {
    grid-template-columns: 1fr;
  }
  .mo-dash .mo-progress-card__thumb {
    aspect-ratio: 16 / 9;
  }
  .mo-dash .mo-progress-card__body {
    padding: 20px;
  }
  .mo-dash .mo-section {
    margin-top: 28px;
  }
  .mo-dash .mo-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  /* Cards: reduce padding */
  .mo-dash .mo-profile-grid {
    padding: 22px 20px;
  }
  .mo-dash .mo-settings-form {
    padding: 22px 20px;
  }
  .mo-dash .mo-announcement-card {
    padding: 20px;
  }
  .mo-dash .mo-qa-card {
    padding: 18px 20px;
  }
  .mo-dash .mo-review-card__header {
    padding: 18px 20px;
  }
  .mo-dash .mo-review-card__body {
    padding: 18px 20px;
  }
  .mo-dash .mo-card {
    padding: 20px;
  }
  /* Profile row: stack label + value */
  .mo-dash .mo-profile-row {
    flex-direction: column;
    gap: 6px;
  }
  .mo-dash .mo-profile-label {
    min-width: unset;
  }
  /* Filter groups: smaller min-width */
  .mo-dash .mo-filter-group {
    min-width: 140px;
  }
  /* Dashboard content area: reduce padding */
  .tutor-dashboard .tutor-dashboard-content .mo-dash {
    padding-top: 24px !important;
    padding-bottom: 40px !important;
  }
  /* Tables: horizontal scroll */
  .mo-dash .mo-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .mo-dash .mo-table {
    min-width: 540px;
  }
  /* Tutor table responsive */
  .mo-dash .tutor-table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .mo-dash .tutor-table {
    min-width: 480px;
  }
  /* Modal: reduce padding */
  .mo-modal__header {
    padding: 18px 20px;
  }
  .mo-modal__body {
    padding: 20px;
  }
  .mo-modal__footer {
    padding: 18px 20px;
  }
}

/* --- Mobile portrait (≤ 560px) --- */
@media (max-width: 560px) {
  .mo-dash .mo-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mo-dash .mo-stat {
    padding: 22px 18px 20px;
  }
  .mo-dash .mo-stat-num {
    font-size: 42px;
  }
  .mo-dash .mo-stat-label {
    font-size: 13px;
  }
  .mo-dash .mo-course-grid {
    grid-template-columns: 1fr;
  }
  .mo-dash .mo-title {
    font-size: 28px !important;
    margin-bottom: 18px !important;
  }
  .mo-dash .mo-subtitle {
    font-size: 20px !important;
    margin-bottom: 14px !important;
  }
  .mo-dash .mo-settings-form {
    padding: 16px;
  }
  .mo-dash .mo-profile-grid {
    padding: 16px;
  }
  .mo-dash .mo-auth-wrap {
    padding: 20px;
  }
  .mo-dash .mo-withdraw-stats {
    grid-template-columns: 1fr;
  }
  /* Sidebar: scrollable row */
  .tutor-dashboard .tutor-dashboard-permalinks {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px !important;
    gap: 4px !important;
  }
  .tutor-dashboard .tutor-dashboard-permalinks li a {
    white-space: nowrap !important;
    padding: 7px 12px !important;
    font-size: 12.5px !important;
  }
  /* Alert: stack */
  .mo-dash .mo-alert {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  /* Buttons: full width on mobile */
  .tutor-dashboard.tutor-dashboard .tutor-create-new-course,
  .tutor-dashboard.tutor-dashboard a.tutor-create-new-course {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 13px !important;
  }
  /* Profile complete card */
  .mo-dash .mo-profile-complete {
    padding: 18px 16px;
  }
  .mo-dash .mo-profile-complete__heading {
    font-size: 16px;
  }
  .mo-dash .mo-profile-complete__checklist {
    gap: 8px;
  }
  .mo-dash .mo-profile-complete__bars {
    gap: 3px;
  }
  /* Cards: tighter padding */
  .mo-dash .mo-card {
    padding: 16px;
  }
  .mo-dash .mo-announcement-card {
    padding: 16px;
  }
  .mo-dash .mo-qa-card {
    padding: 14px 16px;
  }
  .mo-dash .mo-progress-card__body {
    padding: 16px;
  }
  .mo-dash .mo-review-card__header,
  .mo-dash .mo-review-card__body {
    padding: 16px;
  }
  /* Section spacing */
  .mo-dash .mo-section {
    margin-top: 22px;
  }
  /* Header: tighter */
  .tutor-dashboard .tutor-dashboard-header {
    padding: 20px 0 16px !important;
  }
  .tutor-dashboard .tutor-dashboard-header .tutor-avatar,
  .tutor-dashboard .tutor-dashboard-header img.tutor-avatar {
    width: 52px !important;
    height: 52px !important;
  }
  .tutor-dashboard .tutor-dashboard-header .tutor-dashboard-header-display-name,
  .tutor-dashboard .tutor-dashboard-header h3 {
    font-size: clamp(20px, 5vw, 28px) !important;
  }
  /* Dashboard content area */
  .tutor-dashboard .tutor-dashboard-content .mo-dash {
    padding-top: 16px !important;
    padding-bottom: 32px !important;
  }
  /* Container: tighter side padding */
  .tutor-dashboard .tutor-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  /* Table cells: tighter */
  .mo-dash .mo-table thead th {
    padding: 10px 14px;
    font-size: 9.5px;
  }
  .mo-dash .mo-table tbody td {
    padding: 12px 14px;
    font-size: 14px;
  }
  .mo-dash .tutor-table thead th {
    padding: 10px 14px !important;
  }
  .mo-dash .tutor-table tbody td {
    padding: 12px 14px !important;
    font-size: 14px !important;
  }
  /* Tabs: smaller */
  .mo-dash .mo-tab,
  .mo-dash .tutor-nav-link {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
  /* Filters: stack */
  .mo-dash .mo-filters {
    flex-direction: column;
    gap: 10px;
  }
  .mo-dash .mo-filter-group {
    min-width: unset;
    width: 100%;
  }
  /* Input padding */
  .mo-dash input[type="text"],
  .mo-dash input[type="email"],
  .mo-dash input[type="password"],
  .mo-dash input[type="number"],
  .mo-dash input[type="tel"],
  .mo-dash input[type="url"],
  .mo-dash textarea,
  .mo-dash select,
  .mo-dash .tutor-form-control {
    padding: 12px 14px !important;
    font-size: 14px !important;
  }
  /* Modal */
  .mo-modal__header {
    padding: 16px;
  }
  .mo-modal__body {
    padding: 16px;
  }
  .mo-modal__footer {
    padding: 16px;
    flex-direction: column;
  }
  .mo-modal__footer .mo-btn,
  .mo-modal__footer .tutor-btn {
    width: 100%;
    justify-content: center;
  }
  /* Course card body */
  .mo-dash .mo-course-card__body {
    padding: 14px 16px;
  }
  .mo-dash .mo-course-card__footer {
    padding: 10px 16px;
  }
  .mo-dash .mo-course-card__progress-row {
    padding: 10px 16px;
  }
  /* Review card actions: stack */
  .mo-dash .mo-review-card__actions {
    flex-direction: column;
    gap: 8px;
  }
  .mo-dash .mo-review-card__actions .mo-btn,
  .mo-dash .mo-review-card__actions .tutor-btn {
    width: 100%;
    justify-content: center;
  }
  /* Empty state: less padding */
  .mo-dash .mo-empty {
    padding: 36px 16px;
  }
  /* Pagination: smaller */
  .mo-dash .tutor-pagination-numbers .page-numbers {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
  /* Form row in registration */
  .tutor-form-row {
    flex-direction: column !important;
  }
  .tutor-form-row .tutor-form-col-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
}

/* ═══════════════════════════════════════════════
   33. REDUCED MOTION
   ═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .mo-dash .mo-stat,
  .mo-dash .mo-progress-card,
  .mo-dash .mo-course-card,
  .mo-dash .mo-btn-primary,
  .mo-dash .mo-btn-dark,
  .mo-dash .mo-alert__btn {
    transition: none;
  }
  .mo-dash .mo-stat:hover,
  .mo-dash .mo-progress-card:hover,
  .mo-dash .mo-course-card:hover,
  .mo-dash .mo-btn-primary:hover,
  .mo-dash .mo-btn-dark:hover {
    transform: none;
  }
  .mo-mesh-grain {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════
   34. TUTOR LMS — SIDEBAR OVERRIDES
   Tutor renderiza el sidebar fuera de los templates.
   Usamos selectores de alta especificidad.
   ═══════════════════════════════════════════════ */
/* Page-level background */
.tutor-dashboard-page,
body.tutor-dashboard,
.tutor-wrap.tutor-wrap-parent {
  background: var(--bg, #F4F1EC) !important;
}

/* Dashboard container — 90% width, 1920px max */
.tutor-dashboard .tutor-container {
  width: 90% !important;
  max-width: 1920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 880px) {
  .tutor-dashboard .tutor-container {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Sidebar nav items — NO font-family on <a> to protect icon children */
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item a {
  font-size: 14.5px !important;
  color: var(--ink-soft, rgba(14,14,16,0.72)) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  transition: background 180ms ease, color 180ms ease !important;
  position: relative !important;
}
/* Plus Jakarta Sans only on text labels, not on icon elements */
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item a .tutor-dashboard-menu-item-text,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item a span.tutor-dashboard-menu-item-text {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
}

.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item a:hover {
  background: rgba(14,14,16,0.04) !important;
  color: var(--ink, #0E0E10) !important;
}

/* Active sidebar item */
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.active a,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.current a {
  background: var(--ink, #0E0E10) !important;
  color: var(--bg, #F4F1EC) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 34px -16px rgba(14,14,16,0.45) !important;
}

.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.active a::before,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.current a::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: var(--plasma, linear-gradient(120deg, #FF3DA8 0%, #7A4DFF 50%, #34E7E4 100%)) !important;
}

/* Sidebar icon colors */
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item a .tutor-dashboard-menu-item-icon,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item a .ph,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item a i {
  color: var(--ink-dim, rgba(14,14,16,0.5)) !important;
}

.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.active a .tutor-dashboard-menu-item-icon,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.active a .ph,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.active a i,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.current a .tutor-dashboard-menu-item-icon,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.current a .ph,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.current a i {
  color: var(--bg, #F4F1EC) !important;
}

/* Sidebar section labels */
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-divider {
  font-family: var(--mono, "JetBrains Mono", ui-monospace, monospace) !important;
  font-size: 10.5px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--ink-faint, rgba(14,14,16,0.38)) !important;
}

/* Logout link */
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.tutor-dashboard-menu-item-logout a {
  color: var(--magenta, #FF3DA8) !important;
}

.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.tutor-dashboard-menu-item-logout a:hover {
  background: rgba(255,61,168,0.07) !important;
}

/* ═══════════════════════════════════════════════
   35. TUTOR LMS — USER HEADER (like .userhead)
   Reproduce el diseño del ejemplo original:
   grid 2 cols, avatar 88px plasma, nombre grande,
   estrellas faint, border-bottom hairline.
   ═══════════════════════════════════════════════ */

/* Header wrapper — no border, transparent bg */
.tutor-dashboard .tutor-dashboard-header {
  padding: 44px 0 32px !important;
  border: none !important;
  margin-bottom: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Avatar */
.tutor-dashboard .tutor-dashboard-header .tutor-avatar,
.tutor-dashboard .tutor-dashboard-header img.tutor-avatar {
  width: 88px !important;
  height: 88px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  box-shadow:
    0 0 0 1px rgba(14,14,16,0.06),
    0 18px 40px -16px rgba(255,61,168,0.55) !important;
}

/* User name */
.tutor-dashboard .tutor-dashboard-header .tutor-dashboard-header-display-name,
.tutor-dashboard .tutor-dashboard-header h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(28px, 3.2vw, 40px) !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
  color: #0E0E10 !important;
  margin: 0 !important;
}

/* Sub-info (role, joined date, etc) */
.tutor-dashboard .tutor-dashboard-header .tutor-color-secondary,
.tutor-dashboard .tutor-dashboard-header .tutor-color-muted,
.tutor-dashboard .tutor-dashboard-header .tutor-dashboard-header-stats {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(14,14,16,0.38) !important;
}

/* Stars */
.tutor-dashboard .tutor-dashboard-header .tutor-ratings-stars span {
  color: rgba(14,14,16,0.38) !important;
}

/* Main dashboard body */
.tutor-dashboard .tutor-dashboard-body {
  padding-top: 24px !important;
  padding-bottom: 48px !important;
}

/* Footer */
.tutor-dashboard .tutor-dashboard-footer,
.tutor-dashboard + footer,
footer.site-footer {
  margin-top: 0 !important;
  border-top: 1px solid rgba(14,14,16,0.08) !important;
}

/* Mobile bottom nav — keep horizontal */
.tutor-dashboard .tutor-dashboard-footer-mobile {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-around !important;
}
.tutor-dashboard .tutor-dashboard-footer-mobile a,
.tutor-dashboard .tutor-dashboard-footer-mobile li {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* ═══════════════════════════════════════════════
   36. TUTOR LMS — GENERAL OVERRIDES
   Neutralizar estilos de Tutor que pisan los nuestros
   ═══════════════════════════════════════════════ */
/* Card reset */
.mo-dash .tutor-card {
  background: var(--card) !important;
  border: 1px solid var(--hairline) !important;
  border-radius: 18px !important;
  box-shadow: 0 1px 0 rgba(14,14,16,0.03) !important;
}

/* Button reset */
.mo-dash .tutor-btn {
  font-family: var(--body) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em !important;
  transition: transform 220ms ease, box-shadow 220ms ease !important;
}

.mo-dash .tutor-btn-primary {
  background: var(--magenta) !important;
  border-color: var(--magenta) !important;
  color: #fff !important;
}

.mo-dash .tutor-btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 0 0 1px var(--magenta), 0 12px 32px -12px rgba(var(--glow), 0.7) !important;
}

.mo-dash .tutor-btn-outline-primary {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  color: var(--ink-soft) !important;
}

.mo-dash .tutor-btn-outline-primary:hover {
  border-color: var(--magenta) !important;
  color: var(--magenta) !important;
  background: rgba(255,61,168,0.04) !important;
}

.mo-dash .tutor-btn-ghost {
  color: var(--violet) !important;
}

.mo-dash .tutor-btn-ghost:hover {
  background: rgba(122,77,255,0.06) !important;
  border-radius: 999px !important;
}

/* Input reset */
.mo-dash .tutor-form-control {
  font-family: var(--body) !important;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  font-size: 15px !important;
  color: var(--ink) !important;
  padding: 16px 18px !important;
}

.mo-dash .tutor-form-control:focus {
  border-color: var(--magenta) !important;
  box-shadow: 0 0 0 4px rgba(255,61,168,0.12) !important;
  outline: none !important;
}

.mo-dash .tutor-form-select {
  font-family: var(--body) !important;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  padding: 16px 18px !important;
}

.mo-dash .tutor-form-select:focus {
  border-color: var(--magenta) !important;
  box-shadow: 0 0 0 4px rgba(255,61,168,0.12) !important;
}

/* Nav tabs override */
.mo-dash .tutor-nav {
  border-bottom: 1px solid var(--hairline) !important;
}

.mo-dash .tutor-nav-link {
  font-family: var(--body) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  color: var(--ink-dim) !important;
  padding: 12px 22px !important;
  border-bottom: 2px solid transparent !important;
  transition: color 180ms ease, border-color 180ms ease !important;
}

.mo-dash .tutor-nav-link:hover {
  color: var(--ink) !important;
}

.mo-dash .tutor-nav-link.is-active {
  color: var(--ink) !important;
  font-weight: 600 !important;
  border-bottom-color: var(--magenta) !important;
}

/* Table override */
.mo-dash .tutor-table-responsive {
  border-radius: 18px !important;
  overflow: hidden !important;
  background: var(--card) !important;
  border: 1px solid var(--hairline) !important;
  box-shadow: 0 1px 0 rgba(14,14,16,0.03) !important;
}

.mo-dash .tutor-table {
  border-collapse: collapse !important;
  width: 100% !important;
}

.mo-dash .tutor-table thead th {
  font-family: var(--mono) !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: var(--ink-faint) !important;
  padding: 14px 22px !important;
  border-bottom: 1px solid var(--hairline) !important;
  background: rgba(14,14,16,0.02) !important;
}

.mo-dash .tutor-table tbody td {
  font-size: 15px !important;
  color: var(--ink) !important;
  padding: 16px 22px !important;
  border-bottom: 1px solid var(--hairline) !important;
  vertical-align: middle !important;
}

.mo-dash .tutor-table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Badge override */
.mo-dash .tutor-badge-label {
  font-family: var(--mono) !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
}

.mo-dash .tutor-badge-label.label-success {
  background: rgba(52,231,228,0.12) !important;
  color: #0aa5a3 !important;
}

.mo-dash .tutor-badge-label.label-warning {
  background: rgba(122,77,255,0.10) !important;
  color: var(--violet) !important;
}

.mo-dash .tutor-badge-label.label-danger {
  background: rgba(255,61,168,0.12) !important;
  color: #c02a7e !important;
}

/* Star ratings */
.mo-dash .tutor-ratings .tutor-ratings-stars .tutor-icon-star-bold {
  color: #FBBF24 !important;
}

/* Progress bar */
.mo-dash .tutor-progress-bar {
  background: rgba(14,14,16,0.06) !important;
  border-radius: 999px !important;
  height: 6px !important;
  overflow: hidden !important;
}

.mo-dash .tutor-progress-bar .tutor-progress-value,
.mo-dash .tutor-progress-value {
  background: var(--plasma) !important;
  border-radius: 999px !important;
}

/* Checkbox / Radio */
.mo-dash .tutor-form-check-input:checked {
  background-color: var(--magenta) !important;
  border-color: var(--magenta) !important;
}

/* Round boxes (icon circles) */
.mo-dash .tutor-round-box {
  border-radius: 12px !important;
  background: var(--plasma) !important;
  color: #fff !important;
}

/* Alert override */
.mo-dash .tutor-alert {
  border-radius: 12px !important;
  border: 1px solid var(--hairline) !important;
}

.mo-dash .tutor-alert.tutor-primary {
  background: var(--card) !important;
  border-left: 3px solid var(--violet) !important;
}

/* Empty state */
.mo-dash .tutor-empty-state-wrapper,
.mo-dash .tutor-empty-state {
  background: transparent !important;
  font-family: var(--body) !important;
  color: var(--ink-faint) !important;
}

/* Iconic buttons */
.mo-dash .tutor-iconic-btn {
  border-radius: 10px !important;
  transition: all 200ms ease !important;
}

.mo-dash .tutor-iconic-btn:hover {
  background: rgba(255,61,168,0.06) !important;
  color: var(--magenta) !important;
}

/* Modal override */
.mo-dash .tutor-modal-window {
  border-radius: 18px !important;
  overflow: hidden !important;
}

.mo-dash .tutor-modal .tutor-btn {
  border-radius: 999px !important;
}

/* Date picker */
.mo-dash .tutor-v2-date-picker .tutor-form-control {
  border-radius: 12px !important;
}

/* WP editor */
.mo-dash .wp-editor-wrap {
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid var(--line) !important;
}

.mo-dash .wp-editor-wrap:focus-within {
  border-color: var(--magenta) !important;
  box-shadow: 0 0 0 4px rgba(255,61,168,0.12) !important;
}

/* Password strength */
.mo-dash .tutor-password-strength-hint .indicator span {
  border-radius: 999px !important;
  height: 4px !important;
}

/* Photo editor */
.mo-dash #tutor_profile_cover_photo_editor #tutor_cover_area {
  border-radius: 18px !important;
  overflow: hidden !important;
}

.mo-dash #tutor_profile_cover_photo_editor #tutor_profile_area {
  border-radius: 999px !important;
  border: 4px solid var(--card) !important;
  box-shadow: 0 0 0 1px rgba(14,14,16,0.06), 0 18px 40px -16px rgba(var(--glow), 0.55) !important;
}

/* ═══════════════════════════════════════════════
   37. BEM BUTTON VARIANTS (--modifier style)
   ═══════════════════════════════════════════════ */
.mo-btn--primary {
  background: var(--magenta);
  color: #fff;
  padding: 11px 22px;
  box-shadow: 0 0 0 1px rgba(14,14,16,0.04);
}
.mo-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--magenta), 0 12px 32px -12px rgba(var(--glow), 0.7);
  color: #fff;
}

.mo-btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  padding: 10px 18px;
  border: 1px solid var(--line);
}
.mo-btn--ghost:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  background: rgba(255,61,168,0.04);
}

.mo-btn--outline {
  background: transparent;
  color: var(--ink-soft);
  padding: 10px 18px;
  border: 1px solid var(--line);
}
.mo-btn--outline:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  background: rgba(255,61,168,0.04);
}

.mo-btn--danger {
  background: rgba(255,61,168,0.08);
  color: #c02a7e;
  padding: 10px 18px;
  border: 1px solid rgba(255,61,168,0.18);
}
.mo-btn--danger:hover {
  background: rgba(255,61,168,0.14);
  color: #a01f66;
}

.mo-btn--sm {
  font-size: 13px;
  padding: 7px 16px;
}

/* ═══════════════════════════════════════════════
   38. CARD (generic white container)
   ═══════════════════════════════════════════════ */
.mo-dash .mo-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 1px 0 rgba(14,14,16,0.03);
}

.mo-dash .mo-card--alt {
  background: rgba(14,14,16,0.015);
}

/* ═══════════════════════════════════════════════
   39. ALERT WARNING VARIANT
   ═══════════════════════════════════════════════ */
.mo-dash .mo-alert--warning {
  border-left: 3px solid var(--magenta);
}

.mo-dash .mo-alert--warning .mo-alert__icon {
  color: var(--magenta);
}

/* ═══════════════════════════════════════════════
   40. MODAL STYLES (announcement modals)
   ═══════════════════════════════════════════════ */
.mo-modal {
  border-radius: 18px !important;
  font-family: var(--body);
  overflow: hidden;
}

.mo-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--hairline);
}

.mo-modal__title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.mo-modal__close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--ink-dim);
  transition: all 200ms ease;
}
.mo-modal__close:hover {
  background: rgba(14,14,16,0.06);
  color: var(--ink);
}

.mo-modal__body {
  padding: 28px;
}

.mo-modal__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 28px;
  border-top: 1px solid var(--hairline);
}

/* ═══════════════════════════════════════════════
   41. FORM CONTROL (standalone, for withdraw fields)
   ═══════════════════════════════════════════════ */
.mo-form-control {
  font-family: var(--body, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 15px;
  color: var(--ink, #0E0E10);
  background: var(--card, #FFFFFF);
  border: 1px solid var(--line, rgba(14,14,16,0.14));
  border-radius: 12px;
  padding: 16px 18px;
  width: 100%;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  outline: none;
}
.mo-form-control:focus {
  border-color: var(--magenta, #FF3DA8);
  box-shadow: 0 0 0 4px rgba(255,61,168,0.12);
}
.mo-form-label {
  display: block;
  font-family: var(--body, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft, rgba(14,14,16,0.72));
  margin-bottom: 8px;
}
/* standalone form-group (outside .mo-dash) */
.mo-form-group:not(.mo-dash .mo-form-group) {
  margin-bottom: 22px;
}

/* ═══════════════════════════════════════════════
   42. NUCLEAR TUTOR OVERRIDES
   Tutor usa clases utilitarias (.tutor-fs-*, .tutor-fw-*,
   .tutor-color-*, .tutor-mb-*, etc.) con alta especificidad.
   Necesitamos resetearlas dentro de .mo-dash.
   ═══════════════════════════════════════════════ */

/* --- Color resets --- */
.mo-dash,
.mo-dash div,
.mo-dash span,
.mo-dash p,
.mo-dash h1,
.mo-dash h2,
.mo-dash h3,
.mo-dash h4,
.mo-dash h5,
.mo-dash h6,
.mo-dash label,
.mo-dash td,
.mo-dash th,
.mo-dash li {
  color: #0E0E10 !important;
}

/* Re-set faint/muted elements after nuclear reset */
.mo-dash .mo-eyebrow,
.mo-dash .mo-profile-label,
.mo-dash .mo-progress-card__meta-label,
.mo-dash .mo-progress-card__percent,
.mo-dash .mo-progress-card__rating-num,
.mo-dash .mo-qa-date,
.mo-dash .mo-announcement-card__eyebrow,
.mo-dash .mo-review-card__course,
.mo-dash .mo-filter-group label {
  color: rgba(14,14,16,0.38) !important;
}

.mo-dash .mo-stat-label,
.mo-dash .mo-alert__text,
.mo-dash .mo-alert__text p,
.mo-dash .mo-progress-card__meta-label {
  color: rgba(14,14,16,0.72) !important;
}

.mo-dash .mo-empty,
.mo-dash .mo-empty *,
.mo-dash .mo-table__empty,
.mo-dash .tutor-empty-state-wrapper,
.mo-dash .tutor-empty-state,
.mo-dash .tutor-empty-state * {
  color: rgba(14,14,16,0.38) !important;
}

/* Links should stay violet */
.mo-dash a:not(.mo-btn):not(.mo-btn--primary):not(.mo-btn--ghost):not(.mo-btn--outline):not(.mo-btn--danger):not(.mo-tab):not(.mo-alert__btn):not(.mo-progress-card) {
  color: #7A4DFF !important;
}
.mo-dash a:not(.mo-btn):not(.mo-btn--primary):not(.mo-btn--ghost):not(.mo-btn--outline):not(.mo-btn--danger):not(.mo-tab):not(.mo-alert__btn):not(.mo-progress-card):hover {
  color: #FF3DA8 !important;
}

/* Tab colors */
.mo-dash .mo-tab {
  color: rgba(14,14,16,0.5) !important;
}
.mo-dash .mo-tab:hover {
  color: #0E0E10 !important;
}
.mo-dash .mo-tab.is-active {
  color: #0E0E10 !important;
}

/* Button text colors override */
.mo-dash .mo-btn-primary,
.mo-dash .mo-btn--primary,
.mo-dash .mo-alert__btn {
  color: #fff !important;
}
.mo-dash .mo-btn-ghost,
.mo-dash .mo-btn--ghost,
.mo-dash .mo-btn-outline,
.mo-dash .mo-btn--outline {
  color: rgba(14,14,16,0.72) !important;
}
.mo-dash .mo-btn--danger {
  color: #c02a7e !important;
}

/* Stat number special sizing */
.mo-dash .mo-stat-num {
  color: #0E0E10 !important;
}
.mo-dash .mo-stat-num .currency {
  color: rgba(14,14,16,0.38) !important;
}

/* --- Font family resets (NO wildcard — protects icon fonts) --- */
.mo-dash,
.mo-dash div,
.mo-dash p,
.mo-dash h1,
.mo-dash h2,
.mo-dash h3,
.mo-dash h4,
.mo-dash h5,
.mo-dash h6,
.mo-dash a,
.mo-dash button,
.mo-dash input,
.mo-dash select,
.mo-dash textarea,
.mo-dash label,
.mo-dash td,
.mo-dash th,
.mo-dash li,
.mo-dash figcaption,
.mo-dash blockquote,
.mo-dash strong,
.mo-dash em:not(.mo-title em),
.mo-dash small {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
}
.mo-dash .mo-eyebrow,
.mo-dash .mo-eyebrow *,
.mo-dash .mo-profile-label,
.mo-dash .mo-table thead th,
.mo-dash .mo-breadcrumb,
.mo-dash .mo-badge,
.mo-dash .tutor-badge-label,
.mo-dash .mo-qa-date,
.mo-dash .mo-review-card__course,
.mo-dash .mo-announcement-card__eyebrow,
.mo-dash .mo-filter-group label,
.mo-dash .mo-progress-card__rating-num,
.mo-dash .tutor-pagination-hints {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
}
.mo-dash .mo-title em {
  font-family: "Instrument Serif", "Times New Roman", serif !important;
}

/* --- Typography size resets: undo Tutor .tutor-fs-* --- */
.mo-dash .tutor-fs-4,
.mo-dash .tutor-fs-5,
.mo-dash .tutor-fs-6,
.mo-dash .tutor-fs-7 {
  font-size: inherit !important;
}

.mo-dash .tutor-fw-normal { font-weight: 400 !important; }
.mo-dash .tutor-fw-medium { font-weight: 500 !important; }
.mo-dash .tutor-fw-bold   { font-weight: 700 !important; }

/* --- Color utility neutralizers --- */
.mo-dash .tutor-color-secondary,
.mo-dash .tutor-color-muted,
.mo-dash .tutor-color-hints {
  color: rgba(14,14,16,0.5) !important;
}
.mo-dash .tutor-color-black {
  color: #0E0E10 !important;
}
.mo-dash .tutor-color-primary {
  color: #FF3DA8 !important;
}
.mo-dash .tutor-color-success {
  color: #0aa5a3 !important;
}
.mo-dash .tutor-color-warning {
  color: #FF3DA8 !important;
}
.mo-dash .tutor-color-danger {
  color: #c02a7e !important;
}
.mo-dash .tutor-color-white {
  color: #fff !important;
}

/* --- Background utility neutralizers --- */
.mo-dash .tutor-bg-white {
  background-color: #fff !important;
}
.mo-dash .tutor-bg-light {
  background-color: rgba(14,14,16,0.02) !important;
}
.mo-dash .tutor-bg-primary {
  background-color: #FF3DA8 !important;
}

/* --- Border reset --- */
.mo-dash .tutor-border-none {
  border: none !important;
}

/* --- Dashboard content area spacing --- */
.tutor-dashboard .tutor-dashboard-content .mo-dash {
  padding-top: 36px !important;
  padding-bottom: 64px !important;
}

/* Content wrapper inside Tutor */
.tutor-dashboard-content-inner {
  padding-bottom: 48px !important;
}

/* --- Tutor avatar in our tables/cards --- */
.mo-dash .tutor-avatar,
.mo-dash .tutor-avatar img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}

/* --- Tutor hr --- */
.mo-dash .tutor-hr,
.mo-dash hr {
  border: none !important;
  border-top: 1px solid rgba(14,14,16,0.08) !important;
  margin: 24px 0 !important;
}

/* --- Tutor tooltip / dropdown --- */
.mo-dash .tutor-dropdown-menu {
  border-radius: 12px !important;
  border: 1px solid rgba(14,14,16,0.08) !important;
  box-shadow: 0 12px 32px -8px rgba(14,14,16,0.18) !important;
}

/* --- Tutor course thumbnail in our cards --- */
.mo-dash .tutor-course-thumbnail img {
  border-radius: 0 !important;
}

/* --- Tutor star ratings --- */
.mo-dash .tutor-ratings-stars span {
  color: #FBBF24 !important;
}

/* --- Tutor pagination override --- */
.mo-dash .tutor-pagination {
  margin-top: 28px !important;
}
.mo-dash .tutor-pagination a,
.mo-dash .tutor-pagination span {
  border-radius: 10px !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
}

/* --- Wrapper that Tutor puts around content --- */
.tutor-dashboard-content-inner.mo-dash,
.tutor-dashboard-content-inner .mo-dash {
  position: relative;
}

/* --- Progress card link reset (should look like card, not link) --- */
.mo-dash a.mo-progress-card,
.mo-dash a.mo-progress-card span,
.mo-dash a.mo-progress-card div,
.mo-dash a.mo-progress-card h3 {
  color: #0E0E10 !important;
  text-decoration: none !important;
}
.mo-dash a.mo-progress-card .mo-progress-card__meta-label {
  color: rgba(14,14,16,0.38) !important;
}
.mo-dash a.mo-progress-card .mo-progress-card__percent {
  color: rgba(14,14,16,0.38) !important;
}
.mo-dash a.mo-progress-card .mo-progress-card__percent strong {
  color: #0E0E10 !important;
}

/* --- Table link styles (should be violet, not ink) --- */
.mo-dash .mo-table a {
  color: #7A4DFF !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(122,77,255,0.35) !important;
  text-underline-offset: 2px !important;
}
.mo-dash .mo-table a:hover {
  color: #FF3DA8 !important;
}

/* --- Course card link reset --- */
.mo-dash .mo-course-card a,
.mo-dash .mo-course-card__title a {
  color: #0E0E10 !important;
  text-decoration: none !important;
}
.mo-dash .mo-course-card__title a:hover {
  color: #7A4DFF !important;
}

/* ═══════════════════════════════════════════════
   43. DASHBOARD LAYOUT & TUTOR OVERRIDES
   Matches original example exactly:
   - Cream bg, mesh behind, sidebar border-right,
   - Content gap 36px, active nav = dark bg,
   - Icons use Phosphor Icons (.ph class).
   ═══════════════════════════════════════════════ */

/* --- 43-A. CREAM BACKGROUND --- */
body.tutor-lms .tutor-wrap,
.tutor-dashboard-page .tutor-wrap {
  background: #F4F1EC !important;
}

/* --- 43-B. MESH stays behind content --- */
.mo-mesh {
  pointer-events: none !important;
  z-index: 0 !important;
}
.mo-dash > *:not(.mo-mesh) {
  position: relative;
  z-index: 1;
}

/* --- 43-C0. KILL ALL TUTOR DEFAULT BORDERS --- */
.tutor-dashboard .tutor-dashboard-left-menu,
.tutor-dashboard .tutor-dashboard-permalinks,
.tutor-dashboard .tutor-dashboard-permalinks li,
.tutor-dashboard .tutor-dashboard-permalinks li a,
.tutor-dashboard .tutor-dashboard-body,
.tutor-dashboard .tutor-dashboard-content,
.tutor-dashboard .tutor-row,
.tutor-dashboard .tutor-col-md-3,
.tutor-dashboard .tutor-col-md-9,
.tutor-dashboard .tutor-dashboard-header {
  border: none !important;
  border-color: transparent !important;
  border-style: none !important;
  border-width: 0 !important;
  outline: none !important;
}
/* Header — no border at all */
.tutor-dashboard .tutor-dashboard-header {
  border: none !important;
}

/* --- 43-C. SIDEBAR LAYOUT (like original .sidebar) --- */
/* Border-right ONLY on the permalinks list, NOT on parent containers */
.tutor-dashboard .tutor-dashboard-left-menu,
.tutor-dashboard .tutor-col-md-3 {
  border: none !important;
  padding-right: 0 !important;
}
.tutor-dashboard .tutor-dashboard-permalinks {
  border: none !important;
  border-right: 1px solid rgba(14,14,16,0.08) !important;
  padding-right: 28px !important;
}
/* Content area gap (like original .main padding-left: 36px) */
.tutor-dashboard .tutor-dashboard-content,
.tutor-dashboard .tutor-col-md-9 {
  padding-left: 36px !important;
}
@media (max-width: 880px) {
  .tutor-dashboard .tutor-dashboard-content,
  .tutor-dashboard .tutor-col-md-9 {
    padding-left: 0 !important;
  }
}

/* --- 43-D. SIDEBAR ICON COLORS --- */
/* Default: muted ink */
.tutor-dashboard-permalinks li a .tutor-dashboard-menu-item-icon,
.tutor-dashboard-permalinks li a .ph,
.tutor-dashboard-permalinks li a i {
  color: rgba(14,14,16,0.50) !important;
}
/* Active: cream (on dark bg) */
.tutor-dashboard-permalinks li.tutor-is-active a .tutor-dashboard-menu-item-icon,
.tutor-dashboard-permalinks li.tutor-is-active a .ph,
.tutor-dashboard-permalinks li.tutor-is-active a i {
  color: #F4F1EC !important;
}
/* Hover: magenta */
.tutor-dashboard-permalinks li:not(.tutor-is-active) a:hover .tutor-dashboard-menu-item-icon,
.tutor-dashboard-permalinks li:not(.tutor-is-active) a:hover .ph,
.tutor-dashboard-permalinks li:not(.tutor-is-active) a:hover i {
  color: #FF3DA8 !important;
}

/* --- 43-E. SIDEBAR NAV ITEMS (like original .nav-item) --- */
.tutor-dashboard-permalinks li a,
.tutor-dashboard-permalinks li a .tutor-dashboard-menu-item-text {
  color: rgba(14,14,16,0.72) !important;
  font-size: 14.5px !important;
  border-radius: 12px !important;
  transition: background 180ms ease, color 180ms ease !important;
}
/* Active: dark bg, cream text (like original .nav-item.active) */
.tutor-dashboard-permalinks li.tutor-is-active a,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.active a,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.current a {
  background: #0E0E10 !important;
  color: #F4F1EC !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 34px -16px rgba(14,14,16,0.45) !important;
  position: relative !important;
}
/* Active text — cream on dark (targets .tutor-dashboard-menu-item-text explicitly) */
.tutor-dashboard-permalinks li.tutor-is-active a span,
.tutor-dashboard-permalinks li.tutor-is-active a .tutor-dashboard-menu-item-text,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.active a span,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.active a .tutor-dashboard-menu-item-text,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.current a span,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.current a .tutor-dashboard-menu-item-text {
  color: #F4F1EC !important;
  font-weight: 600 !important;
}
/* Active plasma bar (like original .nav-item.active::before) */
.tutor-dashboard-permalinks li.tutor-is-active a::before,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.active a::before,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.current a::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(120deg, #FF3DA8 0%, #7A4DFF 50%, #34E7E4 100%) !important;
}
/* Hover */
.tutor-dashboard-permalinks li:not(.tutor-is-active) a:hover,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item:not(.active):not(.current) a:hover {
  background: rgba(14,14,16,0.04) !important;
  color: #0E0E10 !important;
}
.tutor-dashboard-permalinks li:not(.tutor-is-active) a:hover .tutor-dashboard-menu-item-text,
.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item:not(.active):not(.current) a:hover .tutor-dashboard-menu-item-text {
  color: #0E0E10 !important;
}

/* --- 43-F. STAT CARD ICON COLORS --- */
.mo-dash .mo-stat.accent-magenta .mo-stat-ico i,
.mo-dash .mo-stat.accent-magenta .mo-stat-ico .ph { color: #FF3DA8 !important; }
.mo-dash .mo-stat.accent-violet .mo-stat-ico i,
.mo-dash .mo-stat.accent-violet .mo-stat-ico .ph  { color: #7A4DFF !important; }
.mo-dash .mo-stat.accent-cyan .mo-stat-ico i,
.mo-dash .mo-stat.accent-cyan .mo-stat-ico .ph    { color: #0aa5a3 !important; }

/* --- 43-G. TUTOR BUTTONS — MO STYLE --- */
.tutor-dashboard.tutor-dashboard .tutor-btn.tutor-btn-primary {
  background: #FF3DA8 !important;
  border-color: #FF3DA8 !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: -0.005em !important;
  transition: transform 220ms ease, box-shadow 220ms ease !important;
}
.tutor-dashboard.tutor-dashboard .tutor-btn.tutor-btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 0 0 1px #FF3DA8, 0 12px 32px -12px rgba(255,61,168,0.7) !important;
  color: #fff !important;
}
.tutor-dashboard.tutor-dashboard .tutor-btn.tutor-btn-primary i {
  color: #fff !important;
}

/* Outline button */
.tutor-dashboard.tutor-dashboard .tutor-btn.tutor-btn-outline-primary {
  border-radius: 999px !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  letter-spacing: -0.005em !important;
}
.tutor-dashboard.tutor-dashboard .tutor-btn.tutor-btn-outline-primary:hover {
  border-color: #FF3DA8 !important;
  color: #FF3DA8 !important;
}

/* New Course button — dark style (like original .new-course) */
.tutor-dashboard.tutor-dashboard .tutor-create-new-course,
.tutor-dashboard.tutor-dashboard a.tutor-create-new-course {
  background: #0E0E10 !important;
  color: #F4F1EC !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 14px 22px !important;
  letter-spacing: -0.005em !important;
  transition: transform 220ms ease, box-shadow 220ms ease !important;
}
.tutor-dashboard.tutor-dashboard .tutor-create-new-course:hover,
.tutor-dashboard.tutor-dashboard a.tutor-create-new-course:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 36px -14px rgba(14,14,16,0.45) !important;
}
.tutor-dashboard.tutor-dashboard .tutor-create-new-course i {
  color: #F4F1EC !important;
}

/* --- 43-H. TUTOR CARD STYLE --- */
.tutor-dashboard.tutor-dashboard .tutor-card {
  border-radius: 18px !important;
  border: 1px solid rgba(14,14,16,0.08) !important;
}

/* --- 43-I. LOGOUT LINK — magenta (like original .nav-item.signout) --- */
.tutor-dashboard-permalinks li.tutor-dashboard-menu-item-logout a,
.tutor-dashboard-permalinks li.tutor-dashboard-menu-item-logout a span {
  color: #FF3DA8 !important;
}
.tutor-dashboard-permalinks li.tutor-dashboard-menu-item-logout a .tutor-dashboard-menu-item-icon,
.tutor-dashboard-permalinks li.tutor-dashboard-menu-item-logout a i {
  color: #FF3DA8 !important;
}
.tutor-dashboard-permalinks li.tutor-dashboard-menu-item-logout a:hover {
  background: rgba(255,61,168,0.07) !important;
}

/* ═══════════════════════════════════════════════
   LAST RULE: PHOSPHOR ICON STYLES
   Phosphor icons use .ph class. Style them here.
   ═══════════════════════════════════════════════ */
.tutor-dashboard .ph,
.mo-dash .ph {
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
}

/* Sidebar icon size */
.tutor-dashboard-permalinks .ph,
.tutor-dashboard .tutor-dashboard-left-menu .ph {
  font-size: 18px;
}

/* Stat card icon size */
.mo-dash .mo-stat-ico .ph {
  font-size: 22px;
}
