/**
 * KOCLUK THEME SYSTEM - Dark & Light Mode
 * Canlı, renkli eğitim teması
 */

/* ============================================
   DARK MODE (Default)
   ============================================ */
:root {
  /* Ana Renkler */
  --primary: #667eea;
  --primary-light: #8b9dff;
  --primary-dark: #4c63d2;
  
  --secondary: #764ba2;
  --secondary-light: #9d6fd0;
  --secondary-dark: #5a3680;
  
  --accent: #f093fb;
  --accent-2: #4facfe;
  
  /* Arka Planlar */
  --bg: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --card-bg: rgba(30, 41, 59, 0.6);
  
  /* Metinler */
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --muted: #94a3b8;
  
  /* Durum Renkleri */
  --success: #10b981;
  --success-light: #34d399;
  --warning: #f59e0b;
  --warning-light: #fbbf24;
  --danger: #ef4444;
  --danger-light: #f87171;
  --info: #3b82f6;
  --info-light: #60a5fa;
  
  /* Sınırlar ve Gölgeler */
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --shadow: rgba(0, 0, 0, 0.3);
  
  /* Gradientler */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --gradient-info: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-bg: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

/* ============================================
   LIGHT MODE - RENK CÜMBÜŞÜ! 🎨🌈
   Mavi, Turuncu, Yeşil, Mor - HER YERİ RENKLENDIR!
   ============================================ */
[data-theme="light"] {
  /* Ana Renkler - CANLI VE PARLAK! */
  --primary: #3b82f6;        /* Parlak Mavi */
  --primary-light: #60a5fa;
  --primary-dark: #2563eb;
  
  --secondary: #8b5cf6;      /* Canlı Mor */
  --secondary-light: #a78bfa;
  --secondary-dark: #7c3aed;
  
  --accent: #f59e0b;         /* Parlak Turuncu */
  --accent-2: #10b981;       /* Taze Yeşil */
  
  /* Arka Planlar - AÇIK VE PARLAK */
  --bg: #f0f9ff;             /* Açık mavi tonu */
  --bg-secondary: #ffffff;
  --bg-tertiary: #e0f2fe;
  --card-bg: rgba(255, 255, 255, 0.9);
  
  /* Metinler - KOYU VE NET */
  --text: #0f172a;
  --text-secondary: #334155;
  --muted: #64748b;
  
  /* Durum Renkleri - SÜPER CANLI! */
  --success: #10b981;        /* Yeşil */
  --success-light: #34d399;
  --warning: #f59e0b;        /* Turuncu */
  --warning-light: #fbbf24;
  --danger: #ef4444;         /* Kırmızı */
  --danger-light: #f87171;
  --info: #3b82f6;          /* Mavi */
  --info-light: #60a5fa;
  
  /* Sınırlar ve Gölgeler */
  --border: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(0, 0, 0, 0.2);
  --shadow: rgba(0, 0, 0, 0.1);
  
  /* Gradientler - RENK BOMBASI! */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);      /* Mavi→Mor */
  --gradient-success: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);      /* Yeşil→Teal */
  --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);      /* Turuncu→Koyu Turuncu */
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #f43f5e 100%);       /* Kırmızı→Pembe */
  --gradient-info: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);         /* Mavi→Cyan */
  --gradient-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  
  /* ÖZEL LIGHT MODE GRADIENTLER - ÇOK RENKLI! */
  --gradient-rainbow: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 25%, #ec4899 50%, #f59e0b 75%, #10b981 100%);
  --gradient-ocean: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-sunset: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
  --gradient-forest: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #06b6d4 100%);
  --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #c084fc 100%);
  
  /* EKSTRA RENKLER - HER YER İÇİN! */
  --blue: #3b82f6;
  --blue-light: #93c5fd;
  --blue-dark: #1e40af;
  
  --purple: #8b5cf6;
  --purple-light: #c084fc;
  --purple-dark: #6d28d9;
  
  --orange: #f59e0b;
  --orange-light: #fbbf24;
  --orange-dark: #d97706;
  
  --green: #10b981;
  --green-light: #34d399;
  --green-dark: #047857;
  
  --pink: #ec4899;
  --pink-light: #f472b6;
  --pink-dark: #db2777;
  
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-dark: #0891b2;
  
  --red: #ef4444;
  --red-light: #f87171;
  --red-dark: #dc2626;
  
  --yellow: #fbbf24;
  --yellow-light: #fde047;
  --yellow-dark: #d97706;
  
  --teal: #14b8a6;
  --teal-light: #2dd4bf;
  --teal-dark: #0d9488;
}

/* ============================================
   SMOOTH TRANSITION - Tema Geçişi
   ============================================ */
* {
  transition: background-color 0.3s ease, 
              color 0.3s ease, 
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

/* Animasyonları koru */
*:is(:hover, :focus, .active) {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   THEME TOGGLE BUTTON - Sağ Üst Köşe
   ============================================ */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 3px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 32px var(--shadow);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(180deg);
  box-shadow: 0 12px 48px var(--shadow);
}

.theme-toggle:active {
  transform: scale(0.95);
}

/* Dark mode ikonu */
.theme-toggle[data-theme="dark"]::before {
  content: "🌙";
}

/* Light mode ikonu */
.theme-toggle[data-theme="light"]::before {
  content: "☀️";
}

/* ============================================
   RENKLI ELEMENTLER - HER YER RENKLENECEK!
   LIGHT MODE'DA TÜM SİTE RENK BOMBASI! 🎨🌈
   ============================================ */

/* ===== GENEL SAYFA ARKAPLAN - SÜPER RENKLİ! ===== */
[data-theme="light"] body {
  background: linear-gradient(135deg, 
    #e0f2fe 0%, 
    #ddd6fe 25%, 
    #fce7f3 50%, 
    #fed7aa 75%, 
    #d1fae5 100%
  );
  background-attachment: fixed;
  color: var(--text);
}

/* Radial gradient overlay - ÇOK DAHA RENKLİ! */
[data-theme="light"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.25), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.2), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.2), transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(236, 72, 153, 0.2), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .container {
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.1);
  padding: 0.75rem 0 !important;
  min-height: auto !important;
}

