/* ==========================================================================
   MatKoç 2.0 - Matematik Koçluğu & Öğrenci Takip Sistemi
   Tasarım Sistemi, CSS Değişkenleri & Ultra Modern Glassmorphism Arayüzü
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Fira+Code:wght@400;500;600&display=swap');

:root {
  /* Renk Paleti - Koyu Matematik Teması (Varsayılan) */
  --bg-primary: #0a0d14;
  --bg-secondary: #0f1422;
  --bg-card: rgba(19, 26, 42, 0.75);
  --bg-card-hover: rgba(26, 36, 58, 0.9);
  --bg-glass: rgba(15, 20, 34, 0.65);
  --bg-input: rgba(10, 14, 24, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);
  --border-glass: rgba(255, 255, 255, 0.12);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;
  
  /* Matematik & Koçluk Vurguları */
  --primary: #6366f1;         /* Indigo */
  --primary-glow: rgba(99, 102, 241, 0.35);
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --secondary: #8b5cf6;       /* Violet */
  --accent-cyan: #06b6d4;     /* Cyan */
  --accent-emerald: #10b981;  /* Emerald */
  --accent-amber: #f59e0b;    /* Amber */
  --accent-rose: #f43f5e;     /* Rose */
  --accent-blue: #3b82f6;     /* Blue */
  
  /* Sınıf Seviyesi Renkleri */
  --grade-LGS: #06b6d4;
  --grade-8: #06b6d4;
  --grade-TYT: #f59e0b;
  --grade-AYT: #ec4899;
  --grade-9: #3b82f6;
  --grade-10: #10b981;
  --grade-11: #8b5cf6;
  --grade-12: #ec4899;
  --grade-mezun: #f59e0b;

  /* Durum Renkleri */
  --status-completed: #10b981;
  --status-in-progress: #3b82f6;
  --status-homework: #f59e0b;
  --status-not-started: #64748b;
  --status-danger: #f43f5e;
  
  /* Gölgeler ve Cam Efektleri */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);
  --blur-glass: blur(16px);
  
  /* Tipografi */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Boyutlar ve Kenarlıklar */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-height: 72px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Açık Tema Desteği */
body.light-theme {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-input: #ffffff;
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: rgba(99, 102, 241, 0.6);
  --border-glass: rgba(0, 0, 0, 0.1);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.15);
}

/* ==========================================================================
   Temel Sıfırlamalar & Global Stiller
   ========================================================================== */

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

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Özel Arka Plan Deseni (Matematik Izgarası / Ambient Işıklar) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  pointer-events: none;
  z-index: 0;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: all var(--transition-fast);
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* Kaydırma Çubuğu */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   Ana Layout (Üst Navbar + Tam Genişlik İçerik)
   ========================================================================== */

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  width: 100%;
}

.main-wrapper {
  flex: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- ÜST HEADER & NAVİGASYON BARI --- */
.top-header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 20px;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Header Brand / Logo */
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon::after {
  content: '∑';
  position: absolute;
  right: -3px;
  bottom: -4px;
  font-size: 1.4rem;
  opacity: 0.2;
  font-family: var(--font-mono);
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

body.light-theme .brand-text h1 {
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.58rem;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 1px 6px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

/* Üst Yatay Navigasyon Menüsü */
.top-nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.top-nav-menu .nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav-menu .nav-item svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.top-nav-menu .nav-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}

.top-nav-menu .nav-item.active {
  color: #ffffff;
  background: var(--primary-gradient);
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 3px 14px var(--primary-glow);
}

.top-nav-menu .nav-item.active svg {
  transform: scale(1.1);
}

.top-nav-menu .nav-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  margin-left: 2px;
}

.header-search {
  position: relative;
  width: 280px;
}

.header-search input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 0.85rem;
  outline: none;
  transition: all var(--transition-fast);
}

.header-search input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  width: 320px;
}

.header-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Günlük Akıllı Bildirim Butonu & Paneli */
.daily-feedback-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  color: #c7d2fe;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.daily-feedback-trigger:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: var(--primary);
  box-shadow: 0 0 16px var(--primary-glow);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 10px #f43f5e;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--border-glass);
}

.btn-primary-quick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--primary-gradient);
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all var(--transition-fast);
}

.btn-primary-quick:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* ==========================================================================
   Görünüm Konteyneri (View Container)
   ========================================================================== */

.content-area {
  padding: 18px 22px;
  flex: 1;
  width: 100%;
  max-width: 100%;
}

.view-section {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.view-section.active {
  display: block;
}

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

/* Ortak Başlık & Aksiyon Çubuğu */
.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 14px;
}

.view-header-title h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.view-header-title p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.view-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   DASHBOARD MODÜLÜ (Genel Bakış & Günlük Akıllı Brifing)
   ========================================================================== */

/* Akıllı Koç Günlük Banner */
.daily-briefing-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-xl);
  padding: 26px 30px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.daily-briefing-card::after {
  content: '∫ f(x)dx';
  position: absolute;
  right: 20px;
  bottom: -15px;
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 800;
  opacity: 0.04;
  pointer-events: none;
}

.briefing-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.briefing-greeting {
  display: flex;
  align-items: center;
  gap: 14px;
}

.greeting-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
}

.greeting-icon svg {
  width: 26px;
  height: 26px;
}

.greeting-text h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.greeting-text p {
  font-size: 0.85rem;
  color: #c7d2fe;
}

