/* ==========================================================================
   Eduhubx Child — Student dashboard (Tutor LMS)
   ========================================================================== */

.ehx-scope .tutor-dashboard { gap: var(--ehx-s6); }

/* Sidebar nav */
.ehx-scope .tutor-dashboard-left-menu,
.ehx-scope .tutor-dashboard-menu {
  background: var(--ehx-surface) !important;
  border: 1px solid var(--ehx-border) !important;
  border-radius: var(--ehx-r-card) !important;
  box-shadow: var(--ehx-shadow-sm); padding: var(--ehx-s3); overflow: hidden;
}
.ehx-scope .tutor-dashboard-menu-item a,
.ehx-scope .tutor-dashboard-permalinks li a {
  border-radius: var(--ehx-r-sm) !important;
  color: var(--ehx-ink-2) !important; font-weight: 500;
  transition: background-color var(--ehx-dur) var(--ehx-ease), color var(--ehx-dur) var(--ehx-ease);
}
.ehx-scope .tutor-dashboard-menu-item a:hover,
.ehx-scope .tutor-dashboard-permalinks li a:hover {
  background: var(--ehx-primary-soft) !important; color: var(--ehx-primary) !important;
}
/* Active item: color + weight + left indicator (not color alone) */
.ehx-scope .tutor-dashboard-menu-item.active a,
.ehx-scope .tutor-dashboard-permalinks li.active a {
  background: var(--ehx-primary-soft) !important; color: var(--ehx-primary) !important;
  font-weight: 700; box-shadow: inset 3px 0 0 var(--ehx-primary);
}

/* Content panel */
.ehx-scope .tutor-dashboard-content,
.ehx-scope .tutor-dashboard-content-inner {
  background: var(--ehx-surface) !important;
  border: 1px solid var(--ehx-border) !important;
  border-radius: var(--ehx-r-card) !important;
  box-shadow: var(--ehx-shadow-sm); padding: var(--ehx-s6) !important;
}
.ehx-scope .tutor-dashboard-content h1,
.ehx-scope .tutor-dashboard-content h2,
.ehx-scope .tutor-dashboard-content-title {
  font-family: var(--ehx-font-head) !important; color: var(--ehx-ink) !important;
}

/* Stat / summary cards */
.ehx-scope .tutor-dashboard-info-card,
.ehx-scope .tutor-dashboard-stats .tutor-card {
  background: var(--ehx-surface) !important; border: 1px solid var(--ehx-border) !important;
  border-radius: var(--ehx-r-card) !important; box-shadow: var(--ehx-shadow-sm);
}
.ehx-scope .tutor-dashboard-info-card .tutor-fs-3,
.ehx-scope .tutor-dashboard-info-card strong { color: var(--ehx-primary) !important;
  font-family: var(--ehx-font-head); font-variant-numeric: tabular-nums; }

/* Enrolled course cards reuse catalog card language */
.ehx-scope .tutor-dashboard .tutor-course-card { border-radius: var(--ehx-r-card) !important; }

/* Progress bars (with visible % handled by Tutor markup) */
.ehx-scope .tutor-dashboard .tutor-progress-bar { background: var(--ehx-primary-soft) !important; }
.ehx-scope .tutor-dashboard .tutor-progress-value {
  background: linear-gradient(90deg, var(--ehx-primary), var(--ehx-primary-2)) !important; }

/* Forms (profile / settings) */
.ehx-scope .tutor-dashboard input:not([type=checkbox]):not([type=radio]),
.ehx-scope .tutor-dashboard select,
.ehx-scope .tutor-dashboard textarea {
  border: 1px solid var(--ehx-border) !important; border-radius: var(--ehx-r-sm) !important;
  background: var(--ehx-surface) !important; color: var(--ehx-ink) !important;
  min-height: 44px;
}
.ehx-scope .tutor-dashboard input:focus,
.ehx-scope .tutor-dashboard select:focus,
.ehx-scope .tutor-dashboard textarea:focus {
  outline: none !important; border-color: var(--ehx-primary) !important; box-shadow: var(--ehx-ring) !important;
}

/* Empty state */
.ehx-scope .tutor-dashboard .tutor-empty-state,
.ehx-scope .tutor-dashboard .tutor-no-course {
  text-align: center; padding: var(--ehx-s8) var(--ehx-s5);
  color: var(--ehx-muted); border: 1px dashed var(--ehx-border-strong);
  border-radius: var(--ehx-r-card);
}
