@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;
  
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-hover: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(186, 230, 253, 0.7);
  --glass-border-subtle: rgba(226, 232, 240, 0.8);
  --glass-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.08), 0 4px 6px -2px rgba(2, 132, 199, 0.03);
  --glass-shadow-hover: 0 20px 40px -5px rgba(2, 132, 199, 0.16), 0 8px 12px -4px rgba(2, 132, 199, 0.06);
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(186, 230, 253, 0.35) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(224, 242, 254, 0.45) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(240, 249, 255, 0.6) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--slate-800);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Container Utility */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-xl);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.glass-panel:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: var(--glass-shadow-hover);
}

.glass-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.05);
}

/* Navigation */
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-logo {
  height: 42px;
  width: auto;
  border-radius: 8px;
}
.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
}
.brand-title span {
  color: var(--sky-600);
}
.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-500);
  letter-spacing: 0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.nav-link:hover {
  color: var(--sky-600);
  background: var(--sky-50);
}
.nav-link.active {
  color: var(--sky-700);
  background: var(--sky-100);
}
.nav-btn-vault {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--sky-600), var(--sky-700));
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.nav-btn-vault:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
}

/* Urgent Alert Banner (STS Tomorrow) */
.alert-strip {
  background: linear-gradient(90deg, #0284c7 0%, #0369a1 50%, #1e40af 100%);
  color: #ffffff;
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.18);
}
.alert-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.alert-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.alert-btn {
  background: #ffffff;
  color: var(--sky-700);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.alert-btn:hover {
  background: var(--sky-50);
  transform: scale(1.03);
}

/* Main Container */
.main-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

/* Hero Section */
.hero-box {
  padding: 3rem 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.hero-box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
  color: var(--sky-700);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-badge-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--sky-600) 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sky-600), var(--sky-700));
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px -3px rgba(2, 132, 199, 0.3);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(2, 132, 199, 0.4);
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
}
.btn-secondary {
  background: #ffffff;
  color: var(--slate-700);
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--slate-300);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--sky-50);
  border-color: var(--sky-300);
  color: var(--sky-700);
}

/* Stat Cards Bar */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.stat-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sky-100);
  color: var(--sky-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* Section Header */
.section-header {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--slate-500);
  margin-top: 0.35rem;
}

/* Tabs & Filter Pill */
.tabs-segmented {
  display: inline-flex;
  background: rgba(226, 232, 240, 0.6);
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid var(--slate-200);
}
.tab-btn {
  background: transparent;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}
.tab-btn:hover {
  color: var(--sky-700);
}
.tab-btn.active {
  background: #ffffff;
  color: var(--sky-700);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Module Cards Grid */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.module-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.module-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.badge-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: var(--sky-100);
  color: var(--sky-800);
  border: 1px solid var(--sky-200);
}
.module-reading-time {
  font-size: 0.8rem;
  color: var(--slate-400);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.module-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.module-desc {
  font-size: 0.925rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.module-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}
.btn-read-module {
  background: var(--sky-50);
  color: var(--sky-700);
  border: 1px solid var(--sky-200);
  padding: 0.5rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-read-module:hover {
  background: var(--sky-600);
  color: #fff;
  border-color: var(--sky-600);
}

/* Leaderboard Section */
.leaderboard-container {
  padding: 2rem;
  margin-bottom: 4rem;
  overflow: hidden;
}
.leaderboard-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-200);
}
.cohort-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sky-100);
  color: var(--sky-800);
  border: 1px solid var(--sky-200);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}