.briefing-date-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #e0e7ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Günlük Koç Hatırlatma Hapları (Smart Pills) */
.briefing-alerts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.alert-pill {
  background: rgba(10, 14, 24, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.alert-pill:hover {
  background: rgba(15, 20, 34, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.alert-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-pill-icon.lessons {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

.alert-pill-icon.homeworks {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.alert-pill-icon.payments {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
}

.alert-pill-icon.exams {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.alert-pill-info {
  flex: 1;
}

.alert-pill-info .pill-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.alert-pill-info .pill-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* İstatistik Metrik Kartları */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-subtext.positive {
  color: var(--accent-emerald);
}

.stat-subtext.warning {
  color: var(--accent-amber);
}

/* Dashboard Ana 2 Sütunlu Grid */
.dashboard-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.dashboard-panel {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

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

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.btn-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-text:hover {
  text-decoration: underline;
  color: #a5b4fc;
}

/* Günlük Ders Listesi Kartları */
.today-lessons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lesson-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: all var(--transition-fast);
}

.lesson-item-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.lesson-time-badge {
  padding: 6px 10px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #a5b4fc;
}

.lesson-main-info {
  flex: 1;
}

.lesson-student-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lesson-topic-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.lesson-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-action-sm {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-complete-lesson {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.btn-complete-lesson:hover {
  background: #10b981;
  color: white;
}

/* ==========================================================================
   ÖĞRENCİLER MODÜLÜ (Student Cards & List)
   ========================================================================== */

.students-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-pills-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 12px var(--primary-glow);
}

.filter-pill.add-class-pill {
  background: rgba(99, 102, 241, 0.08);
  border: 1px dashed rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
}

.filter-pill.add-class-pill:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
  color: white;
}

.delete-class-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: #fda4af;
  font-size: 0.65rem;
  margin-left: 3px;
  transition: all var(--transition-fast);
}

.delete-class-btn:hover {
  background: #f43f5e;
  color: white;
  transform: scale(1.15);
}

/* Öğrenci Kartları Izgarası */
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.student-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.student-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.student-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.student-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.student-name-wrapper {
  flex: 1;
}

.student-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.grade-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  color: white;
}

.student-field-target {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Öğrenci Kartı İçi İlerleme & İstatistikler */
.student-card-progress {
  margin-bottom: 18px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.progress-bar-container {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

.student-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  text-align: center;
}

.card-metric-box .metric-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.card-metric-box .metric-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.student-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.student-balance-status {
  font-size: 0.82rem;
  font-weight: 700;
}

.student-balance-status.debt {
  color: var(--accent-rose);
}

.student-balance-status.clear {
  color: var(--accent-emerald);
}

.btn-view-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
}

.btn-view-profile:hover {
  background: var(--primary);
  color: white;
}

/* ==========================================================================
   ÖĞRENCİ DETAY MODÜLÜ (Student Detail View & Tabs)
   ========================================================================== */

.student-detail-header-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.student-detail-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.student-profile-main {
  display: flex;
  align-items: center;
  gap: 20px;
}

.student-detail-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.student-title-area h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.student-target-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c7d2fe;
  margin-top: 4px;
}

.student-detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Öğrenci Detay Sekmeleri (Detail Tabs) */
.student-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-btn svg {
  width: 18px;
  height: 18px;
}

/* Sekme İçerikleri */
.tab-content-panel {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.tab-content-panel.active {
  display: block;
}

/* ==========================================================================
   MÜFREDAT VE KONU TAKİBİ SEKME TASARIMI (PDF Müfredatı)
   ========================================================================== */

.curriculum-grade-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.grade-select-btn {
  padding: 8px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.grade-select-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.curriculum-topics-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   MÜFREDAT KATALOĞU (Curriculum Catalog Grid & Topic Cards)
   ========================================================================== */

.curriculum-catalog-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 26px;
  margin-bottom: 24px;
  position: relative;
  transition: all var(--transition-normal);
}

.curriculum-catalog-card:hover {
  border-color: var(--border-focus);
}

.curriculum-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 16px;
}

.curriculum-catalog-topic-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: all var(--transition-fast);
}

.curriculum-catalog-topic-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.catalog-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.catalog-unit-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-left: 3px solid #6366f1;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 800;
  color: #c7d2fe;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.catalog-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.catalog-idx-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
}

.catalog-topic-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.45;
  margin: 0;
}

.catalog-topic-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.22);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: auto;
}

.topic-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.topic-delete-btn:hover {
  background: #f43f5e;
  border-color: #f43f5e;
  color: white;
  transform: scale(1.1);
}

.curriculum-topic-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: all var(--transition-fast);
}

.curriculum-topic-card:hover {
  border-color: var(--border-glass);
  background: var(--bg-card-hover);
}

.topic-left-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.topic-unit-badge {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.07);
  color: #a5b4fc;
  white-space: nowrap;
}

.topic-titles h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.topic-titles p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.topic-right-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Dinamik Müfredat Durumu Döngü Butonu */
.topic-cycle-status-btn {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  user-select: none;
  white-space: nowrap;
}

.topic-cycle-status-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
}

.topic-cycle-status-btn:active {
  transform: translateY(0);
}

.topic-cycle-status-btn.completed {
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  background: rgba(16, 185, 129, 0.16);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

.topic-cycle-status-btn.in_progress {
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.16);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.2);
}

.topic-cycle-status-btn.homework_assigned {
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}

