/* ==========================================================================
   VERBO EDU — CORE DESIGN SYSTEM TOKENS & REUSABLE COMPONENTS
   Brand Palette:
     - Primary Teal: #00A79D
     - Accent Yellow: #FACF49
     - Crisp White: #FFFFFF
     - Dark Charcoal / Black: #0F172A / #000000
   ========================================================================== */

/* ==========================================================================
   VERBO BRAND IDENTITY & LOGO COMPONENT SYSTEM
   ========================================================================== */
.verbo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}

.verbo-brand:hover {
  opacity: 0.95;
}

.verbo-logo-img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.verbo-logo-img.logo-sm {
  height: 24px;
  max-width: 140px;
}

.verbo-logo-img.logo-md {
  height: 32px;
  max-width: 190px;
}

.verbo-logo-img.logo-lg {
  height: 42px;
  max-width: 250px;
}

.verbo-symbol-img {
  display: block;
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.verbo-symbol-img.sym-sm {
  height: 24px;
  width: 24px;
}

.verbo-symbol-img.sym-md {
  height: 32px;
  width: 32px;
}

.verbo-symbol-img.sym-lg {
  height: 42px;
  width: 42px;
}

.verbo-brand-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.verbo-brand-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}

.verbo-brand-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--verbo-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.verbo-brand-pill {
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-default);
  display: inline-flex;
  align-items: center;
}

:root {
  /* Brand Colors */
  --verbo-teal: #00A79D;
  --verbo-teal-hover: #00847C;
  --verbo-teal-active: #006D67;
  --verbo-teal-light: rgba(0, 167, 157, 0.08);
  --verbo-teal-tint: rgba(0, 167, 157, 0.16);
  --verbo-teal-border: rgba(0, 167, 157, 0.35);

  --verbo-yellow: #FACF49;
  --verbo-yellow-hover: #F0C338;
  --verbo-yellow-light: rgba(250, 207, 73, 0.2);
  --verbo-yellow-text: #926600;

  /* Neutrals & Surfaces */
  --bg-canvas: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-muted: #E2E8F0;

  /* Typography Colors */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Border & Dividers */
  --border-subtle: #F1F5F9;
  --border-default: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-focus: #00A79D;

  /* Semantic State Colors */
  --success-bg: rgba(16, 185, 129, 0.1);
  --success-text: #059669;
  --success-border: rgba(16, 185, 129, 0.3);

  --warning-bg: rgba(245, 158, 11, 0.1);
  --warning-text: #D97706;
  --warning-border: rgba(245, 158, 11, 0.3);

  --danger-bg: rgba(239, 68, 68, 0.1);
  --danger-text: #DC2626;
  --danger-border: rgba(239, 68, 68, 0.3);

  --info-bg: rgba(2, 132, 199, 0.1);
  --info-text: #0284C7;
  --info-border: rgba(2, 132, 199, 0.3);

  /* Shadows (Subtle Apple/SaaS elevation) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.03);
  --shadow-float: 0 20px 40px -10px rgba(15, 23, 42, 0.15);

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Noto Sans Malayalam", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.5;
}

/* Typography Scale */
h1, .h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.25;
}

h2, .h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  line-height: 1.3;
}

h3, .h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.4;
}

p, .body-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.caption {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.label-upper {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary, .btn-teal {
  background-color: var(--verbo-teal);
  color: #FFFFFF;
  border-color: var(--verbo-teal);
  box-shadow: 0 1px 3px rgba(0, 167, 157, 0.25);
}

.btn-primary:hover, .btn-teal:hover {
  background-color: var(--verbo-teal-hover);
  border-color: var(--verbo-teal-hover);
}

.btn-accent, .btn-yellow {
  background-color: var(--verbo-yellow);
  color: #000000;
  border-color: var(--verbo-yellow);
  box-shadow: 0 1px 3px rgba(250, 207, 73, 0.3);
}

.btn-accent:hover, .btn-yellow:hover {
  background-color: var(--verbo-yellow-hover);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-primary);
  border-color: var(--border-default);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-strong);
}

.btn-danger {
  background-color: var(--danger-bg);
  color: var(--danger-text);
  border-color: var(--danger-border);
}

.btn-danger:hover {
  background-color: var(--danger-text);
  color: #FFFFFF;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
  border-radius: var(--radius-lg);
}

/* Card Components */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
}

/* KPI Stat Cards */
.stat-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: var(--space-3);
}

