/**
 * noqt — eğitim odaklı UI katmanı (öğrenci + öğretmen)
 * styles.css sonrası yüklenir; mevcut sınıfları genişletir.
 */

:root {
  --edu-radius-xl: 22px;
  --edu-radius-lg: 18px;
  --edu-blur: 20px;
  --edu-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  --edu-shadow-glow: 0 0 56px rgba(184, 232, 92, 0.1);
  --edu-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --edu-violet: #9d8df9;
  --edu-cyan: #38e8ff;
  --edu-glass: rgba(12, 14, 20, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes edu-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes edu-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* ——— Kabuklar ——— */
.student-shell {
  position: relative;
  isolation: isolate;
}
.student-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 55% at 88% 12%, rgba(184, 232, 92, 0.11), transparent 52%),
    radial-gradient(ellipse 65% 50% at 8% 78%, rgba(56, 232, 255, 0.08), transparent 48%),
    radial-gradient(ellipse 55% 42% at 48% 102%, rgba(157, 141, 249, 0.07), transparent 46%);
}

.teacher-shell {
  position: relative;
  isolation: isolate;
}
.teacher-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 48% at 12% 12%, rgba(157, 141, 249, 0.12), transparent 54%),
    radial-gradient(ellipse 60% 44% at 92% 68%, rgba(184, 232, 92, 0.08), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 95%, rgba(56, 232, 255, 0.05), transparent 45%);
}

.student-shell > *,
.teacher-shell > * {
  position: relative;
  z-index: 1;
}

.teacher-shell .main {
  max-width: 960px;
}

/* ——— Üst bar ——— */
.edu-topbar {
  backdrop-filter: blur(var(--edu-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--edu-blur)) saturate(1.4);
  background: var(--edu-glass) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 40px rgba(0, 0, 0, 0.25);
}

.edu-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.edu-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--edu-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    var(--edu-shadow-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #0a0b0f;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.04em;
}

.teacher-shell .edu-brand-mark {
  background: linear-gradient(135deg, var(--edu-violet) 0%, var(--accent) 100%);
}

.edu-brand-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.2;
  display: block;
}
.edu-brand-title:hover {
  color: var(--accent);
}

.edu-brand-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.edu-brand-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0;
  font: inherit;
  color: inherit;
  text-align: left;
}
.edu-brand-logo-img {
  height: 32px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  display: block;
}
.edu-brand-logo-img--teacher {
  height: 30px;
  max-width: 112px;
  flex-shrink: 0;
}
.edu-brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.edu-nav .nav-btn {
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}
.edu-nav .nav-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

a.nav-btn.active,
.nav-btn.active {
  background: linear-gradient(145deg, rgba(184, 232, 92, 0.2), rgba(184, 232, 92, 0.08)) !important;
  color: var(--accent) !important;
  box-shadow:
    inset 0 0 0 1px rgba(184, 232, 92, 0.35),
    0 4px 24px rgba(0, 0, 0, 0.2) !important;
}

/* ——— Öğrenci giriş (labs seçim ekranı) ——— */
.edu-view-labs {
  animation: edu-fade-up 0.55s var(--edu-ease) both;
}

.edu-labs-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .edu-labs-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.edu-labs-hero-copy {
  text-align: center;
}
@media (min-width: 768px) {
  .edu-labs-hero-copy {
    text-align: left;
  }
}

.edu-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.edu-display {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
  background: linear-gradient(120deg, var(--text) 0%, var(--accent) 55%, var(--edu-cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: edu-shimmer 8s linear infinite alternate;
}

/* Wordmark (PNG) — gradient başlık animasyonu kapalı */
.edu-hero-wordmark-wrap.edu-display {
  animation: none;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: inherit;
  line-height: 0;
  margin-bottom: 0.65rem;
}
.edu-hero-wordmark {
  width: min(300px, 88vw);
  height: auto;
  max-height: 76px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .edu-labs-hero-copy .edu-hero-wordmark {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edu-display {
    animation: none;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--text);
  }
}

.edu-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 28rem;
  margin: 0 auto 1.25rem;
}
@media (min-width: 768px) {
  .edu-lead {
    margin: 0 0 1.25rem;
  }
}

.edu-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .edu-cta-row {
    justify-content: flex-start;
  }
}

.edu-cta-row .cta {
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  box-shadow: 0 4px 20px rgba(168, 224, 74, 0.25);
}
.edu-cta-row .cta-secondary {
  box-shadow: none;
}

/* Hero görsel (SVG sarmalayıcı) */
.edu-hero-visual {
  position: relative;
  border-radius: var(--edu-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(28, 30, 42, 0.95) 0%, rgba(14, 16, 22, 0.92) 100%);
  box-shadow: var(--edu-shadow), var(--edu-shadow-glow);
  aspect-ratio: 5 / 4;
  max-height: 320px;
}
.edu-hero-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.edu-labs-courses {
  margin-top: 0.5rem;
}