.topic-cycle-status-btn.not_started {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

/* Dinamik Çözülen Soru Sayısı Döngü Butonu (10, 20, 30, 50, 100, 200, 500) */
.topic-cycle-count-btn {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  box-shadow: var(--shadow-sm);
  user-select: none;
  white-space: nowrap;
}

.topic-cycle-count-btn:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 16px var(--primary-glow);
}

.topic-cycle-count-btn:active {
  transform: translateY(0);
}

.topic-cycle-count-btn.has-count {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(139, 92, 246, 0.22) 100%);
  border-color: rgba(139, 92, 246, 0.5);
  color: #e0e7ff;
}

.topic-accuracy-pill {
  padding: 4px 9px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fbbf24;
  white-space: nowrap;
}

/* Öğrenci Kartı Aksiyon Butonları & Yeni Ekle Kartı */
.student-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  align-self: flex-start;
}

.student-card-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.student-card-btn.delete:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.4);
  color: #f43f5e;
  transform: scale(1.08);
}

.add-student-card-placeholder {
  border: 2px dashed rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
  min-height: 220px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.add-student-card-placeholder:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.25);
}

.add-student-card-placeholder .add-student-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.add-student-card-placeholder .add-student-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.add-student-card-placeholder .add-student-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  max-width: 220px;
}

/* ==========================================================================
   DENEME VE NET GRAFİKLERİ SEKME TASARIMI (Chart.js)
   ========================================================================== */

.exam-nets-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.chart-wrapper-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 24px;
}

.chart-container-inner {
  position: relative;
  height: 340px;
  width: 100%;
}

.exam-history-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.app-table th {
  background: rgba(0, 0, 0, 0.25);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.app-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.app-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.net-highlight {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
}

/* ==========================================================================
   DERS TAKVİMİ MODÜLÜ (Üst Düzey Ergonomik Haftalık / Günlük Takvim)
   ========================================================================== */

.calendar-header-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.calendar-summary-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.calendar-summary-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.calendar-summary-stat strong {
  color: var(--text-primary);
}

.calendar-nav-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.calendar-nav-buttons .btn-secondary {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

#calendar-week-title {
  font-size: 1.05rem;
  margin: 0;
  text-align: center;
}

/* 7 Günlük Ergonomik Geniş Izgara - Ekrana Tam Oturan (Sıfır Sağa Kaydırma) */
.calendar-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.calendar-day-col {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 6px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  min-width: 0; /* İçeriğin taşmasını engeller */
  box-sizing: border-box;
}

.calendar-day-col:hover {
  border-color: var(--border-glass);
}

.calendar-day-col.today {
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.09) 0%, rgba(15, 20, 34, 0.9) 100%);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.15);
}

/* Gün Başlığı */
.day-col-header {
  padding: 2px 2px 6px 2px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 6px;
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.day-col-header:hover {
  background: rgba(255, 255, 255, 0.04);
}

.day-col-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.day-col-name {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.day-lesson-count-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  white-space: nowrap;
}

.calendar-day-col.today .day-lesson-count-badge {
  background: rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
}

.day-col-num-wrapper {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.day-col-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.calendar-day-col.today .day-col-num {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.day-col-month {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

.today-tag {
  position: absolute;
  right: 2px;
  bottom: 6px;
  font-size: 0.54rem;
  font-weight: 800;
  padding: 1px 4px;
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.4);
}

/* Ders Kartları Slotu */
.day-lessons-slot {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

/* Boş Gün İçin Şık Kompakt Kutu */
.empty-day-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 4px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  margin: 4px 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.empty-day-placeholder:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
}

/* Ergonomik Ders Kartı */
.calendar-lesson-card {
  background: rgba(15, 20, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
  position: relative;
  cursor: grab;
  user-select: none;
  min-width: 0;
}

.calendar-lesson-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.calendar-lesson-card:active {
  cursor: grabbing;
}

.calendar-lesson-card.is-dragging {
  opacity: 0.35;
  transform: scale(0.96) rotate(1deg);
  border: 2px dashed #6366f1 !important;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4) !important;
}

/* Sürükle ve Bırak Hedef Vurgusu */
.calendar-day-col.drag-over-active,
.day-lessons-slot.drag-over-active,
.timeline-hour-slot.drag-over-active,
.daily-strip-day-btn.drag-over-active,
.agenda-date-group.drag-over-active {
  background: rgba(99, 102, 241, 0.16) !important;
  border-color: #818cf8 !important;
  outline: 2px dashed #818cf8 !important;
  outline-offset: -2px;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.35), inset 0 0 12px rgba(99, 102, 241, 0.2) !important;
  transform: scale(1.01);
  transition: all 0.15s ease;
}

.drag-grip-icon {
  font-size: 0.66rem;
  color: var(--text-muted);
  cursor: grab;
  opacity: 0.6;
  letter-spacing: -1px;
  line-height: 1;
  transition: all var(--transition-fast);
}

.calendar-lesson-card:hover .drag-grip-icon {
  opacity: 1;
  color: #a5b4fc;
}

/* Duruma Göre Sol Şerit ve Arka Plan */
.calendar-lesson-card.completed {
  border-left: 3px solid #10b981;
  background: linear-gradient(150deg, rgba(16, 185, 129, 0.07) 0%, rgba(15, 20, 34, 0.98) 100%);
}

.calendar-lesson-card.scheduled {
  border-left: 3px solid #f59e0b;
  background: linear-gradient(150deg, rgba(245, 158, 11, 0.06) 0%, rgba(15, 20, 34, 0.98) 100%);
}

.calendar-lesson-card.cancelled {
  border-left: 3px solid #f43f5e;
  opacity: 0.6;
  background: linear-gradient(150deg, rgba(244, 63, 94, 0.07) 0%, rgba(15, 20, 34, 0.98) 100%);
}

.lesson-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.lesson-time-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.14);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  overflow: hidden;
}

.lesson-header-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.lesson-fee-tag {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  color: #34d399;
}

.lesson-quick-delete-btn {
  width: 17px;
  height: 17px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.65rem;
  transition: all var(--transition-fast);
}

.lesson-quick-delete-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
}