.stat-card .stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.stat-card .stat-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-card .stat-trend {
  font-size: 12px;
  font-weight: 600;
  color: var(--verbo-teal);
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* Form Controls */
.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form-control, .input-text, .select-control {
  width: 100%;
  padding: 9px 13px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus, .input-text:focus, .select-control:focus {
  border-color: var(--verbo-teal);
  box-shadow: 0 0 0 3px var(--verbo-teal-light);
}

/* Data Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

thead th {
  background-color: var(--bg-canvas);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
}

tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
}

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

tbody tr:hover td {
  background-color: var(--bg-subtle);
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.badge-active, .badge-genuine {
  background-color: var(--success-bg);
  color: var(--success-text);
}
.badge-active .badge-dot, .badge-genuine .badge-dot {
  background-color: var(--success-text);
}

.badge-pending, .badge-unverified {
  background-color: var(--warning-bg);
  color: var(--warning-text);
}
.badge-pending .badge-dot, .badge-unverified .badge-dot {
  background-color: var(--warning-text);
}

.badge-danger, .badge-fake, .badge-suspended {
  background-color: var(--danger-bg);
  color: var(--danger-text);
}
.badge-danger .badge-dot, .badge-fake .badge-dot {
  background-color: var(--danger-text);
}

.badge-info {
  background-color: var(--info-bg);
  color: var(--info-text);
}
.badge-info .badge-dot {
  background-color: var(--info-text);
}

.badge-brand {
  background-color: var(--verbo-teal-light);
  color: var(--verbo-teal);
}
.badge-brand .badge-dot {
  background-color: var(--verbo-teal);
}

.badge-yellow {
  background-color: var(--verbo-yellow-light);
  color: var(--verbo-yellow-text);
}
.badge-yellow .badge-dot {
  background-color: var(--verbo-yellow-text);
}

/* Toast Notifications */
.toast-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-float);
  display: none;
  z-index: 9999;
  border-left: 4px solid var(--verbo-teal);
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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


/* ==========================================================================
   VERBO EDU — CANONICAL PROFILES, TIMETABLES & ADVANCED SAAS EXTENSIONS
   ========================================================================== */

/* Canonical Profile Full-Page Container */
.canonical-profile-view {
  background-color: var(--bg-canvas);
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-sticky-bar {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.profile-bar-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-avatar-xl {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--verbo-teal) 0%, #006D67 100%);
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 167, 157, 0.25);
  flex-shrink: 0;
}

.profile-avatar-xl.tutor {
  background: linear-gradient(135deg, #F59E0B 0%, #B45309 100%);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.profile-avatar-xl.staff {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.profile-title-group h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.profile-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-secondary);
}

.profile-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.profile-meta-pill a, .profile-meta-pill .link {
  color: var(--verbo-teal);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.profile-meta-pill a:hover, .profile-meta-pill .link:hover {
  text-decoration: underline;
}

.profile-actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

/* Metric Summary Vitals Cards */
.profile-vitals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.vital-card {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vital-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.vital-card-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.vital-value {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
}

.vital-value.teal { color: var(--verbo-teal); }
.vital-value.amber { color: #D97706; }
.vital-value.green { color: #059669; }

.vital-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.vital-sub strong {
  color: var(--text-primary);
}

/* Tab Navigation Strip */
.profile-tabs-strip {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--border-default);
  margin-bottom: 24px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 2px;
}

.profile-tab-btn {
  background: transparent;
  border: none;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: all var(--transition-fast);
}

.profile-tab-btn:hover {
  color: var(--verbo-teal);
  background: var(--verbo-teal-light);
}

.profile-tab-btn.active {
  color: var(--verbo-teal);
  font-weight: 800;
  border-bottom: 3px solid var(--verbo-teal);
  background: rgba(0, 167, 157, 0.04);
}

.profile-tab-btn .tab-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  color: var(--text-secondary);
}

.profile-tab-btn.active .tab-badge {
  background: var(--verbo-teal-light);
  color: var(--verbo-teal);
}

.profile-tab-pane {
  display: none;
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-tab-pane.active {
  display: block;
}

/* ==========================================================================
   PHASE 2B: 7-STATUS COLOR TOKENS FOR TIMETABLE & ATTENDANCE
   ========================================================================== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

/* 1. Scheduled / Upcoming: #2563EB */
.status-scheduled {
  background-color: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  border-color: rgba(37, 99, 235, 0.25);
}
.status-scheduled .status-dot { background-color: #2563EB; }

/* 2. Live / In Progress: #00A79D (With Pulse) */
.status-live {
  background-color: rgba(0, 167, 157, 0.12);
  color: #00A79D;
  border-color: rgba(0, 167, 157, 0.3);
}
.status-live .status-dot {
  background-color: #00A79D;
  box-shadow: 0 0 0 0 rgba(0, 167, 157, 0.7);
  animation: statusPulseTeal 1.5s infinite;
}
@keyframes statusPulseTeal {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 167, 157, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 167, 157, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 167, 157, 0); }
}

/* 3. Completed: #6B7280 */
.status-completed {
  background-color: rgba(107, 114, 128, 0.1);
  color: #4B5563;
  border-color: rgba(107, 114, 128, 0.25);
}
.status-completed .status-dot { background-color: #6B7280; }

/* 4. Cancelled: #DC2626 */
.status-cancelled {
  background-color: rgba(220, 38, 38, 0.1);
  color: #DC2626;
  border-color: rgba(220, 38, 38, 0.25);
}
.status-cancelled .status-dot { background-color: #DC2626; }

/* 5. Reschedule Pending: #D97706 */
.status-reschedule-pending {
  background-color: rgba(217, 119, 6, 0.12);
  color: #B45309;
  border-color: rgba(217, 119, 6, 0.3);
}
.status-reschedule-pending .status-dot { background-color: #D97706; }

/* 6. Rescheduled (Original Session): #8B5CF6 */
.status-rescheduled {
  background-color: rgba(139, 92, 246, 0.12);
  color: #7C3AED;
  border-color: rgba(139, 92, 246, 0.3);
}
.status-rescheduled .status-dot { background-color: #8B5CF6; }

/* 7. No Show / Exception: #991B1B */
.status-no-show {
  background-color: rgba(153, 27, 27, 0.12);
  color: #991B1B;
  border-color: rgba(153, 27, 27, 0.3);
}
.status-no-show .status-dot { background-color: #991B1B; }

/* ==========================================================================
   5-STATE INTERACTIVE ATTENDANCE CALENDAR (FOR STAFF & FACULTY)
   ========================================================================== */
.att-calendar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.att-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.att-cal-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.att-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.att-day-name {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding-bottom: 6px;
}

.att-day-cell {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.att-day-cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

.att-day-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
}

.att-day-chip {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
}

/* 5 State Colors */
.day-present {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid #10B981;
}
.day-present .att-day-chip {
  background: #10B981;
  color: #FFFFFF;
}

.day-absent {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid #EF4444;
}
.day-absent .att-day-chip {
  background: #EF4444;
  color: #FFFFFF;
}

.day-leave {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #F59E0B;
}
.day-leave .att-day-chip {
  background: #F59E0B;
  color: #FFFFFF;
}

.day-holiday {
  background: rgba(59, 130, 246, 0.08);
  border-left: 3px solid #3B82F6;
}
.day-holiday .att-day-chip {
  background: #3B82F6;
  color: #FFFFFF;
}

.day-off {
  background: rgba(148, 163, 184, 0.08);
  border-left: 3px solid #94A3B8;
}
.day-off .att-day-chip {
  background: #94A3B8;
  color: #FFFFFF;
}

/* ==========================================================================
   STAFF ACTIVITY & WORK MONITORING WIDGETS
   ========================================================================== */
.staff-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.pulse-active {
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-idle {
  background: #F59E0B;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseAmber 1.8s infinite;
}
@keyframes pulseAmber {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.pulse-offline {
  background: #94A3B8;
}

.work-timer-badge {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  background: var(--bg-subtle);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

/* ==========================================================================
   ASSIGNMENT-SPECIFIC TEACHING RATES TABLE
   ========================================================================== */
.rate-highlight {
  font-size: 15px;
  font-weight: 800;
  color: var(--verbo-teal);
  background: var(--verbo-teal-light);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* ==========================================================================
   NEW STUDENT ENROLLMENT PIPELINE
   ========================================================================== */
.enrollment-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 20px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.enrollment-step {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 2px solid var(--border-strong);
  color: var(--text-muted);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.enrollment-step.active .step-circle {
  background: var(--verbo-teal);
  border-color: var(--verbo-teal);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px var(--verbo-teal-tint);
}

.enrollment-step.completed .step-circle {
  background: #059669;
  border-color: #059669;
  color: #FFFFFF;
}

.step-details h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.step-details span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Attention Required Priority Drawer */
.attention-card {
  border-left: 4px solid #DC2626;
  background: #FFFFFF;
  border-top: 1px solid var(--border-default);
  border-right: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.attention-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   RESPONSIVE ENHANCEMENTS
   ========================================================================== */
@media (max-width: 1024px) {
  .profile-bar-main {
    width: 100%;
  }
  .profile-actions-bar {
    width: 100%;
    justify-content: flex-start;
  }
  .att-cal-grid {
    gap: 4px;
  }
  .att-day-cell {
    min-height: 60px;
    padding: 6px 4px;
  }
  .enrollment-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  body {
    flex-direction: column;
    padding-left: 0 !important;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .content-area {
    padding: 16px;
  }
  .profile-sticky-bar {
    padding: 16px;
  }
  .profile-vitals-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DAILY OPERATIONAL OVERVIEW & CARD OVERFLOW CORRECTIONS (SECTION 3)
   ========================================================================== */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
}

.ops-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.ops-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 540px) {
  .ops-metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.ops-metric-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.ops-metric-box .num {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 800;
  color: var(--text-primary);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.ops-metric-box .num.teal {
  color: var(--verbo-teal);
}

.ops-metric-box .lbl {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  max-width: 100%;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  hyphens: auto;
  text-align: center;
}

/* Universal Card Content Containment */
.kpi-card, .vital-card, .attention-kpi-card, .coord-preview-card, .prog-kpi-card {
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.kpi-card-val, .vital-value {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kpi-card-sub, .vital-sub {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   COURSE-WISE STUDENT DISTRIBUTION BY PROGRAMME (SECTION 2)
   ========================================================================== */
.programme-dist-section {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  min-width: 0;
  box-sizing: border-box;
}

.programme-dist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.programme-dist-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prog-stacked-bar-container {
  margin-bottom: 16px;
  width: 100%;
}
.prog-stacked-bar {
  display: flex;
  height: 8px;
  border-radius: 6px;
  overflow: hidden;
  background: #E2E8F0;
  margin-bottom: 10px;
}
.prog-bar-slice {
  height: 100%;
  transition: width 0.3s ease;
}
.prog-bar-slice.tuition { background: var(--verbo-teal, #00A79D); }
.prog-bar-slice.homeschool { background: #FACF49; }
.prog-bar-slice.other { background: #8B5CF6; }
.prog-stacked-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 11.5px;
  color: #475569;
}
.prog-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.prog-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.prog-legend-dot.tuition { background: var(--verbo-teal, #00A79D); }
.prog-legend-dot.homeschool { background: #FACF49; }
.prog-legend-dot.other { background: #8B5CF6; }

.programme-dist-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.prog-kpi-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.prog-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.prog-kpi-card.tuition {
  background: linear-gradient(135deg, rgba(0, 167, 157, 0.08) 0%, #FFFFFF 100%);
  border-color: rgba(0, 167, 157, 0.28);
  border-left: 4px solid var(--verbo-teal);
}

.prog-kpi-card.homeschooling {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, #FFFFFF 100%);
  border-color: rgba(124, 58, 237, 0.28);
  border-left: 4px solid #7C3AED;
}

.prog-kpi-card.other {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, #FFFFFF 100%);
  border-color: rgba(217, 119, 6, 0.28);
  border-left: 4px solid #D97706;
}

.prog-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.prog-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.prog-title-text {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
}

.prog-card-main-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.prog-count-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.prog-card-val {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.prog-card-unit {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
}

.prog-kpi-card.tuition .prog-card-val { color: var(--verbo-teal); }
.prog-kpi-card.homeschooling .prog-card-val { color: #7C3AED; }
.prog-kpi-card.other .prog-card-val { color: #D97706; }

.prog-card-pct-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.prog-sub-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.prog-sub-chip {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #E2E8F0;
  padding: 3px 9px;
  border-radius: 8px;
  white-space: nowrap;
}

.prog-progress-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.prog-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.prog-card-action {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  padding-top: 9px;
  margin-top: 2px;
}

.prog-detailed-note {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
}

.prog-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.prog-view-btn:hover {
  transform: translateX(2px);
  background: #FFFFFF;
}

.prog-kpi-card.tuition .prog-card-action,
.prog-kpi-card.tuition .prog-view-btn { color: var(--verbo-teal); }
.prog-kpi-card.homeschooling .prog-card-action,
.prog-kpi-card.homeschooling .prog-view-btn { color: #7C3AED; }
.prog-kpi-card.other .prog-card-action,
.prog-kpi-card.other .prog-view-btn { color: #D97706; }

/* ==========================================================================
   ACADEMIC COORDINATOR DASHBOARD 3 PRIMARY KPI CARDS (SECTION 1)
   ========================================================================== */
.ac-kpi-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
}

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

/* ==========================================================================
   REASSIGNMENT & REMOVAL ACTIONS (SECTIONS 4-7)
   ========================================================================== */
.btn-reassign {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-reassign:hover {
  background: #DBEAFE;
  color: #1D4ED8;
}

.btn-remove-assign {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-remove-assign:hover {
  background: #FEE2E2;
  color: #B91C1C;
}

.coordinator-info-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}


/* -------------------------------------------------------------
   COORDINATOR DIRECTORY & VIEW TOGGLE ENHANCEMENTS
   ------------------------------------------------------------- */
.view-toggle-group {
  display: inline-flex;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFFFFF;
}
.view-toggle-group .btn {
  border-radius: 0;
  border: none;
  border-right: 1px solid var(--border-default);
  padding: 6px 14px;
  font-weight: 700;
  font-size: 13px;
  background: #F8FAFC;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.view-toggle-group .btn:last-child {
  border-right: none;
}
.view-toggle-group .btn.active {
  background: var(--verbo-teal);
  color: #FFFFFF;
}
.view-toggle-group .btn:hover:not(.active) {
  background: #E2E8F0;
}

.coord-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.coord-table th {
  background: var(--bg-canvas, #F8FAFC);
  padding: 12px 14px;
  text-align: left;
  font-weight: 800;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-default);
  white-space: nowrap;
}
.coord-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light, #F1F5F9);
  vertical-align: middle;
}
.coord-table tr:hover {
  background: rgba(0, 167, 157, 0.03);
}

/* Responsive overflow protection */
.ops-metric-box, .attention-kpi-card, .prog-kpi-card, .kpi-card, .coord-preview-card {
  min-width: 0;
  box-sizing: border-box;
}


/* ==========================================================================
   REFERENCE 1 — STUDENT & TUTOR PERSONAL DASHBOARD SYSTEM (Mia Music Inspired)
   Soft, friendly, rounded 3D claymorphic cards, personalized hero, weekly bar chart,
   subject donut chart, upcoming class queue, and sidebar package status card.
   ========================================================================== */

.r1-page-wrapper {
  display: flex;
  min-height: 100vh;
  background-color: #F8FAFC;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0F172A;
}

/* Reference 1 App Sidebar */
.r1-sidebar {
  width: 260px;
  background: #FFFFFF;
  border-right: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 30;
}

.r1-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #F1F5F9;
  border-radius: 20px;
  margin-bottom: 24px;
}

.r1-avatar-container {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #00A79D 0%, #FACF49 100%);
  flex-shrink: 0;
}

.r1-avatar-container img, .r1-avatar-container .r1-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #00A79D;
  font-size: 16px;
}

.r1-greeting-text {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.r1-role-subtext {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
}

.r1-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.r1-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 14px;
  color: #475569;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.r1-nav-item:hover {
  background: #F1F5F9;
  color: #00A79D;
  transform: translateX(3px);
}

.r1-nav-item.active {
  background: #E6F6F5;
  color: #00A79D;
  box-shadow: 0 4px 12px rgba(0, 167, 157, 0.12);
}

.r1-nav-item svg, .r1-nav-item .r1-icon {
  width: 20px;
  height: 20px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pinned Package Card at bottom of sidebar */
.r1-sidebar-package-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 18px;
  margin-top: auto;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.r1-sidebar-package-card::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 167, 157, 0.4) 0%, transparent 70%);
}

.r1-pkg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(250, 207, 73, 0.2);
  color: #FACF49;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.r1-pkg-hours {
  font-size: 24px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.r1-pkg-sub {
  font-size: 11px;
  color: #94A3B8;
  margin-bottom: 12px;
}

.r1-pkg-btn {
  display: block;
  text-align: center;
  background: #00A79D;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 167, 157, 0.3);
}

.r1-pkg-btn:hover {
  background: #00847C;
  transform: translateY(-1px);
}

/* Reference 1 Main Workspace */
.r1-main {
  flex: 1;
  padding: 28px 36px;
  overflow-y: auto;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Reference 1 Top Bar */
.r1-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
}

.r1-page-title {
  font-size: 26px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 0;
}

.r1-search-box {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.r1-search-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 30px;
  padding: 10px 18px 10px 42px;
  font-size: 13.5px;
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  outline: none;
  transition: all 0.2s ease;
}

.r1-search-input:focus {
  border-color: #00A79D;
  box-shadow: 0 0 0 3px rgba(0, 167, 157, 0.15);
}

.r1-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 16px;
}

.r1-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.r1-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.r1-icon-btn:hover {
  background: #F8FAFC;
  color: #00A79D;
  transform: translateY(-1px);
}

.r1-badge-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  border: 2px solid #FFFFFF;
}

/* Reference 1 Hero Greeting Banner */
.r1-hero-banner {
  background: linear-gradient(135deg, #E6F6F5 0%, #F1F5F9 50%, #FEF9E7 100%);
  border-radius: 28px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(0, 167, 157, 0.1);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 167, 157, 0.15);
}

.r1-hero-content {
  max-width: 620px;
  z-index: 2;
}

.r1-hero-title {
  font-size: 28px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.r1-hero-sub {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 18px 0;
}

.r1-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00A79D;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 167, 157, 0.25);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.r1-hero-btn:hover {
  background: #00847C;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 167, 157, 0.35);
}

.r1-hero-visual {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.r1-hero-avatar-card {
  width: 90px;
  height: 90px;
  border-radius: 26px;
  background: #FFFFFF;
  padding: 4px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.r1-hero-avatar-card img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
}

/* Reference 1 Four Pastel Metric Cards Grid */
.r1-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.r1-metric-card {
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.04);
}

.r1-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.08);
}

/* Pastel Palettes matching Reference 1 */
.r1-metric-card.lavender {
  background: #F3E8FF;
  border: 1px solid #E9D5FF;
}
.r1-metric-card.rose {
  background: #FFE4E6;
  border: 1px solid #FECDD3;
}
.r1-metric-card.amber {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
}
.r1-metric-card.sky {
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
}

.r1-metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.r1-metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #0F172A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.r1-metric-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.r1-metric-value {
  font-size: 32px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.03em;
  margin: 4px 0 6px 0;
  line-height: 1.1;
}

.r1-metric-delta {
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.r1-metric-card.lavender .r1-metric-delta { color: #7C3AED; }
.r1-metric-card.rose .r1-metric-delta { color: #E11D48; }
.r1-metric-card.amber .r1-metric-delta { color: #D97706; }
.r1-metric-card.sky .r1-metric-delta { color: #0284C7; }

/* Reference 1 Analytics Row (Bar Chart & Donut Chart) */
.r1-analytics-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.r1-chart-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.03);
}

.r1-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.r1-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.r1-card-select {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 4px 12px;
  cursor: pointer;
  outline: none;
}

/* Reference 1 Weekly Rounded Bar Chart */
.r1-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 160px;
  padding-top: 10px;
  gap: 14px;
}

.r1-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
  gap: 8px;
}

.r1-bar-track {
  width: 100%;
  max-width: 36px;
  background: #F1F5F9;
  border-radius: 18px;
  height: 130px;
  display: flex;
  align-items: flex-end;
  padding: 3px;
  box-sizing: border-box;
}

.r1-bar-fill {
  width: 100%;
  border-radius: 16px;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.r1-bar-fill.bar-teal { background: linear-gradient(180deg, #00A79D 0%, #00847C 100%); }
.r1-bar-fill.bar-yellow { background: linear-gradient(180deg, #FACF49 0%, #EAB308 100%); }
.r1-bar-fill.bar-rose { background: linear-gradient(180deg, #FDA4AF 0%, #F43F5E 100%); }
.r1-bar-fill.bar-purple { background: linear-gradient(180deg, #C084FC 0%, #9333EA 100%); }
.r1-bar-fill.bar-sky { background: linear-gradient(180deg, #7DD3FC 0%, #0284C7 100%); }

.r1-bar-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
}

/* Reference 1 Donut Chart with Legend */
.r1-donut-container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 160px;
}

.r1-donut-svg {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
}

.r1-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.r1-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.r1-legend-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #334155;
}

.r1-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.r1-legend-val {
  font-weight: 800;
  color: #0F172A;
}

/* Reference 1 Content Row (Upcoming Classes / Recents & Daily Focus Mix) */
.r1-content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.r1-list-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.r1-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.r1-list-item:hover {
  background: #FFFFFF;
  border-color: #00A79D;
  box-shadow: 0 4px 12px rgba(0, 167, 157, 0.08);
  transform: translateX(2px);
}

.r1-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.r1-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #E6F6F5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #00A79D;
  flex-shrink: 0;
}

.r1-item-name {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
}

.r1-item-sub {
  font-size: 12px;
  color: #64748B;
}

.r1-item-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #00A79D;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.r1-item-btn:hover {
  background: #00847C;
  transform: scale(1.08);
}

/* Reference 1 Featured Daily Mix Card */
.r1-featured-card {
  background: linear-gradient(135deg, #F5F3FF 0%, #FFFFFF 100%);
  border: 1px solid #DDD6FE;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.r1-featured-img {
  width: 100%;
  height: 120px;
  border-radius: 14px;
  background: #EDE9FE;
  object-fit: cover;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #7C3AED;
}

.r1-featured-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.r1-featured-meta {
  font-size: 12px;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ==========================================================================
   REFERENCE 2 — COMPLETE ENTERPRISE ADMIN PANEL DESIGN SYSTEM (Jobie Inspired)
   Modern navy/slate sidebar with curved active pill tabs, search header, filter chips,
   enterprise tables with avatar & contact icons, status badges, grid cards.
   ========================================================================== */

.jobie-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background-color: #F8FAFC;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.jobie-sidebar {
  width: 270px;
  background: #0F172A;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 40;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.jobie-brand-header {
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jobie-nav-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
}

.jobie-group-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  padding: 10px 12px 6px 12px;
  margin: 0;
}

.jobie-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: 12px;
  color: #CBD5E1;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.jobie-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
}

/* Curved active pill indicator inspired by Jobie */
.jobie-nav-link.active {
  background: #00A79D;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 167, 157, 0.35);
}

.jobie-nav-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}

.jobie-nav-link.active .jobie-nav-badge {
  background: #FFFFFF;
  color: #00A79D;
}

/* Jobie Main Panel & Top Bar */
.jobie-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.jobie-topbar {
  height: 70px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  flex-shrink: 0;
}

.jobie-search-bar {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  border-radius: 25px;
  padding: 8px 18px;
  width: 360px;
  gap: 10px;
}

.jobie-search-bar input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: #0F172A;
  width: 100%;
}

.jobie-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.jobie-tab-chip {
  padding: 6px 16px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jobie-tab-chip:hover {
  border-color: #00A79D;
  color: #00A79D;
}

.jobie-tab-chip.active {
  background: #00A79D;
  color: #FFFFFF;
  border-color: #00A79D;
  box-shadow: 0 4px 10px rgba(0, 167, 157, 0.25);
}

/* Jobie Enterprise Data Table */
.jobie-table-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  margin-bottom: 24px;
}

.jobie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.jobie-table th {
  background: #F8FAFC;
  padding: 14px 18px;
  text-align: left;
  font-weight: 800;
  color: #475569;
  border-bottom: 1px solid #E2E8F0;
  white-space: nowrap;
}

.jobie-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
  vertical-align: middle;
}

.jobie-table tr:hover {
  background: #F8FAFC;
}

.jobie-id-pill {
  font-family: monospace;
  font-weight: 700;
  background: #F1F5F9;
  color: #0F172A;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.jobie-contact-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jobie-contact-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
}

.jobie-contact-btn:hover {
  background: #00A79D;
  color: #FFFFFF;
}

/* Jobie Grid Card View */
.jobie-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.jobie-company-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.jobie-company-card:hover {
  transform: translateY(-3px);
  border-color: #00A79D;
  box-shadow: 0 10px 24px rgba(0, 167, 157, 0.1);
}


/* ==========================================================================
   REFERENCE 3 — INDIVIDUAL ADMIN OPERATIONAL DASHBOARDS (Jewellery Style)
   Pastel 6-card summary grid, variance progress bars, milestone timeline,
   and right-side coordinator/entity inspector card.
   ========================================================================== */

.ref3-dashboard-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

@media (max-width: 1360px) {
  .ref3-dashboard-container {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
  }
}

@media (max-width: 1200px) {
  .ref3-dashboard-container {
    grid-template-columns: 1fr;
  }
}

.ref3-main-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* 6-Card Pastel Summary Grid */
.ref3-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

@media (max-width: 860px) {
  .ref3-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .ref3-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.ref3-kpi-card {
  border-radius: 20px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.ref3-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.ref3-kpi-card.c-amber { background: #FEF9E7; border: 1px solid #FACF49; }
.ref3-kpi-card.c-teal { background: #E6F6F5; border: 1px solid #99DCD7; }
.ref3-kpi-card.c-lavender { background: #F3E8FF; border: 1px solid #DDD6FE; }
.ref3-kpi-card.c-coral { background: #FFF1F2; border: 1px solid #FECDD3; }
.ref3-kpi-card.c-purple { background: #EDE9FE; border: 1px solid #C4B5FD; }
.ref3-kpi-card.c-rose { background: #FDF2F8; border: 1px solid #FBCFE8; }

.ref3-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ref3-kpi-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ref3-kpi-value {
  font-size: 28px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ref3-kpi-sub {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748B;
  margin-top: 6px;
}

/* Reference 3 Analytical Section (Variance & Milestones) */
.ref3-analytics-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.ref3-analytics-row > *,
.ref3-dashboard-container > * {
  min-width: 0;
}

@media (max-width: 1120px) {
  .ref3-analytics-row {
    grid-template-columns: 1fr;
  }
}

/* Sidebar cleanups - Remove distracting white badge boxes */
.jobie-sidebar .badge-pill#sideCoordCount,
.jobie-sidebar .badge-pill#sideAhCount,
.jobie-sidebar .badge-pill#sideStdCount,
.jobie-sidebar .badge-pill#sideTutCount,
.jobie-sidebar .badge-pill {
  display: none !important;
}

.nav-subtle-tag {
  background: rgba(250, 207, 73, 0.18);
  color: #FACF49;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  margin-left: auto;
  letter-spacing: 0.2px;
  flex-shrink: 0;
}

/* Image 5 Style Learning Hub & Modern Profile Enhancements */
.hub-hero-banner {
  background: linear-gradient(135deg, #E6F6F5 0%, #F1F5F9 50%, #FEF9E7 100%);
  border-radius: 24px;
  padding: 22px 28px;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 167, 157, 0.2);
  box-shadow: 0 4px 20px rgba(0, 167, 157, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hub-hero-content {
  flex: 1;
}

.hub-hero-greeting {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.hub-hero-sub {
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 14px;
}

.hub-hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.hub-hero-avatar-box {
  margin-left: 20px;
  flex-shrink: 0;
}

.hub-hero-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.hub-card-value {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  color: #0F172A;
  margin-bottom: 4px;
}

.hub-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.hub-card-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
}

@media (max-width: 768px) {
  .hub-hero-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

.hub-pastels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1200px) {
  .hub-pastels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.hub-card {
  padding: 18px 20px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 125px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.hub-card.lavender {
  background: #F3E8FF;
  border-color: #E9D5FF;
}

.hub-card.rose {
  background: #FFE4E6;
  border-color: #FECDD3;
}

.hub-card.amber {
  background: #FEF3C7;
  border-color: #FDE68A;
}

.hub-card.sky {
  background: #E0F2FE;
  border-color: #BAE6FD;
}

.hub-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.hub-card-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hub-card.lavender .hub-card-title { color: #7C3AED; }
.hub-card.rose .hub-card-title { color: #E11D48; }
.hub-card.amber .hub-card-title { color: #D97706; }
.hub-card.sky .hub-card-title { color: #0284C7; }

.hub-card-val {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  color: #0F172A;
  margin-bottom: 4px;
}

.hub-card-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
}

.ref3-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.ref3-variance-bar {
  margin-bottom: 16px;
}

.ref3-variance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.ref3-prog-track {
  height: 10px;
  border-radius: 10px;
  background: #F1F5F9;
  overflow: hidden;
}

.ref3-prog-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.6s ease;
}

/* Reference 3 Right Inspector Sidebar */
.ref3-side-inspector {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.ref3-inspector-avatar-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 20px;
}

.ref3-inspector-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid #00A79D;
  padding: 3px;
  margin-bottom: 12px;
  object-fit: cover;
}

.ref3-inspector-name {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.ref3-inspector-role {
  font-size: 12px;
  font-weight: 700;
  color: #00A79D;
  background: #E6F6F5;
  padding: 3px 10px;
  border-radius: 12px;
}

.ref3-quick-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
}

.ref3-action-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ref3-action-circle:hover {
  background: #00A79D;
  color: #FFFFFF;
  border-color: #00A79D;
}

.ref3-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ref3-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed #F1F5F9;
}

.ref3-detail-label {
  color: #64748B;
  font-weight: 600;
}

.ref3-detail-val {
  color: #0F172A;
  font-weight: 700;
}


/* ==========================================================================
   REFERENCE 4 — ADMIN-SIDE STUDENT & TUTOR PROFILES (Clara Martin Style)
   Profile identity card with avatar ring, vertical course timeline with connecting line & milestone nodes,
   payment info card, high-contrast package/premium card, and recent activity list.
   ========================================================================== */

.ref4-profile-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Clara Martin Profile Identity Card */
.ref4-bio-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #E2E8F0;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

@media (max-width: 900px) {
  .ref4-bio-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
}

.ref4-avatar-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.ref4-avatar-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #00A79D 0%, #FACF49 100%);
  box-shadow: 0 10px 25px rgba(0, 167, 157, 0.2);
}

.ref4-avatar-ring img, .ref4-avatar-ring .ref4-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
}

.ref4-bio-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ref4-name-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ref4-profile-name {
  font-size: 26px;
  font-weight: 900;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.02em;
}

.ref4-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

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

.ref4-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #475569;
}

.ref4-meta-icon {
  color: #00A79D;
  font-size: 16px;
}

.ref4-social-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.ref4-social-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ref4-social-pill:hover {
  background: #00A79D;
  color: #FFFFFF;
}

/* Clara Martin Two-Column Body Grid */
.ref4-columns-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

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

/* "Mes formations" Vertical Course Stepper Timeline */
.ref4-courses-container {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.ref4-timeline-wrapper {
  position: relative;
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.ref4-timeline-line {
  position: absolute;
  left: 12px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #E2E8F0;
}

.ref4-timeline-node {
  position: relative;
}

.ref4-timeline-dot {
  position: absolute;
  left: -36px;
  top: 20px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #00A79D;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 167, 157, 0.2);
}

.ref4-timeline-dot.done {
  background: #00A79D;
  border-color: #00A79D;
  color: #FFFFFF;
}

.ref4-course-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.ref4-course-box:hover {
  background: #FFFFFF;
  border-color: #00A79D;
  box-shadow: 0 6px 18px rgba(0, 167, 157, 0.08);
}

/* Clara Martin Payment Info & Premium Package Cards */
.ref4-payment-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  margin-bottom: 20px;
}

.ref4-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}

.ref4-package-premium-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.ref4-pkg-features {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ref4-pkg-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #E2E8F0;
}

.ref4-pkg-check {
  color: #00A79D;
  font-weight: 900;
}

/* Clara Martin Activity Stream */
.ref4-activity-container {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.ref4-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #F1F5F9;
}

.ref4-activity-row:last-child {
  border-bottom: none;
}


/* =============================================================================
   PROMPT 11: PROFILE REFINEMENT, STRUCTURED CARDS, VERTICAL CHARTS & INTERACTIONS
   ============================================================================= */

/* 1. Large 88px Circular Profile Photo */
.profile-avatar-xl {
  width: 88px !important;
  height: 88px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--verbo-teal) 0%, #006D67 100%);
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 167, 157, 0.3);
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid #FFFFFF;
}

.profile-avatar-xl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-avatar-xl.tutor {
  background: linear-gradient(135deg, #F59E0B 0%, #B45309 100%) !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3) !important;
}

.profile-avatar-xl.staff {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%) !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3) !important;
}

/* 2. Structured Information Field Boxes & Cards */
.profile-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  transition: border-color 0.15s ease;
}

.profile-item:hover {
  border-color: #CBD5E1 !important;
}

.profile-item label {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #64748B !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  margin-bottom: 0 !important;
}

.profile-item span,
.profile-item strong {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  word-break: break-word !important;
}

.profile-info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .profile-info-cards-grid {
    grid-template-columns: 1fr;
  }
}

.profile-info-card {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.profile-info-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.profile-info-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.profile-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

/* 3. Multi-Contact Cards with Call, WhatsApp & Copy */
.contact-cards-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.contact-phone-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-phone-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-phone-type-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: #E2E8F0;
  color: #334155;
  text-transform: uppercase;
}

.contact-phone-type-badge.primary {
  background: rgba(0, 167, 157, 0.15);
  color: var(--verbo-teal);
}

.contact-phone-number {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  font-family: monospace;
}

.contact-actions-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-contact-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-contact-call {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #DBEAFE;
}
.btn-contact-call:hover {
  background: #DBEAFE;
}

.btn-contact-wa {
  background: #ECFDF5;
  color: #059669;
  border-color: #A7F3D0;
}
.btn-contact-wa:hover {
  background: #D1FAE5;
}

.btn-contact-copy {
  background: #F1F5F9;
  color: #475569;
  border-color: #E2E8F0;
}
.btn-contact-copy:hover {
  background: #E2E8F0;
}

/* 4. Vertical Bar Chart Enhancements */
.bar-chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed #E2E8F0;
  flex-wrap: wrap;
}

.bar-chart-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.bar-chart-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* 5. Completed Class Attendance Box */
.completed-class-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  padding: 14px;
  margin-top: 14px;
  color: #166534;
}

.completed-class-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 13.5px;
}

.completed-class-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 12.5px;
}

/* ==========================================================================
   6. COLLAPSIBLE HOVER-TO-EXPAND SIDEBAR & MOBILE DRAWER ARCHITECTURE
   ========================================================================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (min-width: 901px) {
  body {
    padding-left: 72px;
    transition: padding-left 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }
  body.sidebar-pinned {
    padding-left: 280px;
  }
}

body.hide-sidebar-mode {
  padding-left: 0 !important;
}

main {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

aside.jobie-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 100vh;
  max-height: 100vh;
  z-index: 160;
  overflow: hidden;
  transition: width 0.15s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.15s ease;
  will-change: width, transform;
}

@media (min-width: 901px) {
  aside.jobie-sidebar.is-expanded,
  body.sidebar-pinned aside.jobie-sidebar {
    width: 280px;
  }

  aside.jobie-sidebar.is-expanded:not(.is-pinned) {
    box-shadow: 12px 0 36px rgba(2, 6, 23, 0.38);
  }
}

/* Sidebar Brand Row */
.jobie-sidebar .brand-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 14px 12px !important;
  transition: padding 0.2s ease, justify-content 0.2s ease;
  flex-shrink: 0;
}

aside.jobie-sidebar.is-expanded .brand-box,
body.sidebar-pinned aside.jobie-sidebar .brand-box,
aside.jobie-sidebar.mobile-open .brand-box {
  justify-content: space-between;
  padding: 16px 18px !important;
}

.sidebar-brand-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00A79D 0%, #059669 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(0, 167, 157, 0.35);
  flex-shrink: 0;
}

.sidebar-brand-full {
  display: none;
  align-items: center;
}

aside.jobie-sidebar.is-expanded .sidebar-brand-compact,
body.sidebar-pinned aside.jobie-sidebar .sidebar-brand-compact,
aside.jobie-sidebar.mobile-open .sidebar-brand-compact {
  display: none;
}

aside.jobie-sidebar.is-expanded .sidebar-brand-full,
body.sidebar-pinned aside.jobie-sidebar .sidebar-brand-full,
aside.jobie-sidebar.mobile-open .sidebar-brand-full {
  display: inline-flex;
}

.sidebar-control-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.sidebar-control-btn:hover {
  background: rgba(0, 167, 157, 0.25);
  color: #FFFFFF;
  border-color: rgba(0, 167, 157, 0.5);
}

@media (min-width: 901px) {
  aside.jobie-sidebar.is-expanded #sidebarPinBtn,
  body.sidebar-pinned #sidebarPinBtn {
    display: inline-flex;
  }
  body.sidebar-pinned #sidebarPinBtn {
    background: rgba(0, 167, 157, 0.3);
    color: #5EEAD4;
    border-color: #00A79D;
  }
}

/* Role Selector Panel in Collapsed vs Expanded */
.jobie-sidebar .role-panel {
  padding: 10px 12px !important;
  transition: padding 0.2s ease;
  flex-shrink: 0;
}

.sidebar-role-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin: 0 auto;
  border-radius: 9px;
  background: rgba(0, 167, 157, 0.18);
  border: 1px solid rgba(0, 167, 157, 0.45);
  color: #5EEAD4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.jobie-sidebar .role-panel label,
.jobie-sidebar .role-panel .role-select {
  display: none;
}

aside.jobie-sidebar.is-expanded .role-panel,
body.sidebar-pinned aside.jobie-sidebar .role-panel,
aside.jobie-sidebar.mobile-open .role-panel {
  padding: 12px 16px !important;
}

aside.jobie-sidebar.is-expanded .sidebar-role-badge,
body.sidebar-pinned aside.jobie-sidebar .sidebar-role-badge,
aside.jobie-sidebar.mobile-open .sidebar-role-badge {
  display: none;
}

aside.jobie-sidebar.is-expanded .role-panel label,
aside.jobie-sidebar.is-expanded .role-panel .role-select,
body.sidebar-pinned aside.jobie-sidebar .role-panel label,
body.sidebar-pinned aside.jobie-sidebar .role-panel .role-select,
aside.jobie-sidebar.mobile-open .role-panel label,
aside.jobie-sidebar.mobile-open .role-panel .role-select {
  display: block;
}

/* Nav Links & Group Headers in Collapsed Rail vs Expanded */
.jobie-sidebar #sidebarNav {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 8px 16px;
}

.jobie-sidebar .nav-group-header {
  height: 1px;
  margin: 8px 14px;
  padding: 0;
  font-size: 0;
  opacity: 0.35;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.16s ease;
}

aside.jobie-sidebar.is-expanded .nav-group-header,
body.sidebar-pinned aside.jobie-sidebar .nav-group-header,
aside.jobie-sidebar.mobile-open .nav-group-header {
  height: auto;
  margin: 12px 8px 6px;
  padding: 4px 10px;
  font-size: 10px;
  opacity: 1;
  background: transparent;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #64748B;
}

.jobie-sidebar .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 40px;
  margin: 3px auto;
  padding: 0 !important;
  border-radius: 10px;
  gap: 0;
  font-size: 0;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.18s ease, background 0.15s ease, color 0.15s ease, padding 0.18s ease;
}

.jobie-sidebar .nav-link[hidden],
.jobie-sidebar .nav-link.perm-hidden {
  display: none !important;
}

.jobie-sidebar .nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.jobie-sidebar .nav-link .nav-label-wrap {
  display: flex;
  flex: 0 0 0;
  width: 0;
  max-width: 0;
  opacity: 0;
  font-size: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.jobie-sidebar .nav-link .nav-label-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jobie-sidebar .nav-link.active {
  background: rgba(0, 167, 157, 0.22) !important;
  color: #5EEAD4 !important;
  box-shadow: inset 3px 0 0 #00A79D;
}

aside.jobie-sidebar.is-expanded .nav-link,
body.sidebar-pinned aside.jobie-sidebar .nav-link,
aside.jobie-sidebar.mobile-open .nav-link {
  justify-content: flex-start;
  width: 100%;
  height: auto;
  min-height: 38px;
  margin: 2px 0;
  padding: 8px 10px !important;
  gap: 8px;
  font-size: 12.5px;
}

aside.jobie-sidebar.is-expanded .nav-link svg,
body.sidebar-pinned aside.jobie-sidebar .nav-link svg,
aside.jobie-sidebar.mobile-open .nav-link svg {
  width: 15px;
  height: 15px;
}

aside.jobie-sidebar.is-expanded .nav-link .nav-label-wrap,
body.sidebar-pinned aside.jobie-sidebar .nav-link .nav-label-wrap,
aside.jobie-sidebar.mobile-open .nav-link .nav-label-wrap {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  opacity: 1;
  pointer-events: auto;
}

/* Operator Footer in Rail vs Expanded */
.sidebar-operator-footer {
  padding: 10px !important;
  justify-content: center;
}

.sidebar-operator-meta,
.sidebar-operator-dot {
  display: none !important;
}

aside.jobie-sidebar.is-expanded .sidebar-operator-footer,
body.sidebar-pinned aside.jobie-sidebar .sidebar-operator-footer,
aside.jobie-sidebar.mobile-open .sidebar-operator-footer {
  padding: 12px 16px !important;
  justify-content: flex-start;
}

aside.jobie-sidebar.is-expanded .sidebar-operator-meta,
body.sidebar-pinned aside.jobie-sidebar .sidebar-operator-meta,
aside.jobie-sidebar.mobile-open .sidebar-operator-meta {
  display: block !important;
}

aside.jobie-sidebar.is-expanded .sidebar-operator-dot,
body.sidebar-pinned aside.jobie-sidebar .sidebar-operator-dot,
aside.jobie-sidebar.mobile-open .sidebar-operator-dot {
  display: inline-block !important;
}

/* Fixed Sidebar Tooltip Pill */
.sidebar-rail-tooltip {
  position: fixed;
  left: 80px;
  z-index: 300;
  padding: 6px 11px;
  border-radius: 8px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.32);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  white-space: nowrap;
}

.sidebar-rail-tooltip.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Mobile & Tablet Hamburger + Off-Canvas Drawer */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  border-color: var(--verbo-teal);
  color: var(--verbo-teal);
}

.desktop-sidebar-pin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #334155;
  cursor: pointer;
  font-size: 15px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.desktop-sidebar-pin-btn:hover,
body.sidebar-pinned .desktop-sidebar-pin-btn {
  border-color: var(--verbo-teal);
  color: var(--verbo-teal);
  background: rgba(0, 167, 157, 0.08);
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(2px);
  z-index: 210;
}

.sidebar-backdrop.active {
  display: block;
}

@media (max-width: 1360px) {
  header {
    height: auto !important;
    min-height: 60px;
    padding: 8px 20px !important;
    flex-wrap: wrap;
    gap: 10px;
  }
  .header-actions {
    gap: 10px !important;
  }
  .header-actions .search-box {
    width: 180px !important;
  }
}

@media (max-width: 1120px) {
  .ref3-kpi-card {
    min-width: 0;
  }
  .header-actions .clock-badge {
    display: none;
  }
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: inline-flex;
  }
  .desktop-sidebar-pin-btn {
    display: none;
  }
  aside.jobie-sidebar {
    width: 270px !important;
    max-width: 84vw;
    z-index: 240;
    transform: translateX(-100%);
    box-shadow: none;
  }
  aside.jobie-sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 16px 0 40px rgba(2, 6, 23, 0.45);
  }
  aside.jobie-sidebar.mobile-open #sidebarMobileCloseBtn {
    display: inline-flex !important;
  }
  .ref3-dashboard-container {
    grid-template-columns: 1fr;
  }
  header {
    height: auto !important;
    min-height: 56px;
    padding: 10px 14px !important;
    flex-wrap: wrap;
    gap: 8px;
  }
  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }
  .header-actions .search-box {
    flex: 1 1 180px;
    min-width: 0;
  }
  .header-actions .search-box input {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .clock-badge,
  .status-indicator {
    display: none;
  }
  .breadcrumbs {
    flex-wrap: wrap;
    min-width: 0;
    font-size: 12px;
    line-height: 1.3;
  }
  .content-area {
    padding: 12px !important;
  }
  .prog-card-val {
    font-size: 24px;
  }
}

/* =========================================================================
   DYNAMIC ENROLLMENT ECOSYSTEM WIZARD STYLES
   ========================================================================= */
.wiz-step-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  background: #EDF2F7;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}
.wiz-step-pill:hover {
  background: #E2E8F0;
  color: #0F172A;
}
.wiz-step-pill.active {
  background: var(--verbo-teal);
  color: #FFFFFF;
}
.wiz-step-pill.completed {
  background: #E6FFFA;
  color: var(--verbo-teal);
  border: 1px solid var(--verbo-teal);
}

.course-select-card {
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px 16px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.course-select-card:hover {
  border-color: #94A3B8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.course-select-card.selected {
  border-color: var(--verbo-teal);
  background: #F0FDF4;
  box-shadow: 0 0 0 3px rgba(0, 167, 157, 0.2);
}
.course-select-card .select-check {
  display: none;
  font-size: 11px;
  font-weight: 800;
  color: var(--verbo-teal);
  text-transform: uppercase;
}
.course-select-card.selected .select-check {
  display: block;
}

.format-select-card {
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.25s ease;
}
.format-select-card:hover {
  border-color: #94A3B8;
}
.format-select-card.selected {
  border-color: var(--verbo-teal);
  background: #F0FDF4;
  box-shadow: 0 0 0 3px rgba(0, 167, 157, 0.2);
}

.batch-card {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}
.batch-card:hover:not(.full) {
  border-color: var(--verbo-teal);
  box-shadow: var(--shadow-sm);
}
.batch-card.selected {
  border-color: var(--verbo-teal);
  background: #F0FDF4;
  box-shadow: 0 0 0 2px var(--verbo-teal);
}
.batch-card.full {
  opacity: 0.65;
  background: #F8FAFC;
  cursor: not-allowed;
  border-style: dashed;
}