[data-theme="light"] .logo {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

[data-theme="light"] .logo-icon {
  filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.4));
}

/* Header Navigation */
[data-theme="light"] nav a {
  color: var(--text-secondary);
  font-weight: 600;
}

[data-theme="light"] nav a:hover {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

/* Header Buttons */
[data-theme="light"] .header-right .button {
  background: var(--gradient-primary);
  border: 2px solid transparent;
}

/* ===== BUTONLAR - SÜPER RENKLI! ===== */
[data-theme="light"] .button,
[data-theme="light"] .btn,
[data-theme="light"] button[type="submit"] {
  background: var(--gradient-primary);
  color: white;
  border: 2px solid transparent;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .button:hover,
[data-theme="light"] .btn:hover,
[data-theme="light"] button[type="submit"]:hover {
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.6);
  transform: translateY(-3px) scale(1.02);
  background: var(--gradient-ocean);
}

/* Button Secondary */
[data-theme="light"] .button-secondary {
  background: var(--gradient-success);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  color: white !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .button-secondary:hover {
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.6);
  background: var(--gradient-forest);
  color: white !important;
}

/* Button Danger */
[data-theme="light"] .button-danger {
  background: var(--gradient-danger);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

/* Button Warning */
[data-theme="light"] .button-warning {
  background: var(--gradient-warning);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

/* ===== KARTLAR - ÇOK DAHA RENKLİ! ===== */
[data-theme="light"] .card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95), 
    rgba(224, 242, 254, 0.9), 
    rgba(221, 214, 254, 0.9)
  );
  border: 3px solid transparent;
  border-image: linear-gradient(135deg, 
    var(--primary), 
    var(--secondary), 
    var(--success), 
    var(--warning)
  ) 1;
  box-shadow: 
    0 12px 48px rgba(59, 130, 246, 0.25), 
    0 4px 16px rgba(139, 92, 246, 0.2),
    0 0 32px rgba(245, 158, 11, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, 
    var(--primary), 
    var(--secondary), 
    var(--success), 
    var(--warning), 
    var(--primary)
  );
  background-size: 200% 100%;
  animation: rainbow-shift 3s linear infinite;
}

@keyframes rainbow-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

[data-theme="light"] .card:hover {
  border-color: var(--primary);
  box-shadow: 
    0 20px 80px rgba(59, 130, 246, 0.35), 
    0 8px 32px rgba(139, 92, 246, 0.25),
    0 0 48px rgba(245, 158, 11, 0.2);
  transform: translateY(-6px) scale(1.02);
}

/* Stat Card - Her biri ÇOK DAHA PARLAK renk! */
[data-theme="light"] .stat-card {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.3), 
    rgba(99, 102, 241, 0.25),
    rgba(147, 197, 253, 0.2)
  );
  border: 3px solid rgba(59, 130, 246, 0.5);
  box-shadow: 
    0 12px 48px rgba(59, 130, 246, 0.4),
    0 0 32px rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .stat-card.success {
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.3), 
    rgba(5, 150, 105, 0.25),
    rgba(52, 211, 153, 0.2)
  );
  border: 3px solid rgba(16, 185, 129, 0.5);
  box-shadow: 
    0 12px 48px rgba(16, 185, 129, 0.4),
    0 0 32px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .stat-card.warning {
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.3), 
    rgba(217, 119, 6, 0.25),
    rgba(251, 191, 36, 0.2)
  );
  border: 3px solid rgba(245, 158, 11, 0.5);
  box-shadow: 
    0 12px 48px rgba(245, 158, 11, 0.4),
    0 0 32px rgba(245, 158, 11, 0.2);
}

[data-theme="light"] .stat-card.purple {
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.3), 
    rgba(124, 58, 237, 0.25),
    rgba(167, 139, 250, 0.2)
  );
  border: 3px solid rgba(139, 92, 246, 0.5);
  box-shadow: 
    0 12px 48px rgba(139, 92, 246, 0.4),
    0 0 32px rgba(139, 92, 246, 0.2);
}

/* Dashboard Cards - PARLAK RENKLİ! */
[data-theme="light"] .dashboard-card {
  background: linear-gradient(135deg, 
    rgba(224, 242, 254, 0.8), 
    rgba(221, 214, 254, 0.7),
    rgba(254, 215, 170, 0.6)
  );
  border: 3px solid rgba(59, 130, 246, 0.4);
  box-shadow: 
    0 12px 48px rgba(59, 130, 246, 0.3),
    0 0 32px rgba(139, 92, 246, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .dashboard-card:hover {
  box-shadow: 
    0 20px 80px rgba(59, 130, 246, 0.5),
    0 0 64px rgba(139, 92, 246, 0.3);
  transform: translateY(-8px) scale(1.03);
  border-color: var(--secondary);
}

/* ===== LINKLER - RENKLI! ===== */
[data-theme="light"] a {
  color: var(--primary);
  transition: all 0.2s;
}

[data-theme="light"] a:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
}

/* ===== INPUTLAR - PARLAK RENKLİ BORDER! ===== */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98), 
    rgba(224, 242, 254, 0.95)
  ) !important;
  border: 3px solid rgba(59, 130, 246, 0.4) !important;
  color: var(--text) !important;
  transition: all 0.3s;
  box-shadow: 
    0 4px 16px rgba(59, 130, 246, 0.15),
    0 0 24px rgba(139, 92, 246, 0.1) !important;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
  border-color: var(--secondary) !important;
  box-shadow: 
    0 0 0 5px rgba(139, 92, 246, 0.2), 
    0 8px 32px rgba(59, 130, 246, 0.3),
    0 0 40px rgba(245, 158, 11, 0.15) !important;
  background: linear-gradient(135deg, 
    white, 
    rgba(221, 214, 254, 0.3)
  ) !important;
  outline: none;
  transform: translateY(-2px);
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: var(--muted) !important;
  opacity: 0.7;
}