/* Öğrenci Satırı */
.lesson-student-row {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 1px 0;
  min-width: 0;
}

.lesson-student-row:hover .lesson-student-name {
  color: var(--primary);
}

.lesson-student-avatar {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.74rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.lesson-student-details {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.lesson-student-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition-fast);
}

.lesson-student-grade {
  font-size: 0.62rem;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lesson-note-mini {
  font-size: 0.66rem;
  color: #a5b4fc;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1px 0;
}

/* İki Dinamik Ergonomik Buton Barı */
.lesson-card-controls {
  display: flex;
  gap: 4px;
  width: 100%;
  margin-top: 2px;
}

.lesson-toggle-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 4px 3px;
  border-radius: 5px;
  font-size: 0.66rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: var(--shadow-sm);
}

.lesson-toggle-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
}

.lesson-toggle-btn:active {
  transform: translateY(0);
}

/* Durum Buton Renkleri */
.btn-status-completed {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
}
.btn-status-completed:hover {
  background: #10b981;
  color: white;
}

.btn-status-scheduled {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.45);
}
.btn-status-scheduled:hover {
  background: #f59e0b;
  color: white;
}

.btn-status-cancelled {
  background: rgba(244, 63, 94, 0.18);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.45);
}
.btn-status-cancelled:hover {
  background: #f43f5e;
  color: white;
}

/* Ödeme Buton Renkleri */
.btn-payment-paid {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.btn-payment-paid:hover {
  background: #059669;
  color: white;
}

.btn-payment-unpaid {
  background: rgba(244, 63, 94, 0.16);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.4);
}
.btn-payment-unpaid:hover {
  background: #e11d48;
  color: white;
}

.btn-day-add-lesson {
  width: 100%;
  margin-top: 6px;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-day-add-lesson:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--primary);
  color: #c7d2fe;
}

/* --- Görünüm Seçici Buton Grubu (Weekly, Daily, Agenda) --- */
.cal-view-switcher {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 3px;
  gap: 3px;
}

.cal-view-btn {
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.cal-view-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.cal-view-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* --- Ergonomik Hızlı Filtre ve Arama Araç Çubuğu --- */
.calendar-filter-toolbar {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-tool-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

.filter-tool-item label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-select-sm, .form-input-sm {
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-select-sm:focus, .form-input-sm:focus {
  border-color: var(--border-focus);
}

.calendar-search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 6px 12px;
}

.calendar-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.78rem;
  width: 170px;
}

.calendar-search-box input:focus {
  width: 200px;
}

/* --- Hızlı Ders Düzenleme Butonu & Toplu Yönetim Stilleri --- */
.lesson-quick-edit-btn {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.65rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lesson-quick-edit-btn:hover {
  background: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  transform: scale(1.15);
}

.bulk-day-pills-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bulk-day-pill {
  padding: 7px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.bulk-day-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-primary);
  border-color: var(--border-glass);
}

.bulk-day-pill.active {
  background: var(--primary-gradient);
  color: white;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.bulk-table thead th {
  position: sticky;
  top: 0;
  background: #111726;
  z-index: 10;
}

.bulk-row:hover {
  background: rgba(99, 102, 241, 0.08);
}

/* --- 2. GÖRÜNÜM: GÜNLÜK ZAMAN ÇİZELGESİ (DAILY TIMELINE) --- */
.daily-timeline-container {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.daily-week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.daily-strip-day-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.daily-strip-day-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glass);
}

.daily-strip-day-btn.active {
  background: var(--primary-gradient);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 3px 10px var(--primary-glow);
}

.daily-strip-day-btn.today::after {
  content: 'BUGÜN';
  position: absolute;
  top: -7px;
  font-size: 0.54rem;
  font-weight: 800;
  background: #10b981;
  color: white;
  padding: 1px 5px;
  border-radius: var(--radius-full);
}

.day-mini-name {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.8;
}

.day-mini-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
}

.day-mini-dot {
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
  padding: 1px 5px;
  border-radius: var(--radius-full);
}

/* Saat Çizgileri */
.timeline-hours-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-hour-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 60px;
}

.timeline-hour-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
  padding-right: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.08);
}

.timeline-hour-slot {
  flex: 1;
}

.timeline-empty-slot {
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-muted);
  font-size: 0.74rem;
}

.timeline-empty-slot:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary);
  color: #c7d2fe;
}

.timeline-lessons-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