.edu-section-head {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.edu-course-grid {
  gap: 1.25rem !important;
}

.edu-course-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--edu-radius-lg) !important;
  padding: 1.75rem 1.5rem !important;
  align-items: flex-start !important;
  text-align: left !important;
  transition:
    transform 0.35s var(--edu-ease),
    border-color 0.25s ease,
    box-shadow 0.35s var(--edu-ease) !important;
}
.edu-course-card::before {
  content: '';
  position: absolute;
  inset: -40%;
  opacity: 0.35;
  pointer-events: none;
  background: radial-gradient(circle at 30% 20%, var(--accent), transparent 45%);
}
.edu-course-card--dj::before {
  background: radial-gradient(circle at 25% 30%, rgba(168, 224, 74, 0.5), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.25), transparent 40%);
}
.edu-course-card--prod::before {
  background: radial-gradient(circle at 70% 20%, rgba(139, 124, 247, 0.45), transparent 50%);
}
.edu-course-card > * {
  position: relative;
  z-index: 1;
}
.edu-course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--edu-shadow), 0 0 0 1px rgba(168, 224, 74, 0.15) !important;
}

.edu-course-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.edu-course-card h2 {
  font-size: 1.35rem !important;
  margin-bottom: 0.4rem !important;
}
.edu-course-card .cta {
  margin-top: 0.5rem;
  border-radius: 999px;
}

/* ——— Öğrenci dashboard / paneller ——— */
.edu-view-panel .edu-page-title {
  margin-bottom: 0.35rem;
}
.edu-page-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.edu-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.edu-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 520px) {
  .edu-kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.edu-kpi-card {
  background: linear-gradient(145deg, var(--surface) 0%, rgba(26, 26, 31, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--edu-radius-lg);
  padding: 1rem 0.85rem;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s var(--edu-ease);
  animation: edu-fade-up 0.5s var(--edu-ease) both;
}
.edu-kpi-grid .edu-kpi-card:nth-child(1) {
  animation-delay: 0.05s;
}
.edu-kpi-grid .edu-kpi-card:nth-child(2) {
  animation-delay: 0.1s;
}
.edu-kpi-grid .edu-kpi-card:nth-child(3) {
  animation-delay: 0.15s;
}
.edu-kpi-grid .edu-kpi-card:nth-child(4) {
  animation-delay: 0.2s;
}
.edu-kpi-card:hover {
  border-color: rgba(168, 224, 74, 0.35);
  transform: translateY(-2px);
}

.edu-kpi-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.35rem;
  filter: grayscale(0.2);
}

.edu-kpi-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.edu-kpi-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.edu-panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(18, 20, 28, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--edu-radius-lg);
  padding: 1.25rem 1.3rem 1.35rem;
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: var(--edu-shadow), 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}
.edu-panel h3 {
  font-size: 0.78rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.85rem !important;
  font-weight: 600 !important;
}

.edu-data-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  line-height: 1.4;
}
.edu-data-row + .edu-data-row {
  margin-top: 0.45rem;
}

.edu-data-row--highlight {
  border-color: rgba(168, 224, 74, 0.25);
  background: rgba(168, 224, 74, 0.06);
}

.edu-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
}

/* ——— Öğretmen KPI ——— */
.edu-teacher-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .edu-teacher-kpis {
    grid-template-columns: repeat(4, 1fr);
  }
}

.edu-teacher-kpi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: linear-gradient(145deg, var(--surface) 0%, rgba(26, 26, 31, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--edu-radius-lg);
  padding: 1.1rem 1rem;
  transition: border-color 0.25s ease, transform 0.25s var(--edu-ease);
  animation: edu-fade-up 0.5s var(--edu-ease) both;
}
.edu-teacher-kpi:hover {
  border-color: rgba(168, 224, 74, 0.3);
  transform: translateY(-2px);
}
.edu-teacher-kpi .edu-kpi-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.edu-teacher-kpi .edu-kpi-label {
  text-align: left;
}
.edu-teacher-kpi .edu-kpi-value {
  font-size: 1.5rem;
}

.edu-page-header {
  margin-bottom: 1.25rem;
}
.edu-page-header .page-title {
  margin-bottom: 0.35rem;
}
.edu-page-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 36rem;
}