/* ===== BAŞLIKLAR - GRADIENT RENKLER! ===== */
[data-theme="light"] h1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

[data-theme="light"] h2 {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

[data-theme="light"] h3 {
  background: var(--gradient-success);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ===== NAV TABS - HER TAB FARKLI RENK! ===== */
[data-theme="light"] .teacher-nav-tabs,
[data-theme="light"] .student-nav-tabs {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
  padding: 12px;
  border-radius: 20px;
}

[data-theme="light"] .teacher-nav-tabs .tab-link,
[data-theme="light"] .student-nav-tabs .tab-link {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(59, 130, 246, 0.2);
  color: var(--text);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.05);
}

[data-theme="light"] .teacher-nav-tabs .tab-link:hover,
[data-theme="light"] .student-nav-tabs .tab-link:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

[data-theme="light"] .teacher-nav-tabs .tab-link.active,
[data-theme="light"] .student-nav-tabs .tab-link.active {
  background: var(--gradient-ocean);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
}

/* Her tab için özel renk */
[data-theme="light"] .tab-link[href*="odevler"]:hover,
[data-theme="light"] .tab-link[href*="odevlerim"]:hover {
  background: var(--gradient-success);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .tab-link[href*="ders-programlari"]:hover,
[data-theme="light"] .tab-link[href*="ders-programim"]:hover {
  background: var(--gradient-warning);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

[data-theme="light"] .tab-link[href*="blog"]:hover {
  background: var(--gradient-sunset);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

[data-theme="light"] .tab-link[href*="profil"]:hover {
  background: var(--gradient-purple);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}
  color: var(--text);
}

[data-theme="light"] .teacher-nav-tabs .tab-link:nth-child(1):hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.1));
  border-color: var(--blue);
  color: var(--blue-dark);
}

[data-theme="light"] .teacher-nav-tabs .tab-link:nth-child(2):hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.1));
  border-color: var(--purple);
  color: var(--purple-dark);
}

[data-theme="light"] .teacher-nav-tabs .tab-link:nth-child(3):hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
  border-color: var(--green);
  color: var(--green-dark);
}

[data-theme="light"] .teacher-nav-tabs .tab-link:nth-child(4):hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.1));
  border-color: var(--orange);
  color: var(--orange-dark);
}

[data-theme="light"] .teacher-nav-tabs .tab-link:nth-child(5):hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(244, 114, 182, 0.1));
  border-color: var(--pink);
  color: var(--pink-dark);
}

[data-theme="light"] .teacher-nav-tabs .tab-link:nth-child(6):hover {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(34, 211, 238, 0.1));
  border-color: var(--cyan);
  color: var(--cyan-dark);
}

[data-theme="light"] .teacher-nav-tabs .tab-link.active {
  background: var(--gradient-rainbow);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
}