/* --- 3. GÖRÜNÜM: AJANDA / LİSTE GÖRÜNÜMÜ (AGENDA VIEW) --- */
.agenda-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.agenda-date-group {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.agenda-date-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.agenda-date-badge {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 6px 14px;
  text-align: center;
}

.agenda-date-day {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #a5b4fc;
  line-height: 1;
}

.agenda-date-month {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.agenda-date-title h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.agenda-date-title p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.agenda-group-count {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.agenda-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

/* ==========================================================================
   MUHASEBE VE GELİR MODÜLÜ (Finance & Income)
   ========================================================================== */

.finance-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.finance-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

/* ==========================================================================
   MODAL PENCERELER (Dialogs & Forms)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 15, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease-out;
}

.modal-backdrop.active {
  display: flex;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(99, 102, 241, 0.2);
  display: flex;
  flex-direction: column;
}

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

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.modal-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(0, 0, 0, 0.15);
}

/* Form Elemanları */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

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

/* Buton Stilleri */
.btn-primary {
  padding: 10px 22px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-danger {
  padding: 10px 18px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-md);
  color: #fb7185;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-danger:hover {
  background: #f43f5e;
  color: white;
}

/* ==========================================================================
   TOAST BİLDİRİM SİSTEMİ
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
  pointer-events: none;
}

.toast-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 280px;
}

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   YAZDIRMA / VELİ RAPORU STİLLERİ (@media print)
   ========================================================================== */

@media print {
  .top-header, .view-header-actions, .modal-backdrop, .toast-container, .btn-primary-quick, .daily-feedback-trigger {
    display: none !important;
  }
  
  .main-wrapper {
    margin-left: 0 !important;
    padding: 0 !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .student-detail-header-card, .chart-wrapper-card, .exam-history-table-card {
    border: 1px solid #ccc !important;
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE (Mobil ve Tablet Uyumluluğu)
   ========================================================================== */

/* Tablet Görünümü (769px - 1180px) */
@media (min-width: 769px) and (max-width: 1180px) {
  .top-header {
    padding: 0 18px;
    gap: 12px;
  }
  .top-nav-menu .nav-item {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
  .header-search {
    width: 200px;
  }
  .content-area {
    padding: 14px 16px;
  }
  .calendar-week-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
  }
  .calendar-day-col {
    padding: 6px 4px;
    min-height: 380px;
  }
  .day-col-num {
    font-size: 1.05rem;
  }
  .day-col-name {
    font-size: 0.62rem;
  }
  .day-lesson-count-badge {
    font-size: 0.55rem;
    padding: 1px 4px;
  }
  .calendar-lesson-card {
    padding: 6px 5px;
    gap: 4px;
  }
  .lesson-time-pill {
    font-size: 0.62rem;
    padding: 1px 3px;
  }
  .lesson-student-avatar {
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
  }
  .lesson-student-name {
    font-size: 0.72rem;
  }
  .lesson-student-grade {
    font-size: 0.58rem;
  }
  .lesson-toggle-btn {
    font-size: 0.6rem;
    padding: 3px 2px;
  }
  .lesson-fee-tag {
    font-size: 0.68rem;
  }
}

/* Mobil Görünüm (<= 768px): Yatay Kaydırılabilir Üst Menü & Ergonomik Akış */
@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }
  
  html, body, .app-container, .main-wrapper {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .top-header {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
  }

  .header-brand {
    order: 1;
  }

  .header-right {
    order: 2;
    gap: 8px;
  }

  .top-nav-menu {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 4px 0;
    gap: 6px;
    scrollbar-width: none;
  }

  .top-nav-menu::-webkit-scrollbar {
    display: none;
  }

  .top-nav-menu .nav-item {
    padding: 6px 12px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  .header-search {
    display: none; /* Mobilde sayfa içi kullanılır */
  }
  
  .content-area {
    padding: 12px 14px;
    max-width: 100vw;
  }

  /* Başlık ve Aksiyonlar */
  .view-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 12px;
  }

  .view-header-title h2 {
    font-size: 1.25rem;
  }

  .view-header-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .cal-view-switcher {
    width: 100%;
    display: flex;
  }

  .cal-view-btn {
    flex: 1;
    text-align: center;
    padding: 7px 4px;
    font-size: 0.72rem;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 9px 14px;
  }

  /* Takvim Üst Navigasyon Kartı */
  .calendar-header-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .calendar-nav-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .calendar-nav-buttons .btn-secondary {
    flex: 1;
    text-align: center;
    padding: 6px 8px;
    font-size: 0.76rem;
  }

  #calendar-week-title {
    font-size: 0.95rem;
    text-align: center;
  }

  .calendar-summary-bar {
    justify-content: center;
    gap: 6px;
  }

  .calendar-summary-stat {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  /* Filtre Araç Çubuğu */
  .calendar-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .filter-tool-left {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .filter-tool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .filter-tool-item select,
  .filter-tool-item input {
    flex: 1;
    max-width: 60%;
  }

  .filter-tool-right, .calendar-search-box {
    width: 100%;
  }

  .calendar-search-box input {
    width: 100%;
  }

  /* MOBİLDE DERS TAKVİMİ: 100% DİKEY AKIŞ (AŞAĞI KAYDIRMA, SIFIR SAĞA TAŞMA) */
  .calendar-week-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .calendar-day-col {
    min-height: auto;
    padding: 12px 14px;
    border-radius: var(--radius-lg);
    width: 100%;
  }

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

  .day-col-header-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }

  .day-col-name {
    font-size: 0.85rem;
  }

  .day-col-num-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .day-col-num {
    font-size: 1.35rem;
  }

  .day-col-month {
    font-size: 0.78rem;
  }

  .day-lessons-slot {
    gap: 9px;
  }

  .calendar-lesson-card {
    padding: 11px 13px;
    gap: 8px;
    border-radius: var(--radius-md);
  }

  .lesson-time-pill {
    font-size: 0.76rem;
    padding: 3px 7px;
  }

  .lesson-fee-tag {
    font-size: 0.82rem;
  }

  .lesson-student-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .lesson-student-name {
    font-size: 0.88rem;
  }

  .lesson-student-grade {
    font-size: 0.7rem;
  }

  .lesson-note-mini {
    font-size: 0.72rem;
  }

  .lesson-toggle-btn {
    padding: 7px 8px;
    font-size: 0.74rem;
    border-radius: var(--radius-sm);
  }

  .empty-day-placeholder {
    padding: 12px 10px;
    font-size: 0.76rem;
  }

  /* Günlük Çizelge Mobil */
  .daily-week-strip {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .daily-strip-day-btn {
    min-width: 52px;
    flex-shrink: 0;
    padding: 8px 4px;
  }

  .timeline-hour-row {
    grid-template-columns: 55px 1fr;
    gap: 8px;
    min-height: 52px;
  }

  .timeline-hour-label {
    font-size: 0.74rem;
    padding-right: 6px;
  }

  .timeline-lessons-wrapper {
    grid-template-columns: 1fr;
  }

  /* Diğer modüller responsive */
  .dashboard-main-grid, .finance-main-grid, .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   14. HAFTALIK SABİT DERS (TEKRARLAYAN SEANS) MODAL STİLLERİ
   ========================================================================== */

.recurring-schedule-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin: 14px 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.recurring-schedule-box:focus-within {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.15);
}

.recurring-toggle-header {
  display: flex;
  align-items: center;
}

/* Custom Toggle Switch */
.custom-switch-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  width: 100%;
}

.custom-switch-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-switch-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.custom-switch-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  top: 2px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.custom-switch-input:checked + .custom-switch-slider {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border-color: #818cf8;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.custom-switch-input:checked + .custom-switch-slider::before {
  transform: translateX(20px);
}

.recurring-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recurring-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.recurring-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Options Container */
.recurring-options-container {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(99, 102, 241, 0.25);
  animation: fadeIn 0.2s ease;
}

/* Day Picker Pills */
.recurring-days-picker {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.day-picker-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 8px 0;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  font-family: var(--font-sans);
}

.day-picker-pill:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.day-picker-pill.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: #a5b4fc;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

/* Quick Presets Row */
.recurring-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preset-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a5b4fc;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-sans);
}

.preset-pill-btn:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Summary Banner */
.recurring-summary-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(168, 85, 247, 0.16));
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-top: 12px;
}

.recurring-summary-banner .summary-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.recurring-summary-banner .summary-content {
  flex: 1;
}

.recurring-summary-banner .summary-main {
  font-size: 0.82rem;
  color: #e0e7ff;
  font-weight: 600;
  line-height: 1.4;
}

.recurring-summary-banner .summary-sub {
  font-size: 0.74rem;
  color: #c4b5fd;
  margin-top: 3px;
  font-weight: 500;
}

/* Light theme support */
body.light-theme .recurring-schedule-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.07), rgba(168, 85, 247, 0.04));
  border-color: rgba(99, 102, 241, 0.2);
}