/* ——— Modül listesi (ana sayfa) ——— */
.edu-week-card.week-card {
  border-left: 3px solid rgba(168, 224, 74, 0.35);
  transition:
    transform 0.3s var(--edu-ease),
    border-color 0.2s ease,
    box-shadow 0.3s var(--edu-ease);
}
.edu-week-card.week-card:hover {
  transform: translateX(4px);
  box-shadow: -4px 0 20px rgba(168, 224, 74, 0.08);
}
.edu-week-card.week-card.done {
  border-left-color: var(--accent);
}

/* ——— CTA genel ——— */
a.cta,
button.cta {
  transition:
    transform 0.2s var(--edu-ease),
    box-shadow 0.25s ease;
}
a.cta:hover,
button.cta:hover {
  transform: translateY(-1px);
}

/* ——— İlerleme hapı (+ seri) ——— */
.student-shell .progress-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(168, 224, 74, 0.12);
  border: 1px solid rgba(168, 224, 74, 0.2);
  color: var(--accent);
  font-weight: 600;
}

/* Quiz sekmeleri — yumuşak hap */
.student-shell .quiz-mode-tabs {
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.student-shell .quiz-mode-btn {
  border-radius: 999px !important;
  border: none !important;
}
.student-shell .quiz-mode-btn.active {
  box-shadow: 0 2px 12px rgba(168, 224, 74, 0.15);
}

/* ——— Giriş / kayıt ——— */
.edu-auth-page .main {
  max-width: 420px;
}
.edu-auth-main--wide {
  max-width: 520px !important;
}
.edu-auth-card {
  margin-top: 1.5rem;
  padding: 1.75rem 1.5rem 1.5rem !important;
}
.edu-auth-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem) !important;
  margin-bottom: 0.35rem !important;
  animation: none !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: var(--text) !important;
}
.edu-auth-lead {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.edu-auth-form .cta {
  width: 100%;
  border-radius: 999px;
  margin-top: 0.25rem;
}
.edu-auth-links {
  margin-top: 1rem;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.edu-auth-mark-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.35rem;
}
.edu-noqt-logo {
  width: auto;
  height: 44px;
  max-width: 152px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.08));
}
.edu-auth-mark-svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 6px 16px rgba(168, 224, 74, 0.2));
}

/* Öğrenci paneli — haftalık program + rezervasyon */
.edu-schedule-panel .schedule-table-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
  border-radius: var(--radius-sm);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.schedule-table th,
.schedule-table td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0.55rem;
  text-align: left;
}
.schedule-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.schedule-book-row {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .schedule-book-row {
    grid-template-columns: 1fr 1fr;
  }
}
.schedule-book-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.schedule-book-head {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
}

/* Öğretmen rezervasyonlar */
.edu-bookings-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.edu-booking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.edu-booking-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--edu-radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-items: flex-start;
}
.edu-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.edu-success-box {
  margin-top: 0.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--edu-radius-lg);
  background: rgba(168, 224, 74, 0.08);
  border: 1px solid rgba(168, 224, 74, 0.22);
}

/* Seri (header) + engagement panel + SoundGym */
.streak-brief {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.streak-brief.hidden {
  display: none !important;
}

.edu-engagement-panel {
  margin-bottom: 0.25rem;
}
.edu-engagement-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 0.5rem;
}
@media (min-width: 520px) {
  .edu-engagement-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.edu-engagement-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.edu-engagement-emoji {
  font-size: 1.25rem;
  line-height: 1;
}
.edu-engagement-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.edu-engagement-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}
.edu-daily-goal {
  margin-top: 0.85rem;
}
.edu-daily-goal-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.edu-daily-goal-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.edu-daily-goal-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--edu-cyan));
  transition: width 0.45s var(--edu-ease);
}