/* ===== TABLOLAR - SÜPER RENKLI! ===== */
[data-theme="light"] table,
[data-theme="light"] .table {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

[data-theme="light"] .table th,
[data-theme="light"] table th {
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

[data-theme="light"] .table td,
[data-theme="light"] table td {
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  padding: 12px 16px;
}

[data-theme="light"] .table tr:hover,
[data-theme="light"] table tbody tr:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
  transform: scale(1.01);
  transition: all 0.2s;
}

/* ===== BADGE'LER - HER BİRİ FARKLI RENK! ===== */
[data-theme="light"] .badge,
[data-theme="light"] .chip {
  background: var(--gradient-primary);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .badge.success,
[data-theme="light"] .chip.success {
  background: var(--gradient-success);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .badge.warning,
[data-theme="light"] .chip.warning {
  background: var(--gradient-warning);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

[data-theme="light"] .badge.danger,
[data-theme="light"] .chip.danger {
  background: var(--gradient-danger);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

[data-theme="light"] .badge.purple,
[data-theme="light"] .chip.purple {
  background: var(--gradient-purple);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

/* ===== ACHIEVEMENT BADGES - ÖZEL RENKLER! ===== */
[data-theme="light"] .achievement-badge {
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid transparent;
  border-image: linear-gradient(135deg, var(--primary), var(--secondary), var(--success)) 1;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .achievement-badge:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 16px 64px rgba(59, 130, 246, 0.4);
  filter: brightness(1.1);
}

[data-theme="light"] .achievement-badge.homework {
  border-image: linear-gradient(135deg, #3b82f6, #2563eb) 1;
}

[data-theme="light"] .achievement-badge.study {
  border-image: linear-gradient(135deg, #10b981, #059669) 1;
}

[data-theme="light"] .achievement-badge.exam {
  border-image: linear-gradient(135deg, #8b5cf6, #7c3aed) 1;
}

[data-theme="light"] .achievement-badge.overall {
  border-image: linear-gradient(135deg, #f59e0b, #d97706) 1;
}

[data-theme="light"] .achievement-badge.activity {
  border-image: linear-gradient(135deg, #ec4899, #be185d) 1;
}

/* ===== SCHEDULE CARDS - SÜPER PARLAK! ===== */
[data-theme="light"] .schedule-card,
[data-theme="light"] .assignment-card,
[data-theme="light"] .student-card {
  background: linear-gradient(135deg, 
    rgba(224, 242, 254, 0.9), 
    rgba(255, 255, 255, 0.95),
    rgba(221, 214, 254, 0.8)
  );
  border: 3px solid rgba(59, 130, 246, 0.4);
  box-shadow: 
    0 12px 48px rgba(59, 130, 246, 0.3),
    0 4px 16px rgba(139, 92, 246, 0.2),
    0 0 32px rgba(16, 185, 129, 0.15);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .schedule-card::before,
[data-theme="light"] .assignment-card::before,
[data-theme="light"] .student-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, 
    var(--primary), 
    var(--secondary), 
    var(--success), 
    var(--warning),
    var(--primary)
  );
  background-size: 200% 100%;
  animation: rainbow-shift 4s linear infinite;
}

[data-theme="light"] .schedule-card:hover,
[data-theme="light"] .assignment-card:hover,
[data-theme="light"] .student-card:hover {
  box-shadow: 
    0 20px 80px rgba(59, 130, 246, 0.45),
    0 8px 32px rgba(139, 92, 246, 0.35),
    0 0 48px rgba(16, 185, 129, 0.25);
  transform: translateY(-8px) scale(1.03);
  border-color: var(--secondary);
}

/* Category Headers */
[data-theme="light"] .category-header {
  background: var(--gradient-primary);
  color: white;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .category-header.archived {
  background: var(--gradient-warning);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

/* ===== PROGRESS BARS - RENKLI! ===== */
[data-theme="light"] .progress-bar {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

[data-theme="light"] .progress-fill {
  background: var(--gradient-primary);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.5);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .progress-fill.success {
  background: var(--gradient-success);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
}

[data-theme="light"] .progress-fill.warning {
  background: var(--gradient-warning);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
}

[data-theme="light"] .progress-fill.danger {
  background: var(--gradient-danger);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
}

/* ===== MODALS & ALERTS - SÜPER RENKLI! ===== */
[data-theme="light"] .modal,
[data-theme="light"] .alert,
[data-theme="light"] #exam-modal {
  background: rgba(59, 130, 246, 0.15) !important;
  backdrop-filter: blur(15px) !important;
}

[data-theme="light"] .exam-modal-dialog,
[data-theme="light"] .modal-dialog {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98), 
    rgba(224, 242, 254, 0.95),
    rgba(221, 214, 254, 0.9)
  ) !important;
  border: 3px solid rgba(59, 130, 246, 0.4) !important;
  box-shadow: 
    0 24px 96px rgba(59, 130, 246, 0.5),
    0 0 64px rgba(139, 92, 246, 0.3) !important;
  backdrop-filter: blur(20px);
}

[data-theme="light"] .chart-container {
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2) !important;
}

[data-theme="light"] .modal-header {
  background: var(--gradient-primary);
  color: white;
  padding: 20px 24px;
}

[data-theme="light"] .alert.success {
  border-color: var(--success);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
}

[data-theme="light"] .alert.warning {
  border-color: var(--warning);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
}

[data-theme="light"] .alert.error {
  border-color: var(--danger);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
}

/* ===== FOOTER - RENKLI! ===== */
[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--secondary), var(--success), var(--warning)) 1;
  box-shadow: 0 -8px 32px rgba(59, 130, 246, 0.15);
  color: var(--text);
}

[data-theme="light"] .footer-links a {
  color: var(--text-secondary);
  transition: all 0.2s;
}

[data-theme="light"] .footer-links a:hover {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

/* ===== FORM ELEMENTS - RENKLI! ===== */
[data-theme="light"] .form-group label {
  color: var(--text);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .form-control {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s;
}

[data-theme="light"] .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  background: white;
}

/* ===== CHECKBOXES & RADIOS - RENKLI! ===== */
[data-theme="light"] input[type="checkbox"]:checked,
[data-theme="light"] input[type="radio"]:checked {
  background: var(--gradient-primary);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* ===== SCROLLBAR - RENKLI! ===== */
[data-theme="light"] ::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(59, 130, 246, 0.05);
  border-radius: 6px;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-ocean);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* ============================================
   PANEL ÖZELLİKLERİ - SÜPER RENKLI!
   ============================================ */

/* Panel Container */
[data-theme="light"] .kocluk-student,
[data-theme="light"] .kocluk-teacher {
  background: transparent;
}

/* Panel Grid */
[data-theme="light"] .grid {
  gap: 24px;
}

/* Search Inputs */
[data-theme="light"] #student-search,
[data-theme="light"] input[type="search"] {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.3);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

[data-theme="light"] #student-search:focus,
[data-theme="light"] input[type="search"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 4px 16px rgba(59, 130, 246, 0.2);
}

[data-theme="light"] #student-search::placeholder,
[data-theme="light"] input[type="search"]::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

/* Select Toolbar */
[data-theme="light"] .select-toolbar {
  background: rgba(59, 130, 246, 0.05);
  padding: 16px;
  border-radius: 12px;
  border: 2px solid rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .select-toolbar .count {
  color: var(--primary);
  font-weight: 700;
}

/* Chart Box */
[data-theme="light"] .chart-box {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
  border-radius: 16px;
  padding: 20px;
}

/* Modal - RENKLI! */
[data-theme="light"] #exam-modal {
  background: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
}

[data-theme="light"] #exam-modal .dialog {
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 24px 80px rgba(59, 130, 246, 0.4);
}

/* Select/Dropdown - RENKLI! */
[data-theme="light"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233b82f6' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-color: rgba(255, 255, 255, 0.95);
}

/* Date Picker - RENKLI! */
[data-theme="light"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator {
  filter: brightness(1) invert(0);
  opacity: 0.7;
}

[data-theme="light"] input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover,
[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator:hover {
  filter: brightness(1) invert(0) drop-shadow(0 0 4px rgba(59, 130, 246, 0.8));
  opacity: 1;
}

/* ============================================
   ÖĞRENCİ/ÖĞRETMEN KARTLARI - HER BİRİ FARKLI RENK!
   ============================================ */

/* Student List Card */
[data-theme="light"] .student-list-item {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-left: 5px solid var(--primary);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
  transition: all 0.3s;
}

[data-theme="light"] .student-list-item:hover {
  border-left-width: 8px;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
  transform: translateX(4px);
}

/* Assignment Status Colors */
[data-theme="light"] .status-completed {
  background: var(--gradient-success);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .status-pending {
  background: var(--gradient-warning);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

[data-theme="light"] .status-missing {
  background: var(--gradient-danger);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

/* ============================================
   DASHBOARD HERO SECTION - RENKLI!
   ============================================ */

[data-theme="light"] .dashboard-hero {
  background: var(--gradient-primary);
  border-radius: 24px;
  padding: 32px;
  color: white;
  box-shadow: 0 16px 64px rgba(59, 130, 246, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .dashboard-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* ============================================
   WORK LOG & SCHEDULE TRACKING - RENKLI!
   ============================================ */

[data-theme="light"] .work-log-entry {
  background: rgba(255, 255, 255, 0.95);
  border-left: 4px solid var(--primary);
  padding: 16px;
  margin: 12px 0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
  transition: all 0.3s;
}

[data-theme="light"] .work-log-entry:hover {
  border-left-width: 8px;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
  transform: translateX(4px);
}

[data-theme="light"] .time-slot {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
  border: 2px solid rgba(59, 130, 246, 0.3);
  padding: 12px;
  border-radius: 12px;
  transition: all 0.2s;
}

[data-theme="light"] .time-slot:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .time-slot.completed {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
  border-color: var(--success);
}

/* ============================================
   FRONT PAGE - HERO SECTION - SÜPER RENKLI!
   ============================================ */

[data-theme="light"] .devran-hero-section {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.15) 0%, 
    rgba(139, 92, 246, 0.15) 50%,
    rgba(16, 185, 129, 0.15) 100%
  );
}

[data-theme="light"] .devran-hero-background {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.98) 0%, 
    rgba(139, 92, 246, 0.98) 50%,
    rgba(16, 185, 129, 0.95) 100%
  );
}

[data-theme="light"] .devran-photo,
[data-theme="light"] .devran-photo-placeholder {
  border: 5px solid white;
  box-shadow: 0 16px 64px rgba(59, 130, 246, 0.5);
}

[data-theme="light"] .devran-stats {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

/* Devran Balcı ismi - NET ve OKUNUR! */
[data-theme="light"] .devran-name {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  color: white !important;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(59, 130, 246, 0.4) !important;
  filter: none !important;
  font-weight: 900 !important;
}

/* Devran title - okunur! */
[data-theme="light"] .devran-title {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Quick Access Cards - MEGA RENKLİ! */
[data-theme="light"] .access-card {
  background: linear-gradient(135deg, 
    rgba(224, 242, 254, 0.9), 
    rgba(255, 255, 255, 0.95),
    rgba(221, 214, 254, 0.85)
  );
  border: 3px solid transparent;
  box-shadow: 
    0 16px 64px rgba(59, 130, 246, 0.35),
    0 0 48px rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .access-card::before {
  background: linear-gradient(90deg, 
    rgba(59, 130, 246, 0.3), 
    rgba(139, 92, 246, 0.3),
    rgba(16, 185, 129, 0.3),
    rgba(245, 158, 11, 0.3)
  );
  height: 6px;
}

[data-theme="light"] .card-analiz {
  border-image: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6) 1;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.25), 
    rgba(255, 255, 255, 0.9),
    rgba(99, 102, 241, 0.2)
  );
}

[data-theme="light"] .card-analiz:hover {
  box-shadow: 
    0 24px 96px rgba(59, 130, 246, 0.6),
    0 0 64px rgba(99, 102, 241, 0.4);
  transform: translateY(-16px) scale(1.05);
}

[data-theme="light"] .card-odev {
  border-image: linear-gradient(135deg, #10b981, #34d399, #14b8a6) 1;
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.25), 
    rgba(255, 255, 255, 0.9),
    rgba(52, 211, 153, 0.2)
  );
}

[data-theme="light"] .card-odev:hover {
  box-shadow: 
    0 24px 96px rgba(16, 185, 129, 0.6),
    0 0 64px rgba(52, 211, 153, 0.4);
  transform: translateY(-16px) scale(1.05);
}

[data-theme="light"] .card-hedef {
  border-image: linear-gradient(135deg, #f59e0b, #fb923c, #f97316) 1;
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.25), 
    rgba(255, 255, 255, 0.9),
    rgba(251, 146, 60, 0.2)
  );
}

[data-theme="light"] .card-hedef:hover {
  box-shadow: 
    0 24px 96px rgba(245, 158, 11, 0.6),
    0 0 64px rgba(251, 146, 60, 0.4);
  transform: translateY(-16px) scale(1.05);
}

[data-theme="light"] .card-icon-wrapper {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
  border: 2px solid rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .card-badge {
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .stat-item {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .card-footer {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border-top: 2px solid rgba(59, 130, 246, 0.15);
}

/* About Section - RENKLI! */
[data-theme="light"] .about-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
}

[data-theme="light"] .about-text {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .expertise-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

[data-theme="light"] .expertise-card:nth-child(1) {
  border-image: linear-gradient(135deg, #3b82f6, #2563eb) 1;
}

[data-theme="light"] .expertise-card:nth-child(1):hover {
  box-shadow: 0 16px 64px rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .expertise-card:nth-child(2) {
  border-image: linear-gradient(135deg, #10b981, #059669) 1;
}

[data-theme="light"] .expertise-card:nth-child(2):hover {
  box-shadow: 0 16px 64px rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .expertise-card:nth-child(3) {
  border-image: linear-gradient(135deg, #f59e0b, #d97706) 1;
}

[data-theme="light"] .expertise-card:nth-child(3):hover {
  box-shadow: 0 16px 64px rgba(245, 158, 11, 0.4);
}

[data-theme="light"] .expertise-card:nth-child(4) {
  border-image: linear-gradient(135deg, #8b5cf6, #7c3aed) 1;
}

[data-theme="light"] .expertise-card:nth-child(4):hover {
  box-shadow: 0 16px 64px rgba(139, 92, 246, 0.4);
}

[data-theme="light"] .expertise-icon {
  font-size: 36px;
  filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

/* Platform Features - MEGA RENKLİ! */
[data-theme="light"] .platform-features-section,
[data-theme="light"] .features-section {
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.15), 
    rgba(59, 130, 246, 0.15),
    rgba(16, 185, 129, 0.12),
    rgba(245, 158, 11, 0.12)
  );
}

[data-theme="light"] .feature-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95), 
    rgba(224, 242, 254, 0.9),
    rgba(221, 214, 254, 0.85)
  );
  border: 3px solid rgba(59, 130, 246, 0.4);
  box-shadow: 
    0 12px 48px rgba(59, 130, 246, 0.3),
    0 0 32px rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .feature-card:hover {
  box-shadow: 
    0 20px 80px rgba(59, 130, 246, 0.5),
    0 0 64px rgba(139, 92, 246, 0.3);
  transform: translateY(-12px) scale(1.05);
  border-color: var(--secondary);
}

[data-theme="light"] .feature-icon {
  background: var(--gradient-ocean);
  box-shadow: 
    0 12px 32px rgba(59, 130, 246, 0.5),
    0 0 24px rgba(139, 92, 246, 0.3);
}

/* CTA Section - SÜPER RENKLI! */
[data-theme="light"] .cta-section {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.15), 
    rgba(139, 92, 246, 0.15), 
    rgba(16, 185, 129, 0.15)
  );
  border-top: 3px solid rgba(59, 130, 246, 0.3);
  border-bottom: 3px solid rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .btn-primary-large {
  background: var(--gradient-primary);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

[data-theme="light"] .btn-primary-large:hover {
  box-shadow: 0 16px 56px rgba(59, 130, 246, 0.7);
  transform: translateY(-4px) scale(1.05);
}

/* ============================================
   AVATAR & USER PROFILE - RENKLI!
   ============================================ */

[data-theme="light"] .avatar-img,
[data-theme="light"] .user-avatar {
  border: 3px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .avatar-img:hover,
[data-theme="light"] .user-avatar:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5);
  transform: scale(1.05);
}

/* Profile Stats Grid - RENKLI! */
[data-theme="light"] .profile-stats-grid {
  gap: 24px;
}

[data-theme="light"] .profile-stat-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
  transition: all 0.3s;
}

[data-theme="light"] .profile-stat-card:hover {
  box-shadow: 0 16px 64px rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

[data-theme="light"] .profile-stat-card.primary {
  border-image: linear-gradient(135deg, #3b82f6, #6366f1) 1;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.05));
}

[data-theme="light"] .profile-stat-card.success {
  border-image: linear-gradient(135deg, #10b981, #34d399) 1;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(52, 211, 153, 0.05));
}

[data-theme="light"] .profile-stat-card.warning {
  border-image: linear-gradient(135deg, #f59e0b, #fb923c) 1;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(251, 146, 60, 0.05));
}

[data-theme="light"] .profile-stat-card.purple {
  border-image: linear-gradient(135deg, #8b5cf6, #a78bfa) 1;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(167, 139, 250, 0.05));
}

/* Stat Icons - RENKLI! */
[data-theme="light"] .stat-icon-wrapper {
  background: var(--gradient-primary);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .stat-icon-wrapper.success {
  background: var(--gradient-success);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .stat-icon-wrapper.warning {
  background: var(--gradient-warning);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

[data-theme="light"] .stat-icon-wrapper.purple {
  background: var(--gradient-purple);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

/* ============================================
   LOGIN & AUTH PAGES - SÜPER RENKLI!
   ============================================ */

[data-theme="light"] .auth-page-container {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 50%,
    rgba(16, 185, 129, 0.1) 100%
  ) !important;
}

[data-theme="light"] .auth-particles {
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%) !important;
}

[data-theme="light"] .auth-card {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 3px solid rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 24px 80px rgba(59, 130, 246, 0.3) !important;
  backdrop-filter: blur(40px) !important;
}

[data-theme="light"] .auth-header h1 {
  background: var(--gradient-primary) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
}

[data-theme="light"] .auth-icon {
  filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 0.4));
}

[data-theme="light"] .form-group input[type="text"],
[data-theme="light"] .form-group input[type="email"],
[data-theme="light"] .form-group input[type="password"],
[data-theme="light"] .auth-form input {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 2px solid rgba(59, 130, 246, 0.3) !important;
  color: var(--text) !important;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .auth-form input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 4px 16px rgba(59, 130, 246, 0.2) !important;
}

[data-theme="light"] .btn-block,
[data-theme="light"] .auth-form button[type="submit"] {
  background: var(--gradient-primary) !important;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4) !important;
}

[data-theme="light"] .btn-block:hover,
[data-theme="light"] .auth-form button[type="submit"]:hover {
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.6) !important;
  transform: translateY(-2px) scale(1.02);
}

[data-theme="light"] .auth-message.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1)) !important;
  border: 2px solid rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2) !important;
}

[data-theme="light"] .auth-message.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1)) !important;
  border: 2px solid rgba(239, 68, 68, 0.4) !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2) !important;
}

[data-theme="light"] .auth-footer {
  border-top: 2px solid rgba(59, 130, 246, 0.2) !important;
}

[data-theme="light"] .auth-link {
  color: var(--primary) !important;
  font-weight: 700;
}

[data-theme="light"] .auth-link:hover {
  color: var(--secondary) !important;
}

/* Register Button */
[data-theme="light"] .register-btn {
  background: var(--gradient-success) !important;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4) !important;
}

[data-theme="light"] .register-btn:hover {
  box-shadow: 0 12px 48px rgba(16, 185, 129, 0.6) !important;
  transform: translateY(-3px) scale(1.05);
}

/* Auth Grid */
[data-theme="light"] .auth-grid .card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.2);
}

/* Login Container */
[data-theme="light"] .login-container {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1), 
    rgba(139, 92, 246, 0.1)
  );
}

[data-theme="light"] .login-card {
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 16px 64px rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .login-header {
  background: var(--gradient-primary);
  color: white;
}

[data-theme="light"] .login-form input {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .login-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

[data-theme="light"] .login-button {
  background: var(--gradient-primary);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .login-button:hover {
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.6);
  transform: translateY(-2px) scale(1.02);
}

/* ============================================
   BLOG & CONTENT - RENKLI!
   ============================================ */

[data-theme="light"] .blog-post-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
  border-radius: 16px;
}

[data-theme="light"] .blog-post-card:hover {
  box-shadow: 0 16px 64px rgba(59, 130, 246, 0.3);
  transform: translateY(-6px);
}

[data-theme="light"] .blog-post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-ocean);
}

[data-theme="light"] .post-meta {
  color: var(--text-secondary);
}

[data-theme="light"] .post-category {
  background: var(--gradient-primary);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* ============================================
   SPECIAL ELEMENTS - RENKLI!
   ============================================ */

/* Loading Spinner */
[data-theme="light"] .loading-spinner {
  border: 4px solid rgba(59, 130, 246, 0.2);
  border-top-color: var(--primary);
}

/* Tooltip */
[data-theme="light"] .tooltip {
  background: rgba(59, 130, 246, 0.95);
  color: white;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

/* Divider */
[data-theme="light"] hr,
[data-theme="light"] .divider {
  border-color: rgba(59, 130, 246, 0.2);
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Tag Cloud */
[data-theme="light"] .tag {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border: 2px solid rgba(59, 130, 246, 0.3);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.2s;
}

[data-theme="light"] .tag:hover {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

/* Pagination */
[data-theme="light"] .pagination {
  gap: 12px;
}

[data-theme="light"] .pagination a,
[data-theme="light"] .pagination span {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(59, 130, 246, 0.3);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.2s;
}

[data-theme="light"] .pagination a:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .pagination .current {
  background: var(--gradient-ocean);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
}

/* Breadcrumb */
[data-theme="light"] .breadcrumb {
  background: rgba(59, 130, 246, 0.05);
  border: 2px solid rgba(59, 130, 246, 0.2);
  padding: 16px 24px;
  border-radius: 12px;
}

[data-theme="light"] .breadcrumb a {
  color: var(--primary);
  font-weight: 600;
}

[data-theme="light"] .breadcrumb a:hover {
  text-decoration: underline;
  color: var(--secondary);
}

/* ============================================
   ANIMATIONS & TRANSITIONS - Enhanced!
   ============================================ */

[data-theme="light"] * {
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade In Animation */
@keyframes lightFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-theme="light"] .fade-in {
  animation: lightFadeIn 0.6s ease-out;
}

/* ============================================
   RESPONSIVE - KAPSAMLI MOBİL UYUMLULUK
   ============================================ */

/* Mobil - Küçük ekranlar (0-480px) */
@media (max-width: 480px) {
  /* Theme Toggle */
  .theme-toggle {
    width: 44px;
    height: 44px;
    font-size: 18px;
    top: 12px;
    right: 12px;
  }
  
  /* Light Mode - Mobil optimizasyonlar */
  [data-theme="light"] body::before {
    background: 
      radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15), transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15), transparent 40%);
  }
  
  [data-theme="light"] .card {
    padding: 1rem !important;
    border-width: 2px !important;
  }
  
  [data-theme="light"] .card::before {
    height: 3px;
  }
  
  [data-theme="light"] h1 {
    font-size: 1.75rem !important;
  }
  
  [data-theme="light"] h2 {
    font-size: 1.35rem !important;
  }
  
  [data-theme="light"] h3 {
    font-size: 1.15rem !important;
  }
  
  [data-theme="light"] .button,
  [data-theme="light"] .btn {
    padding: 10px 18px !important;
    font-size: 14px !important;
  }
  
  [data-theme="light"] .button-secondary {
    padding: 10px 18px !important;
  }
  
  [data-theme="light"] input,
  [data-theme="light"] textarea,
  [data-theme="light"] select {
    padding: 10px 12px !important;
    font-size: 14px !important;
    border-width: 2px !important;
  }
  
  [data-theme="light"] .teacher-nav-tabs,
  [data-theme="light"] .student-nav-tabs {
    padding: 8px !important;
    gap: 6px !important;
    flex-direction: column;
  }
  
  [data-theme="light"] .tab-link {
    width: 100%;
    padding: 12px 16px !important;
    font-size: 14px !important;
  }
  
  [data-theme="light"] .dashboard-card {
    padding: 1rem !important;
  }
  
  [data-theme="light"] .stat-card {
    padding: 1rem !important;
  }
  
  [data-theme="light"] .badge,
  [data-theme="light"] .chip {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }
  
  [data-theme="light"] .modal-dialog,
  [data-theme="light"] .exam-modal-dialog {
    margin: 1rem 0.5rem !important;
    padding: 1rem !important;
  }
  
  [data-theme="light"] .profile-header {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1.5rem 1rem !important;
  }
  
  [data-theme="light"] .profile-stats {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  [data-theme="light"] .achievement-badge {
    padding: 1rem !important;
  }
  
  [data-theme="light"] .schedule-card,
  [data-theme="light"] .assignment-card,
  [data-theme="light"] .student-card {
    padding: 1rem !important;
  }
  
  [data-theme="light"] .feature-card {
    padding: 1.25rem !important;
  }
  
  [data-theme="light"] .feature-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.75rem !important;
  }
  
  [data-theme="light"] .table th,
  [data-theme="light"] .table td {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }
  
  [data-theme="light"] .access-card {
    padding: 1.25rem !important;
  }
  
  [data-theme="light"] .devran-hero-section {
    padding: 2rem 0 !important;
  }
  
  [data-theme="light"] .devran-profile {
    flex-direction: column !important;
    text-align: center !important;
    gap: 2rem !important;
  }
  
  [data-theme="light"] .devran-photo,
  [data-theme="light"] .devran-photo-placeholder {
    width: 150px !important;
    height: 150px !important;
  }
  
  [data-theme="light"] .expertise-card {
    padding: 1.25rem !important;
  }
}

/* Mobil - Orta ekranlar (481px-768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .theme-toggle {
    width: 48px;
    height: 48px;
    font-size: 20px;
    top: 15px;
    right: 15px;
  }
  
  [data-theme="light"] .card {
    padding: 1.5rem !important;
  }
  
  [data-theme="light"] h1 {
    font-size: 2.25rem !important;
  }
  
  [data-theme="light"] h2 {
    font-size: 1.75rem !important;
  }
  
  [data-theme="light"] .teacher-nav-tabs,
  [data-theme="light"] .student-nav-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  [data-theme="light"] .tab-link {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }
  
  [data-theme="light"] .profile-header {
    flex-wrap: wrap;
    gap: 2rem !important;
  }
  
  [data-theme="light"] .devran-photo,
  [data-theme="light"] .devran-photo-placeholder {
    width: 180px !important;
    height: 180px !important;
  }
}

/* Tablet (769px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .theme-toggle {
    width: 52px;
    height: 52px;
    font-size: 22px;
    top: 18px;
    right: 18px;
  }
  
  [data-theme="light"] .card {
    padding: 2rem !important;
  }
  
  [data-theme="light"] .teacher-nav-tabs .tab-link,
  [data-theme="light"] .student-nav-tabs .tab-link {
    padding: 14px 22px !important;
    font-size: 15px !important;
  }
}

/* Landscape mode için özel düzenlemeler */
@media (max-height: 600px) and (orientation: landscape) {
  .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 16px;
    top: 10px;
    right: 10px;
  }
  
  [data-theme="light"] .dashboard-hero {
    padding: 1.5rem !important;
  }
  
  [data-theme="light"] .profile-header {
    flex-direction: row !important;
    padding: 1.5rem !important;
  }
  
  [data-theme="light"] .modal-dialog,
  [data-theme="light"] .exam-modal-dialog {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Touch cihazlar için iyileştirmeler */
@media (hover: none) and (pointer: coarse) {
  .theme-toggle {
    min-width: 44px;
    min-height: 44px;
  }
  
  .theme-toggle:active {
    transform: scale(0.95);
  }
  
  [data-theme="light"] .button,
  [data-theme="light"] .btn,
  [data-theme="light"] .tab-link {
    min-height: 44px;
    padding: 12px 20px !important;
  }
  
  [data-theme="light"] .button:active,
  [data-theme="light"] .btn:active,
  [data-theme="light"] .tab-link:active {
    transform: scale(0.97);
    opacity: 0.95;
  }
  
  [data-theme="light"] input,
  [data-theme="light"] textarea,
  [data-theme="light"] select {
    font-size: 16px !important; /* iOS zoom engellemek için */
    min-height: 44px;
  }
  
  [data-theme="light"] .card:active {
    transform: scale(0.99);
  }
}

/* iPhone SE ve benzeri küçük ekranlar */
@media (max-width: 375px) {
  .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 16px;
    top: 10px;
    right: 10px;
  }
  
  [data-theme="light"] h1 {
    font-size: 1.5rem !important;
  }
  
  [data-theme="light"] h2 {
    font-size: 1.25rem !important;
  }
  
  [data-theme="light"] h3 {
    font-size: 1.1rem !important;
  }
  
  [data-theme="light"] .button,
  [data-theme="light"] .btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
  
  [data-theme="light"] .card {
    padding: 0.875rem !important;
  }
  
  [data-theme="light"] .tab-link {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
  
  [data-theme="light"] .table th,
  [data-theme="light"] .table td {
    padding: 6px 8px !important;
    font-size: 11px !important;
  }
  
  [data-theme="light"] .devran-photo,
  [data-theme="light"] .devran-photo-placeholder {
    width: 120px !important;
    height: 120px !important;
  }
  
  [data-theme="light"] .badge,
  [data-theme="light"] .chip {
    font-size: 10px !important;
    padding: 4px 8px !important;
  }
}

/* Geniş ekranlar (1440px+) */
@media (min-width: 1440px) {
  .theme-toggle {
    width: 60px;
    height: 60px;
    font-size: 26px;
    top: 24px;
    right: 24px;
  }
  
  [data-theme="light"] .container {
    max-width: 1320px;
  }
  
  [data-theme="light"] .card {
    padding: 2.5rem !important;
  }
}

/* Print için optimize */
@media print {
  .theme-toggle {
    display: none !important;
  }
  
  [data-theme="light"] .card {
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  [data-theme="light"] body {
    background: white !important;
  }
  
  [data-theme="light"] .button,
  [data-theme="light"] .btn,
  [data-theme="light"] .teacher-nav-tabs,
  [data-theme="light"] .student-nav-tabs {
    display: none !important;
  }
}