body.light-theme .custom-switch-slider {
  background: #cbd5e1;
  border-color: #94a3b8;
}

body.light-theme .day-picker-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

body.light-theme .day-picker-pill:hover {
  background: #e0e7ff;
  color: #4338ca;
}

body.light-theme .day-picker-pill.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
}

body.light-theme .preset-pill-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #4338ca;
}

body.light-theme .preset-pill-btn:hover {
  background: #e0e7ff;
}

body.light-theme .recurring-summary-banner {
  background: linear-gradient(135deg, #eef2ff, #f3e8ff);
  border-color: #c084fc;
}

body.light-theme .recurring-summary-banner .summary-main {
  color: #312e81;
}

body.light-theme .recurring-summary-banner .summary-sub {
  color: #6b21a8;
}

/* Müfredat Konusu Kartı ve Silme Butonu */
.curriculum-topic-card .topic-delete-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0.4;
  transition: all 0.15s ease;
}

.curriculum-topic-card:hover .topic-delete-btn {
  opacity: 1;
}

.curriculum-topic-card .topic-delete-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
  transform: scale(1.1);
}

/* ==========================================================================
   15. EXCEL VERİTABANI & SENKRONİZASYON MODAL STİLLERİ
   ========================================================================== */

.excel-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.excel-action-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.excel-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.excel-dropzone {
  border: 2px dashed rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.04);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.excel-dropzone:hover, .excel-dropzone.dragover {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  transform: scale(1.01);
}

body.light-theme .excel-action-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

body.light-theme .excel-dropzone {
  background: #f0fdf4;
  border-color: #86efac;
}

/* ==========================================================================
   16. GİRİŞ EKRANI (LOGIN GATEWAY) STİLLERİ
   ========================================================================== */

.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 13, 20, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.login-glass-card {
  width: 100%;
  max-width: 480px;
  background: rgba(19, 26, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(99, 102, 241, 0.2);
  padding: 32px 28px;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.login-glass-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  justify-content: center;
  text-align: left;
}

.login-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.login-brand-titles h1 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}