.soundgym-picks {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.soundgym-q {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.soundgym-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.soundgym-opt-btn {
  font-size: 0.82rem !important;
  padding: 0.5rem 0.85rem !important;
}
.soundgym-tempo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

/* ——— SoundGym / mini oyun (gelişmiş) ——— */
.sg-hero {
  margin-bottom: 1.25rem;
}
.sg-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.sg-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.sg-hud {
  margin-top: 0.75rem;
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(168, 224, 74, 0.12);
  border: 1px solid rgba(168, 224, 74, 0.25);
}
.sg-hud-combo {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.sg-menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 520px) {
  .sg-menu-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.sg-card {
  text-align: left;
  padding: 1rem 1.1rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)) !important;
  cursor: pointer;
  transition:
    transform 0.2s var(--edu-ease),
    border-color 0.2s ease;
}
.sg-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 124, 247, 0.35) !important;
}
.sg-card-kicker {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--edu-cyan);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.sg-card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.sg-card-desc {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.sg-card--theory .sg-card-kicker {
  color: var(--accent);
}
.sg-card--featured {
  grid-column: 1 / -1;
  border-color: rgba(168, 224, 74, 0.28) !important;
  background: linear-gradient(145deg, rgba(168, 224, 74, 0.1), rgba(94, 234, 212, 0.06)) !important;
}
.sg-card--featured .sg-card-kicker {
  color: var(--accent);
}
.sg-drill-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: rgba(139, 124, 247, 0.12);
  border: 1px solid rgba(139, 124, 247, 0.22);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.sg-drill-bar span {
  color: var(--text);
}
.sg-drill-summary {
  text-align: center;
  padding: 1.5rem 1rem;
}
.sg-drill-score {
  font-size: 1.65rem;
  margin: 0.75rem 0 1rem;
  color: var(--edu-cyan);
}
.sg-points-flash {
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.sg-points-flash--ok {
  color: var(--accent);
}
.sg-points-flash--bad {
  color: rgba(255, 120, 120, 0.95);
}
.sg-arena--live {
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.25),
    0 0 28px rgba(94, 234, 212, 0.12);
  border-color: rgba(94, 234, 212, 0.35);
}
.sg-status--ok {
  color: var(--accent) !important;
}
.sg-status--bad {
  color: rgba(255, 140, 140, 0.95) !important;
}
.sg-replay-wrap {
  margin: 0.35rem 0 0.65rem;
  text-align: center;
}
.sg-replay-btn {
  font-size: 0.8rem !important;
  padding: 0.45rem 0.85rem !important;
}
.sg-after-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0.85rem auto 0;
}
.sg-theory-fb--ok {
  color: var(--accent) !important;
}
.sg-theory-fb--bad {
  color: rgba(255, 140, 140, 0.95) !important;
}
.sg-back {
  margin-bottom: 0.85rem;
}
.sg-setup-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.65rem;
}
.sg-diff-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sg-arena {
  margin-top: 0.5rem;
  padding: 1rem 1.05rem 1.15rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.sg-phase-pill {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.sg-phase-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  border-radius: 12px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, rgba(139, 124, 247, 0.35), rgba(94, 234, 212, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}
.sg-beat-row {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  min-height: 2.25rem;
}
.sg-beat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition:
    transform 0.08s ease,
    background 0.08s ease,
    box-shadow 0.12s ease;
}
.sg-beat-dot--on {
  transform: scale(1.35);
  background: var(--edu-cyan);
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.55);
}
.sg-status {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 0.85rem;
  line-height: 1.45;
}
.sg-start-btn {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 0.5rem;
}
.sg-start-btn--done {
  opacity: 0.55;
}
.sg-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
@media (min-width: 420px) {
  .sg-choice-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.sg-choice {
  padding: 0.75rem 1rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
}
.sg-choice--alt {
  opacity: 0.92;
}
.sg-theory-wrap {
  margin-top: 0.25rem;
}
.sg-theory-fb {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ——— Öğretmen filtre sekmeleri (başvurular) ——— */
.teacher-shell .quiz-mode-tabs {
  flex-wrap: wrap;
  padding: 5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  gap: 0.25rem;
}
.teacher-shell .quiz-mode-btn {
  border-radius: 999px !important;
  border: none !important;
  font-size: 0.78rem;
  padding: 0.45rem 0.75rem;
}
.teacher-shell .quiz-mode-btn.active {
  box-shadow: 0 2px 12px rgba(139, 124, 247, 0.2);
}

/* ——— Öğrenci listesi kartları ——— */
.edu-student-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.edu-student-card {
  padding: 1.1rem 1.15rem !important;
  text-align: left !important;
  transition:
    transform 0.25s var(--edu-ease),
    border-color 0.2s ease;
}
.edu-student-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 224, 74, 0.22);
}
.edu-student-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}
.edu-student-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.edu-student-name:hover {
  color: var(--accent);
}
.edu-student-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  width: 100%;
}
.edu-student-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.edu-student-actions .module-resource-link {
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.edu-pill--pending {
  background: rgba(250, 190, 80, 0.15);
  color: #f5c842;
  border: 1px solid rgba(250, 190, 80, 0.25);
}
.edu-pill--approved {
  background: rgba(80, 200, 130, 0.15);
  color: #6ee7a8;
  border: 1px solid rgba(80, 200, 130, 0.25);
}
.edu-pill--rejected {
  background: rgba(232, 92, 92, 0.12);
  color: #f0a0a0;
  border: 1px solid rgba(232, 92, 92, 0.22);
}

/* ——— Başvuru kartı ——— */
.edu-app-card {
  padding: 1rem 1.1rem !important;
  transition:
    transform 0.25s var(--edu-ease),
    border-color 0.2s ease;
}
.edu-app-card:hover {
  border-color: rgba(139, 124, 247, 0.25);
}
.edu-app-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}
.edu-app-card-actions .module-resource-link {
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}