.table-responsive {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background: #ffffff;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.data-table th {
  background: var(--slate-50);
  color: var(--slate-700);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  white-space: nowrap;
}
.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
  vertical-align: middle;
}
.data-table tr:hover {
  background: var(--sky-50);
}
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
}
.rank-1 {
  background: linear-gradient(135deg, #fef08a, #facc15);
  color: #713f12;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.4);
}
.rank-2 {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: #334155;
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
}
.rank-3 {
  background: linear-gradient(135deg, #fed7aa, #fb923c);
  color: #7c2d12;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}
.rank-other {
  background: var(--slate-100);
  color: var(--slate-600);
  font-family: var(--font-mono);
}
.student-name-box {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 0.95rem;
}
.student-sub {
  font-size: 0.775rem;
  color: var(--slate-500);
}
.score-pill {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--slate-800);
  background: var(--slate-100);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  display: inline-block;
  font-size: 0.85rem;
}
.score-total {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--sky-800);
  background: var(--sky-100);
  border: 1px solid var(--sky-200);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.925rem;
  display: inline-block;
}
.status-pill-ongoing {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Protected Vault Section */
.vault-banner {
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.9), rgba(255, 255, 255, 0.95));
  border: 1.5px solid var(--sky-300);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.vault-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.vault-info {
  max-width: 680px;
}
.vault-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vault-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--sky-200);
  box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.25);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}
.modal-overlay.active .modal-card {
  transform: scale(1);
}
.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--sky-50);
}
.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.modal-close {
  background: transparent;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.modal-close:hover {
  color: var(--slate-800);
  background: rgba(0, 0, 0, 0.05);
}
.modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.7;
}
.modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--slate-200);
  background: var(--slate-50);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Vault File Item */
.vault-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  margin-bottom: 0.75rem;
  transition: all 0.15s ease;
}
.vault-file-row:hover {
  background: var(--sky-50);
  border-color: var(--sky-300);
  transform: translateX(3px);
}
.vault-file-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.vault-file-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vault-file-name {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 0.925rem;
}
.vault-file-meta {
  font-size: 0.8rem;
  color: var(--slate-500);
}
.btn-vault-dl {
  background: var(--sky-600);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.825rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}
.btn-vault-dl:hover {
  background: var(--sky-700);
}

/* Teaching Factory & Student Works */
.tefa-showcase {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  margin-bottom: 4rem;
}
.karya-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.karya-card {
  padding: 1.75rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.karya-card:hover {
  border-color: var(--sky-300);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -5px rgba(2, 132, 199, 0.12);
}

/* Footer */
footer.portal-footer {
  border-top: 1px solid var(--slate-200);
  background: #ffffff;
  padding: 3rem 1.5rem 2rem;
  color: var(--slate-600);
  font-size: 0.875rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Utilities & Animations */
@keyframes pulseSubtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.animate-pulse-subtle {
  animation: pulseSubtle 2.5s infinite;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .nav-links { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* Teacher Profile Card in Hero */
.teacher-profile-card {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--sky-200);
  border-radius: 20px;
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: 0 12px 30px -5px rgba(2, 132, 199, 0.12);
}
.teacher-avatar-box {
  position: relative;
  flex-shrink: 0;
}
.teacher-photo {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px var(--sky-400), 0 8px 16px rgba(2, 132, 199, 0.25);
}
.teacher-badge-status {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #10b981;
  border: 2.5px solid #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.teacher-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.teacher-info .teacher-role {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sky-700);
  margin-bottom: 0.4rem;
}
.teacher-info p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin: 0;
}

/* Kisi-Kisi PDF Embedder */
.kisi-embed-box {
  background: #ffffff;
  border: 2px solid var(--sky-200);
  border-radius: 18px;
  box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.1);
  overflow: hidden;
  margin-top: 1.5rem;
}
.kisi-embed-header {
  padding: 1.25rem 1.75rem;
  background: var(--sky-50);
  border-bottom: 1.5px solid var(--sky-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.kisi-selector-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.kisi-select-btn {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.kisi-select-btn:hover {
  border-color: var(--sky-300);
  color: var(--sky-700);
  background: var(--sky-50);
}
.kisi-select-btn.active {
  background: var(--sky-600);
  color: #ffffff;
  border-color: var(--sky-600);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* Secondary Filter Bar for Classes */
.class-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.class-pill-btn {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.class-pill-btn:hover {
  border-color: var(--sky-300);
  color: var(--sky-700);
  background: var(--sky-50);
}
.class-pill-btn.active {
  background: var(--sky-700);
  color: #ffffff;
  border-color: var(--sky-700);
}