.login-brand-titles .badge-pro {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #ffffff;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.login-brand-titles p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Giriş Sekme Seçici */
.login-tab-switcher {
  display: flex;
  background: rgba(10, 14, 24, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
  margin-bottom: 22px;
}

.login-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.login-tab-btn.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.login-tab-content {
  display: none;
}

.login-tab-content.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-wrap .input-icon {
  position: absolute;
  left: 12px;
  font-size: 1.05rem;
  pointer-events: none;
  opacity: 0.8;
}

.login-input {
  width: 100%;
  padding: 12px 42px 12px 38px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.login-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.toggle-pass-btn {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.6;
  padding: 4px;
}

.toggle-pass-btn:hover {
  opacity: 1;
}

.login-hint {
  font-size: 0.74rem;
  color: #a5b4fc;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.login-submit-btn {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.student-submit-btn {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
}

.admin-submit-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

/* Hızlı Demo Öğrenciler Bölümü */
.login-demo-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-subtle);
}

.demo-section-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.demo-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.demo-student-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.demo-student-chip:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.chip-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.chip-grade {
  font-size: 0.68rem;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.18);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.login-card-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Header User Badge */
.header-user-badge-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}

.user-role-badge {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-badge {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.logout-btn-header {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.logout-btn-header:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   17. 100% MOBİL UYUMLU ÖĞRENCİ PORTALI STİLLERİ
   ========================================================================== */

.student-portal-app {
  width: 100%;
  min-height: 100vh;
  max-width: 600px; /* Mobil odaklı optimize konteyner */
  margin: 0 auto;
  position: relative;
  background-color: var(--bg-primary);
  padding-bottom: calc(75px + env(safe-area-inset-bottom, 20px));
}

@media (min-width: 601px) {
  .student-portal-app {
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
  }
}

/* Mobil Üst Header */
.student-portal-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 20, 34, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 16px;
  z-index: 100;
}

.sp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sp-profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.sp-text {
  display: flex;
  flex-direction: column;
}

.sp-greeting {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.sp-meta {
  display: flex;
  gap: 6px;
  margin-top: 3px;
}

.sp-grade-pill, .sp-field-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.sp-grade-pill {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.sp-field-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sp-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sp-action-btn.logout-btn {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

.sp-action-btn:hover {
  transform: translateY(-1px);
}

/* Mobil İçerik Alanı */
.student-portal-content {
  padding: 16px;
}

/* Mobil Alt Sabit Navigasyon Çubuğu (Bottom Navigation Bar) */
.student-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(15, 20, 34, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 8px);
}

.sp-bottom-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 4px 4px 4px;
}

.sp-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 2px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.sp-nav-icon {
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-nav-icon svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.sp-nav-item span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sp-nav-item.active {
  color: #818cf8;
}

.sp-nav-item.active .sp-nav-icon svg {
  transform: scale(1.15);
  stroke: #818cf8;
  filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.6));
}

.sp-nav-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #f43f5e;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(244, 63, 94, 0.5);
}

/* ==================== 1. TAB: ANA SAYFA KARTLARI ==================== */
.sp-home-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-target-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(139, 92, 246, 0.16) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}

.sp-target-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a5b4fc;
  margin-bottom: 6px;
}

.sp-target-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
}

.sp-target-quote {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.4;
  border-left: 2px solid var(--primary);
  padding-left: 8px;
}

/* 2x2 İstatistik Kartları */
.sp-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sp-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sp-stat-box:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

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

.sp-stat-icon {
  font-size: 1.25rem;
}

.sp-stat-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.sp-stat-tag.warning {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.sp-stat-tag.success {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.sp-stat-val {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
}

.sp-stat-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.sp-mini-progress {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  margin-top: 8px;
  overflow: hidden;
}

.sp-mini-bar {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
}

.sp-stat-link {
  font-size: 0.7rem;
  color: #818cf8;
  font-weight: 700;
  margin-top: 8px;
}

/* Bölüm Blokları */
.sp-section-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
}

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

.sp-section-header h3 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sp-link-btn {
  background: transparent;
  border: none;
  color: #818cf8;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.sp-next-lesson-card {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
}

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

.sp-nl-pill {
  font-size: 0.76rem;
  font-weight: 700;
  color: #c7d2fe;
}

.sp-nl-topic {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.sp-nl-note {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.sp-btn-secondary {
  width: 100%;
  padding: 9px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sp-btn-secondary:hover {
  background: rgba(99, 102, 241, 0.3);
}

.sp-empty-banner {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.sp-empty-banner span {
  font-size: 2rem;
  display: block;
  margin-bottom: 6px;
}

/* Hızlı İşlemler Butonları */
.sp-quick-actions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-quick-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.sp-quick-btn:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateX(3px);
}

.sp-qb-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.sp-qb-text strong {
  display: block;
  font-size: 0.84rem;
  color: var(--text-primary);
}

.sp-qb-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sp-quick-btn.wa-btn {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}

.sp-quick-btn.wa-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
}

/* ==================== 2. TAB: DERSLERİM ==================== */
.sp-tab-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.2s ease;
}

.sp-view-title-bar h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sp-view-title-bar p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.sp-lessons-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sp-ls-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
}

.sp-ls-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-primary);
}

.sp-ls-stat span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.sp-lessons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-lesson-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-lesson-card.status-done {
  border-left: 4px solid #10b981;
}

.sp-lesson-card.status-plan {
  border-left: 4px solid #6366f1;
}

.sp-lesson-card.status-cancel {
  border-left: 4px solid #f43f5e;
  opacity: 0.7;
}

.sp-lc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-lc-date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-lc-day {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sp-lc-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sp-lc-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.sp-lc-badge.status-done {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.sp-lc-badge.status-plan {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}

.sp-lc-badge.status-cancel {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
}

.sp-lc-topic {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sp-lc-coach-note {
  font-size: 0.76rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
  line-height: 1.4;
}

/* ==================== 3. TAB: MÜFREDAT ==================== */
.sp-curriculum-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-co-info h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sp-co-info p {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.sp-co-percent {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: #818cf8;
}

.sp-co-progressbar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: -6px;
}

.sp-co-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.sp-topics-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-topic-card.done {
  border-left: 4px solid #10b981;
}

.sp-topic-card.prog {
  border-left: 4px solid #3b82f6;
}

.sp-topic-card.hw {
  border-left: 4px solid #f59e0b;
}

.sp-tc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sp-tc-unit {
  font-size: 0.72rem;
  font-weight: 800;
  color: #a5b4fc;
  text-transform: uppercase;
}

.sp-tc-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.sp-tc-badge.done {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.sp-tc-badge.prog {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.sp-tc-badge.hw {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.sp-tc-badge.none {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.sp-tc-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
}

.sp-tc-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.sp-tc-metrics {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.sp-tc-metric .lbl {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.sp-tc-metric .val {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sp-tc-note {
  font-size: 0.74rem;
  color: #c7d2fe;
  font-style: italic;
}

.sp-tc-edit-btn {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.sp-tc-edit-btn:hover {
  background: rgba(99, 102, 241, 0.25);
}

/* ==================== 4. TAB: ÖDEVLERİM ==================== */
.sp-hw-summary-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sp-hw-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px;
  text-align: center;
}

.sp-hw-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
}

.sp-hw-stat.warning strong {
  color: #f59e0b;
}

.sp-hw-stat.success strong {
  color: #10b981;
}

.sp-hw-stat span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.sp-hw-section-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sp-hw-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-hw-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-hw-card.pending {
  border-left: 4px solid #f59e0b;
}

.sp-hw-card.completed {
  border-left: 4px solid #10b981;
  opacity: 0.8;
}

.sp-hw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-hw-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.sp-hw-badge.pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.sp-hw-badge.done {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.sp-hw-due {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.sp-hw-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
}

.sp-hw-source {
  font-size: 0.78rem;
  color: #a5b4fc;
}

.sp-hw-count-badge {
  display: inline-block;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.sp-hw-coach-note {
  font-size: 0.76rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.sp-btn-complete {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all var(--transition-fast);
  margin-top: 6px;
  min-height: 44px;
}

.sp-btn-complete:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.sp-btn-undo {
  width: 100%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}

/* ==================== 5. TAB: DENEME NETLERİ ==================== */
.sp-btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.sp-exam-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.sp-es-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  text-align: center;
}

.sp-es-box .lbl {
  display: block;
  font-size: 0.64rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.sp-es-box .val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-primary);
}

.sp-es-box.highlight .val {
  color: #10b981;
}

.sp-es-box.target .val {
  color: #818cf8;
}

.sp-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.sp-chart-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.sp-exam-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.sp-ec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.sp-ec-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sp-ec-net {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  color: #818cf8;
}

.sp-ec-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sp-ec-breakdown {
  display: flex;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 700;
}

.sp-ec-breakdown .correct { color: #34d399; }
.sp-ec-breakdown .wrong { color: #f87171; }
.sp-ec-breakdown .empty { color: var(--text-muted); }

.sp-ec-note {
  font-size: 0.74rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
}

/* ==================== 6. TAB: KOÇLUK NOTLARI ==================== */
.sp-coach-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-cp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-cp-info {
  flex: 1;
}

.sp-cp-info h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sp-cp-info p {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.sp-btn-wa {
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.sp-coach-notes-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.sp-cnb-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #a5b4fc;
  margin-bottom: 8px;
}

.sp-cnb-content {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sp-advice-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-advice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.sp-ac-icon {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.sp-advice-card h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.sp-advice-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Light Theme Uyumları (Öğrenci Portalı & Giriş) */
body.light-theme .login-glass-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .login-input {
  background: #ffffff;
  border-color: #cbd5e1;
}

body.light-theme .demo-student-chip {
  background: #f8fafc;
  border-color: #e2e8f0;
}

body.light-theme .student-portal-header {
  background: rgba(255, 255, 255, 0.92);
}

body.light-theme .student-bottom-nav {
  background: rgba(255, 255, 255, 0.96);
  border-top-color: #e2e8f0;
}

body.light-theme .sp-target-card {
  background: linear-gradient(135deg, #eef2ff, #f3e8ff);
  border-color: #c7d2fe;
}

body.light-theme .sp-stat-box,
body.light-theme .sp-section-block,
body.light-theme .sp-lesson-card,
body.light-theme .sp-curriculum-overview-card,
body.light-theme .sp-topic-card,
body.light-theme .sp-hw-card,
body.light-theme .sp-chart-card,
body.light-theme .sp-exam-card,
body.light-theme .sp-coach-profile-card,
body.light-theme .sp-coach-notes-box,
body.light-theme .sp-advice-card,
body.light-theme .cloud-action-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

.cloud-action-card {
  transition: all var(--transition-fast);
}

.cloud-action-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

