/* Classlem - ClassDojo Tarzı Sınıf & Öğrenci Yönetim Sistemi CSS */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-fun: 'Nunito', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Nunito', system-ui, -apple-system, sans-serif;

  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-dark: #075985;

  --positive: #10b981;
  --positive-hover: #059669;
  --positive-light: #d1fae5;
  --positive-dark: #047857;

  --needs-work: #f59e0b;
  --needs-work-hover: #d97706;
  --needs-work-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;

  --accent-purple: #8b5cf6;
  --accent-purple-light: #ede9fe;
  --accent-pink: #ec4899;
  --accent-pink-light: #fce7f3;
  --accent-yellow: #f59e0b;
  --accent-teal: #14b8a6;

  /* Sevimli Pastel Kart Renkleri */
  --pastel-blue-bg: linear-gradient(180deg, #ffffff 60%, #e0f2fe 100%);
  --pastel-blue-border: #bae6fd;
  --pastel-green-bg: linear-gradient(180deg, #ffffff 60%, #dcfce7 100%);
  --pastel-green-border: #bbf7d0;
  --pastel-purple-bg: linear-gradient(180deg, #ffffff 60%, #f3e8ff 100%);
  --pastel-purple-border: #e9d5ff;
  --pastel-pink-bg: linear-gradient(180deg, #ffffff 60%, #fce7f3 100%);
  --pastel-pink-border: #fbcfe8;
  --pastel-amber-bg: linear-gradient(180deg, #ffffff 60%, #fef3c7 100%);
  --pastel-amber-border: #fde68a;
  --pastel-teal-bg: linear-gradient(180deg, #ffffff 60%, #ccfbf1 100%);
  --pastel-teal-border: #99f6e4;

  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfdfe;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 6px 12px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 22px 35px -6px rgba(15, 23, 42, 0.14), 0 10px 14px -6px rgba(15, 23, 42, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 10% 12%, rgba(56, 189, 248, 0.15) 0px, transparent 40%),
    radial-gradient(at 90% 18%, rgba(167, 139, 250, 0.15) 0px, transparent 40%),
    radial-gradient(at 25% 85%, rgba(251, 191, 36, 0.15) 0px, transparent 40%),
    radial-gradient(at 85% 85%, rgba(52, 211, 153, 0.15) 0px, transparent 40%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* === NAVBAR === */
.navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid #e0f2fe;
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.85rem 1.5rem;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.06);
}

.nav-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  cursor: pointer;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transition: var(--transition);
  background: #0f172a;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(2deg);
}

.brand-info h1 {
  font-family: var(--font-fun);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #0284c7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-family: var(--font-fun);
  font-size: 0.72rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fef08a, #facc15);
  color: #854d0e;
  -webkit-text-fill-color: #854d0e;
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(234, 179, 8, 0.25);
  vertical-align: middle;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-dark));
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--border-light);
  border-color: #cbd5e1;
}

/* İlkokul & Anasınıfı için Canlı Araç Butonları */
.btn-tool-purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1.5px solid #ddd6fe;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.12);
}
.btn-tool-purple:hover {
  background: #ede9fe;
  border-color: #c4b5fd;
  color: #6d28d9;
  transform: translateY(-2px);
}

.btn-tool-amber {
  background: #fffbeb;
  color: #d97706;
  border: 1.5px solid #fde68a;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
}
.btn-tool-amber:hover {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #b45309;
  transform: translateY(-2px);
}

.btn-tool-blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}
.btn-tool-blue:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
  transform: translateY(-2px);
}

.btn-tool-teal {
  background: #f0fdfa;
  color: #0d9488;
  border: 1.5px solid #99f6e4;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
}
.btn-tool-teal:hover {
  background: #ccfbf1;
  border-color: #5eead4;
  color: #0f766e;
  transform: translateY(-2px);
}

.btn-tool-green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.btn-tool-green:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

/* Sınıf Neşeli Motivasyon Çubuğu */
.fun-motivation-strip {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #fef3c7 100%);
  border: 2px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
}

.motivation-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-fun);
  font-size: 1.05rem;
  font-weight: 700;
  color: #166534;
}

.motivation-badges-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.motivation-badge {
  background: white;
  border: 1.5px solid #86efac;
  color: #15803d;
  font-family: var(--font-fun);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.motivation-badge.star-badge {
  border-color: #fde047;
  color: #a16207;
  background: #fefce8;
}

.btn-positive {
  background: linear-gradient(135deg, var(--positive), var(--positive-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.btn-positive:hover {
  background: linear-gradient(135deg, var(--positive-hover), var(--positive-dark));
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-warning {
  background: linear-gradient(135deg, var(--needs-work), var(--needs-work-hover));
  color: white;
}

.btn-danger {
  background: var(--danger-light);
  color: var(--danger);
}
.btn-danger:hover {
  background: var(--danger);
  color: white;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: white;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}
.btn-icon:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  background: var(--primary-light);
}

/* === MAIN CONTAINER === */
.main-wrapper {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  flex: 1;
  box-sizing: border-box;
}

/* === VIEW HEADERS & BREADCRUMBS === */
.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.view-title-group h2 {
  font-family: var(--font-fun);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.view-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* === CLASSROOM BANNER & TABS === */
.class-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 40%, #e0f2fe 100%);
  border-radius: var(--radius-lg);
  border: 2px solid #bae6fd;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.08);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.class-details {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.class-avatar-badge {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fef08a, #fed7aa);
  border: 2.5px solid #fde047;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
  transition: var(--transition);
}

.class-avatar-badge:hover {
  transform: scale(1.08) rotate(4deg);
}

.class-info h3 {
  font-family: var(--font-fun);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.class-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.class-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}

.class-total-score {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 3px 12px;
  font-family: var(--font-fun);
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3);
}

.class-quick-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* === TAB CONTROLS === */
.sub-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--primary);
}

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

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

/* === CLASSROOM SELECTION (DASHBOARD) === */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.class-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.class-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #bae6fd;
}

.class-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.class-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: #f1f5f9;
}

.class-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.class-card-grade {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.class-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.new-class-card {
  border: 2px dashed #cbd5e1;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 190px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary);
  font-weight: 700;
}
.new-class-card:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.new-class-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* === IŞIKLI ŞAMPİYONLAR PODYUMU & ALTIN TAHT (Classroom 3D Podium & Royal Throne) === */
.classroom-podium-section {
  margin-bottom: 1.25rem;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 15%, #2e1065 0%, #1e1b4b 50%, #0f172a 100%);
  border: 2px solid rgba(250, 204, 21, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25), 0 0 25px rgba(250, 204, 21, 0.15);
  padding: 1.1rem 1.25rem 0.9rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  animation: podiumGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes podiumGlowPulse {
  0% { box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25), 0 0 25px rgba(250, 204, 21, 0.12); }
  100% { box-shadow: 0 20px 48px rgba(15, 23, 42, 0.35), 0 0 40px rgba(250, 204, 21, 0.28); }
}

/* Sahne Işıkları (Spotlights) */
.classroom-podium-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 8%;
  width: 200px;
  height: 280px;
  background: linear-gradient(135deg, rgba(253, 224, 71, 0.2) 0%, rgba(253, 224, 71, 0) 70%);
  filter: blur(20px);
  transform: rotate(-20deg);
  pointer-events: none;
  z-index: 1;
}

.classroom-podium-section::after {
  content: '';
  position: absolute;
  top: -50px;
  right: 8%;
  width: 200px;
  height: 280px;
  background: linear-gradient(225deg, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 70%);
  filter: blur(20px);
  transform: rotate(20deg);
  pointer-events: none;
  z-index: 1;
}

/* Kompakt Başlık */
.podium-header-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: 0.75rem;
}

.podium-title-group {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(250, 204, 21, 0.4);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.podium-mini-trophy {
  font-size: 1.25rem;
  line-height: 1;
}

.podium-compact-title {
  font-family: var(--font-fun);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
}

.podium-sparkle-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fde047;
  background: rgba(250, 204, 21, 0.15);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}

/* === PC / GENİŞ EKRAN 3 SÜTUNLU PODYUM DÜZENİ === */
.podium-pc-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Sol Sütun: Afiş & Teşvik Alanı */
.podium-col-left {
  flex: 0 0 270px;
  width: 270px;
  max-width: 285px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  z-index: 3;
}

.podium-banner-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.35);
  border-radius: 18px;
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.podium-banner-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 80px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.25) 0%, rgba(250, 204, 21, 0) 70%);
  filter: blur(14px);
  pointer-events: none;
}

.podium-banner-top-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.6rem;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.3) 0%, rgba(250, 204, 21, 0.05) 70%);
  border: 2px solid rgba(250, 204, 21, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.35);
  animation: goldenCrownFloat 2.5s ease-in-out infinite alternate;
}

.podium-banner-trophy {
  font-size: 1.85rem;
  line-height: 1;
}

.podium-banner-heading {
  font-family: var(--font-fun);
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.podium-banner-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fde047;
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: var(--radius-full);
  padding: 0.22rem 0.7rem;
  margin-bottom: 0.6rem;
}

.podium-banner-motto {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.4;
}

.podium-col-left-bottom {
  margin-top: auto;
}

.podium-col-incentive-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(251, 146, 60, 0.4);
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: linear-gradient(145deg, rgba(234, 88, 12, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.podium-incentive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fed7aa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.podium-col-incentive-box .incentive-text {
  font-size: 0.82rem;
  color: #ffedd5;
  line-height: 1.4;
  margin: 0;
}

/* Orta Sütun: Podyum Sahnesi */
.podium-col-center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 3;
}

/* Sağ Sütun: Yaklaşan Etkinlikler */
.podium-col-right {
  flex: 0 0 280px;
  width: 280px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  z-index: 3;
}

.podium-events-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.35);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 0.65rem;
  box-sizing: border-box;
}

.podium-events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.55rem;
}

.podium-events-header-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.podium-events-header-icon {
  font-size: 1.15rem;
}

.podium-events-header-title {
  font-family: var(--font-fun);
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
}

.podium-events-open-calendar-btn {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #c4b5fd;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.podium-events-open-calendar-btn:hover {
  background: rgba(139, 92, 246, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.podium-events-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.podium-events-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.podium-event-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.podium-event-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(167, 139, 250, 0.5);
  transform: translateX(3px);
}

.podium-event-date-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border-radius: 9px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(79, 70, 229, 0.35);
}

.podium-event-chip-day {
  font-family: var(--font-fun);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.podium-event-chip-month {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.9;
  margin-top: 1px;
}

.podium-event-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.podium-event-title-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.podium-event-cat-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
  line-height: 1;
}

.podium-event-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-event-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
}

.podium-event-badge.badge-today {
  background: #ef4444;
  color: #ffffff;
}

.podium-event-badge.badge-tomorrow {
  background: #f59e0b;
  color: #ffffff;
}

.podium-event-badge.badge-future {
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.podium-events-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem 0.4rem;
  color: #94a3b8;
  gap: 0.35rem;
}

.podium-events-empty-icon {
  font-size: 1.5rem;
  opacity: 0.7;
}

.podium-events-empty-text {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin: 0;
}

.btn-podium-add-event-quick {
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(167, 139, 250, 0.5);
  color: #c4b5fd;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  margin-top: 0.2rem;
  transition: all 0.2s ease;
}

.btn-podium-add-event-quick:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #ffffff;
}

.podium-events-footer {
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.podium-events-footer-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.podium-events-footer-btn:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(167, 139, 250, 0.6);
  color: #ffffff;
}

/* 3D Podyum Sahnesi */
.podium-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  margin: 0.5rem 0 0.5rem;
}

.podium-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  user-select: none;
}

.podium-slot:hover {
  transform: translateY(-6px);
}

/* 1. SIRA: ALTIN KRALİYET TAHTI */
.podium-slot.place-1 {
  order: 2;
  z-index: 5;
}

.podium-crown {
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 3px;
  z-index: 10;
  filter: drop-shadow(0 4px 10px rgba(250, 204, 21, 0.8));
  animation: goldenCrownFloat 2.2s ease-in-out infinite alternate;
}

@keyframes goldenCrownFloat {
  0% { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-5px) rotate(3deg); }
}

/* Kraliyet Tahtı Arkalığı & Minderi */
.royal-throne-wrapper {
  position: relative;
  width: 108px;
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.throne-backrest {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 60%, #450a0a 100%);
  border: 3.5px solid #facc15;
  border-radius: 28px 28px 12px 12px;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.45), inset 0 0 12px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.throne-backrest::before {
  content: '👑';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.95rem;
  opacity: 0.8;
}

.throne-cushion {
  position: absolute;
  bottom: 0px;
  width: 96px;
  height: 16px;
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
  border: 2px solid #eab308;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.podium-avatar-box {
  position: relative;
  z-index: 3;
  transition: transform 0.3s var(--bounce);
}

.place-1 .podium-avatar-box {
  width: 86px;
  height: 86px;
  margin-bottom: 6px;
}

.place-1 .podium-avatar-box svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.podium-slot:hover .podium-avatar-box {
  transform: scale(1.08) rotate(3deg);
}

/* Podyum Kutlama Tarzı Butonu */
.podium-celebration-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 4px;
  backdrop-filter: blur(4px);
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.podium-celebration-pill:hover {
  transform: scale(1.15);
  background: rgba(255, 255, 255, 0.3);
}

/* Şık ve Net İsim Levhası (Podium Name Plate) */
.podium-name-plate {
  margin: 0 0 8px 0;
  padding: 0.28rem 0.95rem;
  border-radius: var(--radius-full);
  background: #0f172a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 260px;
  z-index: 6;
  border: 2px solid transparent;
  transition: transform 0.2s ease;
}

.podium-slot:hover .podium-name-plate {
  transform: scale(1.05);
}

.podium-name-plate.plate-gold {
  border-color: #facc15;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.45);
}

.podium-name-plate.plate-silver {
  border-color: #cbd5e1;
  box-shadow: 0 0 10px rgba(203, 213, 225, 0.3);
}

.podium-name-plate.plate-bronze {
  border-color: #fb923c;
  box-shadow: 0 0 10px rgba(251, 146, 60, 0.3);
}

.podium-crown-icon {
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

.podium-student-name {
  font-family: var(--font-fun);
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

/* 1. Sıra Altın Podyum Bloğu */
.podium-block.block-1 {
  width: 155px;
  height: 100px;
  min-height: 100px;
  background: linear-gradient(180deg, #fef08a 0%, #eab308 40%, #ca8a04 100%);
  border-top: 5px solid #fffbeb;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 2px 6px rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  position: relative;
  box-sizing: border-box;
}

.podium-rank-num {
  font-family: var(--font-fun);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(161, 98, 7, 0.8);
}

.podium-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ffffff;
  color: #854d0e;
  font-family: var(--font-fun);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.16rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

/* 2. SIRA: GÜMÜŞ KÜRSÜ */
.podium-slot.place-2 {
  order: 1;
  z-index: 4;
}

.place-2 .podium-crown {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 3px;
  filter: drop-shadow(0 4px 8px rgba(203, 213, 225, 0.8));
}

.place-2 .podium-avatar-box {
  width: 74px;
  height: 74px;
  margin-bottom: 6px;
}

.place-2 .podium-avatar-box svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.podium-block.block-2 {
  width: 135px;
  height: 82px;
  min-height: 82px;
  background: linear-gradient(180deg, #f8fafc 0%, #cbd5e1 45%, #94a3b8 100%);
  border-top: 4px solid #ffffff;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  box-sizing: border-box;
}

.block-2 .podium-rank-num {
  font-size: 1.95rem;
  text-shadow: 0 2px 6px rgba(71, 85, 105, 0.8);
}

.block-2 .podium-score-pill {
  color: #334155;
  font-size: 0.8rem;
  padding: 0.14rem 0.55rem;
}

/* 3. SIRA: BRONZ KÜRSÜ */
.podium-slot.place-3 {
  order: 3;
  z-index: 3;
}

.place-3 .podium-crown {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 3px;
  filter: drop-shadow(0 4px 8px rgba(251, 146, 60, 0.8));
}

.place-3 .podium-avatar-box {
  width: 68px;
  height: 68px;
  margin-bottom: 6px;
}

.place-3 .podium-avatar-box svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.podium-block.block-3 {
  width: 130px;
  height: 68px;
  min-height: 68px;
  background: linear-gradient(180deg, #ffedd5 0%, #ea580c 45%, #9a3412 100%);
  border-top: 4px solid #fff7ed;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  box-sizing: border-box;
}

.block-3 .podium-rank-num {
  font-size: 1.75rem;
  text-shadow: 0 2px 6px rgba(124, 45, 18, 0.8);
}

.block-3 .podium-score-pill {
  color: #9a3412;
  font-size: 0.78rem;
  padding: 0.12rem 0.52rem;
}

/* Boş Podyum Koltuğu */
.podium-empty-slot {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.5rem;
}

/* Teşvik Radarı Çıtası */
.podium-incentive-box {
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(251, 146, 60, 0.4);
  border-radius: var(--radius-full);
  padding: 0.35rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: #ffedd5;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
  position: relative;
  z-index: 2;
  animation: incentiveGlow 2.5s ease-in-out infinite alternate;
}

@keyframes incentiveGlow {
  0% { border-color: rgba(251, 146, 60, 0.35); box-shadow: 0 3px 10px rgba(234, 88, 12, 0.1); }
  100% { border-color: rgba(251, 146, 60, 0.7); box-shadow: 0 5px 16px rgba(234, 88, 12, 0.25); }
}

.incentive-icon {
  font-size: 1.15rem;
}

.incentive-text strong {
  color: #fde047;
}

/* Sınıf Öğrenci Listesi Başlığı */
.students-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.section-title-icon {
  font-size: 1.25rem;
}

.students-section-title {
  font-family: var(--font-fun);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.students-section-badge {
  font-family: var(--font-fun);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* Öğrenci Kartında Sıra Numarası Rozeti (#1, #2, #3, #4...) */
.student-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-fun);
  font-size: 0.78rem;
  font-weight: 800;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.2s ease;
}

.multi-select-active .student-rank-badge {
  left: 42px;
}

.student-rank-badge.rank-1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.4);
}

.student-rank-badge.rank-2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(100, 116, 139, 0.3);
}

.student-rank-badge.rank-3 {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.35);
}

.student-rank-badge.rank-other {
  background: #ffffff;
  color: #475569;
  border-color: #cbd5e1;
}

/* Responsive Podyum */
@media (max-width: 640px) {
  .classroom-podium-section {
    padding: 0.75rem 0.4rem 0.6rem !important;
    overflow: hidden !important;
  }

  /* Mobil Kompakt Başlık */
  .podium-header-compact {
    margin-bottom: 0.45rem !important;
  }
  .podium-title-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.2rem !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 14px !important;
    max-width: 95% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .podium-compact-title {
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }
  .podium-mini-trophy {
    font-size: 1.05rem !important;
  }
  .podium-sparkle-pill {
    font-size: 0.68rem !important;
    padding: 1px 7px !important;
  }

  /* Podyum Sahnesi (3 Sütun Eşit ve Esnek) */
  .podium-stage {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    gap: 3px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 0 2px !important;
  }

  .podium-slot {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .podium-slot.place-1 {
    flex: 1.15 1 0% !important;
    max-width: 38% !important;
    z-index: 5 !important;
  }
  .podium-slot.place-2 {
    flex: 0.95 1 0% !important;
    max-width: 31% !important;
    z-index: 4 !important;
  }
  .podium-slot.place-3 {
    flex: 0.9 1 0% !important;
    max-width: 31% !important;
    z-index: 3 !important;
  }

  .place-1 .podium-crown {
    font-size: 1.35rem !important;
    margin-bottom: 2px !important;
  }
  .place-2 .podium-crown {
    font-size: 1.1rem !important;
    margin-bottom: 2px !important;
  }
  .place-3 .podium-crown {
    font-size: 1.05rem !important;
    margin-bottom: 2px !important;
  }
  .podium-celebration-pill {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.72rem !important;
    margin-bottom: 2px !important;
  }

  /* 1. Sıra Taht & Avatar */
  .place-1 .royal-throne-wrapper {
    width: 76px !important;
    height: 72px !important;
    margin-bottom: 3px !important;
  }
  .place-1 .throne-backrest {
    border-radius: 18px 18px 6px 6px !important;
    border-width: 3px !important;
  }
  .place-1 .throne-cushion {
    width: 66px !important;
    height: 10px !important;
  }
  .place-1 .podium-avatar-box {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 3px !important;
  }
  .place-1 .podium-avatar-box svg {
    width: 58px !important;
    height: 58px !important;
  }

  /* 2. Sıra Gümüş Avatar */
  .place-2 .podium-avatar-box {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 3px !important;
  }
  .place-2 .podium-avatar-box svg {
    width: 48px !important;
    height: 48px !important;
  }

  /* 3. Sıra Bronz Avatar */
  .place-3 .podium-avatar-box {
    width: 46px !important;
    height: 46px !important;
    margin-bottom: 3px !important;
  }
  .place-3 .podium-avatar-box svg {
    width: 44px !important;
    height: 44px !important;
  }

  /* İsim Levhaları (Name Plate) */
  .podium-name-plate {
    width: auto !important;
    max-width: 98% !important;
    padding: 0.15rem 0.35rem !important;
    margin: 0 0 4px 0 !important;
    gap: 2px !important;
    box-sizing: border-box !important;
  }
  .podium-crown-icon {
    font-size: 0.7rem !important;
    flex-shrink: 0 !important;
  }
  .podium-student-name {
    font-size: 0.68rem !important;
    max-width: calc(100% - 14px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .place-1 .podium-student-name {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
  }

  /* Podyum Blokları (100% Slot Genişliği) */
  .podium-block {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 10px 10px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
  }

  .podium-block.block-1 {
    width: 100% !important;
    height: 74px !important;
    min-height: 74px !important;
    padding: 3px 2px !important;
    gap: 2px !important;
  }
  .block-1 .podium-rank-num {
    font-size: 1.45rem !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  .podium-block.block-2 {
    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 3px 2px !important;
    gap: 2px !important;
  }
  .block-2 .podium-rank-num {
    font-size: 1.25rem !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  .podium-block.block-3 {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 2px !important;
    gap: 2px !important;
  }
  .block-3 .podium-rank-num {
    font-size: 1.15rem !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  .podium-score-pill {
    font-size: 0.64rem !important;
    padding: 1px 4px !important;
    max-width: 95% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    gap: 2px !important;
    box-sizing: border-box !important;
  }
  .podium-score-pill span {
    font-size: 0.64rem !important;
  }

  .podium-incentive-box {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
    flex-direction: column;
    text-align: center;
    margin-top: 0.75rem;
  }
}

/* PC / Desktop (min-width: 961px) Podyum Büyütme Kuralları */
@media (min-width: 961px) {
  .podium-header-mobile {
    display: none !important;
  }

  .podium-stage {
    gap: 2rem;
    margin: 0.35rem 0 0.15rem;
  }

  /* 1. SIRA: ALTIN KRALİYET TAHTI & BÜYÜTÜLMÜŞ GÖRSEL */
  .place-1 .royal-throne-wrapper {
    width: 134px;
    height: 126px;
    margin-bottom: 8px;
  }
  .place-1 .throne-backrest {
    border-radius: 34px 34px 14px 14px;
    border: 4px solid #facc15;
    box-shadow: 0 0 28px rgba(250, 204, 21, 0.55), inset 0 0 14px rgba(0, 0, 0, 0.5);
  }
  .place-1 .throne-cushion {
    width: 118px;
    height: 18px;
  }
  .place-1 .podium-avatar-box {
    width: 104px;
    height: 104px;
    margin-bottom: 8px;
  }
  .place-1 .podium-crown {
    font-size: 2.3rem;
    margin-bottom: 4px;
  }
  .place-1 .podium-name-plate {
    max-width: 290px;
    padding: 0.38rem 1.1rem;
    margin-bottom: 10px;
  }
  .place-1 .podium-student-name {
    font-size: 1.05rem;
  }
  .podium-block.block-1 {
    width: 178px;
    height: 116px;
    min-height: 116px;
    border-radius: 18px 18px 0 0;
    gap: 7px;
  }
  .block-1 .podium-rank-num {
    font-size: 2.75rem;
  }
  .block-1 .podium-score-pill {
    font-size: 0.92rem;
    padding: 0.2rem 0.75rem;
  }

  /* 2. SIRA: GÜMÜŞ KÜRSÜ & BÜYÜTÜLMÜŞ GÖRSEL */
  .place-2 .podium-avatar-box {
    width: 90px;
    height: 90px;
    margin-bottom: 7px;
  }
  .place-2 .podium-crown {
    font-size: 1.75rem;
    margin-bottom: 4px;
  }
  .place-2 .podium-name-plate {
    max-width: 265px;
    padding: 0.34rem 0.95rem;
    margin-bottom: 9px;
  }
  .place-2 .podium-student-name {
    font-size: 0.98rem;
  }
  .podium-block.block-2 {
    width: 154px;
    height: 95px;
    min-height: 95px;
    border-radius: 16px 16px 0 0;
    gap: 6px;
  }
  .block-2 .podium-rank-num {
    font-size: 2.3rem;
  }
  .block-2 .podium-score-pill {
    font-size: 0.88rem;
    padding: 0.18rem 0.65rem;
  }

  /* 3. SIRA: BRONZ KÜRSÜ & BÜYÜTÜLMÜŞ GÖRSEL */
  .place-3 .podium-avatar-box {
    width: 82px;
    height: 82px;
    margin-bottom: 7px;
  }
  .place-3 .podium-crown {
    font-size: 1.65rem;
    margin-bottom: 4px;
  }
  .place-3 .podium-name-plate {
    max-width: 255px;
    padding: 0.32rem 0.9rem;
    margin-bottom: 9px;
  }
  .place-3 .podium-student-name {
    font-size: 0.94rem;
  }
  .podium-block.block-3 {
    width: 144px;
    height: 80px;
    min-height: 80px;
    border-radius: 16px 16px 0 0;
    gap: 5px;
  }
  .block-3 .podium-rank-num {
    font-size: 2.1rem;
  }
  .block-3 .podium-score-pill {
    font-size: 0.86rem;
    padding: 0.16rem 0.62rem;
  }
}

/* Mobil Ekranlar (max-width: 960px) */
@media (max-width: 960px) {
  .podium-col-left,
  .podium-col-right {
    display: none !important;
  }
  .podium-pc-container {
    display: block !important;
  }
  .podium-col-center {
    width: 100% !important;
    max-width: 100% !important;
  }
  .podium-header-mobile {
    display: flex !important;
  }
}

/* === STUDENTS GRID & STUDENT CARDS (Kompakt ve Yüksek Yoğunluklu - Akıllı Tahta Uyumlu) === */
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

@media (min-width: 1200px) {
  .students-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1600px) {
  .students-grid {
    grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
    gap: 1.15rem;
  }
}

.student-card {
  background: white;
  border-radius: 18px;
  border: 2px solid #e2e8f0;
  padding: 1.05rem 0.55rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  cursor: pointer;
  position: relative;
  transition: all 0.25s var(--bounce);
  user-select: none;
}

.student-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 30px -4px rgba(15, 23, 42, 0.12), 0 6px 12px -2px rgba(15, 23, 42, 0.06);
  border-color: #38bdf8;
}

.student-card:active {
  transform: scale(0.97);
}

/* Renkli Pastel Kart Temaları */
.student-card.theme-0 { background: var(--pastel-blue-bg); border-color: var(--pastel-blue-border); }
.student-card.theme-1 { background: var(--pastel-green-bg); border-color: var(--pastel-green-border); }
.student-card.theme-2 { background: var(--pastel-purple-bg); border-color: var(--pastel-purple-border); }
.student-card.theme-3 { background: var(--pastel-pink-bg); border-color: var(--pastel-pink-border); }
.student-card.theme-4 { background: var(--pastel-amber-bg); border-color: var(--pastel-amber-border); }
.student-card.theme-5 { background: var(--pastel-teal-bg); border-color: var(--pastel-teal-border); }

/* Whole class card (Parti / Yıldız Kartı) */
.student-card.all-class-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 40%, #ede9fe 100%);
  border: 2.5px dashed #f59e0b;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.18);
  animation: cardPartyGlow 3s ease-in-out infinite alternate;
}

@keyframes cardPartyGlow {
  0% { box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15); border-color: #f59e0b; }
  100% { box-shadow: 0 12px 28px rgba(139, 92, 246, 0.22); border-color: #8b5cf6; }
}

.student-card.all-class-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--positive);
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.25);
}

/* Selected state for multi-select */
.student-card.is-selected {
  border: 3px solid var(--primary);
  background: #f0f9ff !important;
  box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.25);
}

.select-checkbox {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid #cbd5e1;
  background: white;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: white;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.multi-select-active .select-checkbox {
  display: flex;
}

.student-card.is-selected .select-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

/* Avatar Container with Playful Pedestal / Halo */
.student-avatar {
  width: 84px;
  height: 84px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.35s var(--bounce);
}

/* Canavarın altındaki sevimli gölge / zemin halkası */
.student-avatar::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.14) 0%, rgba(15, 23, 42, 0) 72%);
  border-radius: 50%;
  z-index: 1;
}

.student-card:hover .student-avatar {
  transform: scale(1.15) rotate(4deg);
}

.student-avatar svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 2;
}

.student-name {
  font-family: var(--font-fun);
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e293b;
  width: 100%;
  max-width: 100%;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  letter-spacing: -0.01em;
  text-align: center;
}

/* 3D Görünümlü Büyütülmüş Madalyon Skor Rozeti */
.score-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-fun);
  font-size: 1rem;
  font-weight: 800;
  border: 2.5px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  z-index: 10;
}

.score-badge.positive {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.score-badge.neutral {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: white;
}

.score-badge.negative {
  background: linear-gradient(135deg, #f43f5e, #dc2626);
  color: white;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
}

/* Float point bubble animation when scored */
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.5);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -20px) scale(1.2);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -50px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -70px) scale(0.8);
  }
}

.floating-point-bubble {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, 0);
  font-size: 1.4rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  z-index: 50;
  animation: floatUp 1.2s ease-out forwards;
}

.floating-point-bubble.positive {
  background: var(--positive);
  color: white;
}

.floating-point-bubble.negative {
  background: var(--danger);
  color: white;
}

/* Add Student Card */
.add-student-card {
  border: 2px dashed #cbd5e1;
  background: rgba(255, 255, 255, 0.6);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
}

.add-student-card:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.add-student-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}

/* === MULTI SELECT BAR (FLOATING) === */
.multi-action-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: #0f172a;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  z-index: 60;
  transition: transform 0.3s var(--bounce);
  max-width: 90vw;
}

.multi-action-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.multi-count {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* === GROUPS VIEW === */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.group-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.group-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.group-student-chips,
.group-student-avatars {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  min-height: 44px;
}

.group-student-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.65rem 0.2rem 0.25rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 100%;
  cursor: pointer;
  user-select: none;
}

.group-student-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.group-student-chip.is-absent {
  opacity: 0.6;
  border-style: dashed;
}

.group-student-chip-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.group-student-chip-avatar svg {
  width: 100%;
  height: 100%;
}

.group-student-chip-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 145px;
}

.group-mini-avatar {
  width: 44px;
  height: 44px;
  background: #f8fafc;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.group-mini-avatar svg {
  width: 80%;
  height: 80%;
}

.group-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* === MODALS (ClassDojo style) === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.25s var(--bounce);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-header-title h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-main);
  background: var(--border-light);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background: #f8fafc;
}

/* Skills Modal Grid */
.skills-tab-switch {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.skills-tab-btn {
  flex: 1;
  border: none;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.skills-tab-btn.active.positive-tab {
  background: white;
  color: var(--positive-dark);
  box-shadow: var(--shadow-sm);
}

.skills-tab-btn.active.needs-work-tab {
  background: white;
  color: #b45309;
  box-shadow: var(--shadow-sm);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.9rem;
}

.skill-btn {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.skill-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.skill-btn.positive:hover {
  border-color: var(--positive);
  background: #f0fdf4;
}

.skill-btn.needs-work:hover {
  border-color: var(--needs-work);
  background: #fffbeb;
}

.skill-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.skill-btn.positive .skill-icon-circle {
  background: var(--positive-light);
  color: var(--positive-dark);
}

.skill-btn.needs-work .skill-icon-circle {
  background: var(--needs-work-light);
  color: #b45309;
}

.skill-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.skill-val {
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  padding: 1px 8px;
}

.skill-btn.positive .skill-val {
  background: var(--positive-light);
  color: var(--positive-dark);
}

.skill-btn.needs-work .skill-val {
  background: var(--needs-work-light);
  color: #b45309;
}

/* === FORM STYLES === */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: white;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* === RANDOM STUDENT PICKER MODAL === */
.random-picker-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  text-align: center;
}

.picker-avatar-box {
  width: 140px;
  height: 140px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: radial-gradient(circle, #e0f2fe, #f0fdf4);
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.picker-avatar-box.bounce {
  animation: pickerBounce 0.4s ease;
}

@keyframes pickerBounce {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.picker-student-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.picker-instruction {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* === CLASSROOM TIMER MODAL & ACTIVITIES === */
.activity-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 520px) {
  .activity-presets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.activity-preset-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  background: #f8fafc;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  user-select: none;
}

.activity-preset-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.activity-preset-btn.active {
  background: #eff6ff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.18);
  transform: scale(1.02);
}

.activity-preset-btn .act-emoji {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.activity-preset-btn .act-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.activity-preset-btn .act-time {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 0.25rem;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

.timer-active-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #f1f5f9;
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.timer-banner-icon {
  font-size: 1.5rem;
}

.timer-title-input {
  border: none;
  background: transparent;
  font-family: var(--font-fun);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  text-align: left;
  width: 100%;
  max-width: 260px;
}

.timer-title-input:focus {
  border-bottom: 2px solid var(--primary);
}

.timer-display-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.btn-time-adjust {
  background: #f1f5f9;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.btn-time-adjust:hover {
  background: #e2e8f0;
  color: var(--text-main);
  transform: scale(1.05);
}

.timer-display {
  font-family: var(--font-fun);
  font-size: 4.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--text-main);
  letter-spacing: 2px;
  line-height: 1;
}

.timer-presets {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.preset-btn {
  padding: 0.35rem 0.8rem;
  background: #f1f5f9;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.preset-btn:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.timer-actions-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.timer-actions-row .btn {
  min-width: 140px;
  font-size: 1rem;
  padding: 0.8rem 1.2rem;
}

.timer-view-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.btn-view-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.btn-view-option:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-view-fullscreen {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
  color: #1d4ed8;
}

.btn-view-fullscreen:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #60a5fa;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* === SAĞ ALT KÖŞE YÜZEN MİNİ ZAMANLAYICI (Floating Corner Timer) === */
.floating-corner-timer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 995;
  width: 290px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid var(--primary-light);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(99, 102, 241, 0.12);
  padding: 0.85rem 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: cornerSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cornerSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.floating-corner-timer.urgent {
  border-color: var(--negative);
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.35);
  animation: cornerUrgentPulse 1.2s infinite;
}

@keyframes cornerUrgentPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.corner-timer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.corner-timer-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  max-width: 170px;
}

.corner-timer-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.corner-timer-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.corner-btn {
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.corner-btn svg {
  width: 15px;
  height: 15px;
}

.corner-btn:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.corner-btn-close:hover {
  background: var(--negative-light);
  color: var(--negative);
}

.corner-timer-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.corner-timer-display {
  font-family: var(--font-fun);
  font-size: 2.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--primary-dark);
  letter-spacing: 1px;
  line-height: 1;
}

.corner-timer-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.corner-ctrl-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  height: 32px;
  padding: 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.corner-ctrl-btn svg {
  width: 14px;
  height: 14px;
}

.corner-ctrl-btn:hover {
  background: #e2e8f0;
}

.corner-btn-play {
  background: var(--primary);
  color: #ffffff;
  border: none;
  width: 34px;
  padding: 0;
}

.corner-btn-play:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.corner-timer-progress-track {
  width: 100%;
  height: 5px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.corner-timer-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

/* === AKILLI TAHTA DEV TAM EKRAN ZAMANLAYICI (Fullscreen Giant Countdown Overlay) === */
.fullscreen-timer-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: radial-gradient(circle at center, #1e1b4b 0%, #0f172a 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 3rem;
  box-sizing: border-box;
  animation: fsFadeIn 0.4s ease-out;
  user-select: none;
}

@keyframes fsFadeIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

/* Üst Bar */
.fs-timer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.fs-class-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 700;
  color: #e0e7ff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.fs-activity-headline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(99, 102, 241, 0.2);
  border: 2px solid rgba(165, 180, 252, 0.4);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.fs-act-icon {
  font-size: 2.2rem;
}

.fs-act-title {
  font-family: var(--font-fun);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.fs-topbar-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fs-icon-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.fs-icon-btn svg {
  width: 20px;
  height: 20px;
}

.fs-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.fs-btn-exit {
  background: rgba(244, 63, 94, 0.25);
  border-color: rgba(244, 63, 94, 0.5);
  color: #fecdd3;
}

.fs-btn-exit:hover {
  background: rgba(244, 63, 94, 0.45);
  color: #ffffff;
}

/* Merkez Dairesel Sayaç */
.fs-timer-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
  margin: 1rem 0;
}

.fs-timer-circle-wrapper {
  position: relative;
  width: min(68vh, 460px);
  height: min(68vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
}

.fs-ring-bg {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 18;
  fill: none;
}

.fs-ring-progress {
  stroke: #38bdf8;
  stroke-width: 18;
  stroke-linecap: round;
  fill: none;
  /* 2 * Math.PI * 170 = ~1068.14 */
  stroke-dasharray: 1068;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s ease, stroke 0.5s ease;
}

.fullscreen-timer-overlay.urgent .fs-ring-progress {
  stroke: #f43f5e;
  filter: drop-shadow(0 0 30px rgba(244, 63, 94, 0.6));
}

.fullscreen-timer-overlay.warning .fs-ring-progress {
  stroke: #fbbf24;
}

.fs-center-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.fs-sub-label {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.fs-digits {
  font-family: var(--font-fun);
  font-size: clamp(4.5rem, 11vw, 8rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
  color: #ffffff;
  letter-spacing: 3px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.fullscreen-timer-overlay.urgent .fs-digits {
  color: #fecdd3;
  animation: fsDigitPulse 1s infinite;
}

@keyframes fsDigitPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.fs-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-top: 0.75rem;
}

.fs-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.fs-status-pill.paused .fs-status-dot {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}

/* Alt Kontrol Barı */
.fs-timer-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.fs-quick-adjust-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.fs-adjust-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fs-adjust-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.fs-main-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.fs-main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--font-fun);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fs-btn-start {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 1rem 3rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.fs-btn-start:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 40px rgba(16, 185, 129, 0.55);
}

.fs-btn-start.running {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.fs-btn-reset {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  padding: 1rem 2rem;
}

.fs-btn-reset:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.fs-shortcut-tip {
  font-size: 0.85rem;
  color: #64748b;
}

.fs-shortcut-tip strong {
  color: #94a3b8;
}

/* Kutlama Modalı */
.fs-celebration-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: celebPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes celebPopIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.fs-celebration-card {
  background: #ffffff;
  color: var(--text-main);
  padding: 3rem;
  border-radius: 32px;
  text-align: center;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.fs-celeb-emoji {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  animation: bounceEmoji 1s infinite alternate;
}

@keyframes bounceEmoji {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.fs-celeb-title {
  font-family: var(--font-fun);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.fs-celeb-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.fs-celeb-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Mobil Fullscreen Düzeltmeleri */
@media (max-width: 768px) {
  .fullscreen-timer-overlay {
    padding: 1.25rem;
  }
  .fs-timer-topbar {
    flex-direction: column;
    gap: 0.75rem;
  }
  .fs-class-badge {
    display: none;
  }
  .fs-activity-headline {
    padding: 0.5rem 1.25rem;
  }
  .fs-act-title {
    font-size: 1.3rem;
  }
  .fs-main-btn {
    font-size: 1.1rem;
    padding: 0.8rem 1.8rem;
  }
  .floating-corner-timer {
    right: 12px;
    bottom: 74px; /* mobil bottom nav üstünde dursun */
    width: calc(100vw - 24px);
    max-width: 320px;
  }
}

/* === ACTIVITY HISTORY & REPORTS === */
.history-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
}

.stat-card.pos .stat-val { color: var(--positive); }
.stat-card.neg .stat-val { color: var(--danger); }
.stat-card.total .stat-val { color: var(--primary); }

.stat-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 380px;
  overflow-y: auto;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.history-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.history-badge {
  font-weight: 800;
  font-size: 0.85rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.history-badge.pos {
  background: var(--positive-light);
  color: var(--positive-dark);
}

.history-badge.neg {
  background: var(--danger-light);
  color: var(--danger);
}

/* === CONFETTI CANVAS === */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100000;
}

/* === TOAST ALERTS === */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1000;
  pointer-events: none;
}

.toast {
  background: white;
  color: var(--text-main);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toast.pos { border-left-color: var(--positive); }
.toast.neg { border-left-color: var(--danger); }

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

/* === MOBILE BOTTOM BAR === */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 0.4rem 0.5rem;
  z-index: 50;
  justify-content: space-around;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-nav-item.active {
  color: var(--primary);
}

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
}

/* === CLASSROOM FULL-WIDTH LAYOUT & FLOATING NOISE METER === */
.classroom-layout {
  display: block;
  width: 100%;
}

.classroom-main-col {
  width: 100%;
  min-width: 0;
}

.noise-meter-sidebar {
  position: fixed;
  top: 76px;
  right: 1.5rem;
  width: 320px;
  max-width: calc(100vw - 3rem);
  z-index: 1000;
  pointer-events: none;
}

.noise-meter-sidebar > * {
  pointer-events: auto;
}

/* Sağ paneldeki gizlenen kartlar */
#aquariumTriggerCard,
#calendarReminderCard,
#interestingFactsCard {
  display: none !important;
}

/* Kullanıcı isteğiyle gizlenen Edulem ve Yedekleme butonları ile Sezon seçici */
#edulemStatusBadge,
#btnSyncEdulem,
#backupModalBtn,
#seasonSelect,
#currentSeasonBadge {
  display: none !important;
}

.noise-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  border-radius: var(--radius-lg);
  border: 2px solid #14b8a6;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.noise-card.is-loud {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2), 0 12px 30px rgba(239, 68, 68, 0.25);
  animation: noiseCardShake 0.4s ease infinite alternate;
}

@keyframes noiseCardShake {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

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

.noise-header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.noise-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ccfbf1, #99f6e4);
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.15);
  transition: var(--transition);
}

.noise-card.is-loud .noise-icon-badge {
  background: linear-gradient(135deg, #fee2e2, #fca5a5);
  color: var(--danger);
  animation: pulse 0.5s infinite;
}

.noise-card-title {
  font-family: var(--font-fun);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f766e;
  line-height: 1.1;
}

.noise-source-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0d9488;
}

.noise-display-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.noise-number-box {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.noise-number-val {
  font-family: var(--font-fun);
  font-size: 2.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--text-main);
  transition: color 0.2s;
}

.noise-card.is-loud .noise-number-val {
  color: var(--danger);
}

.noise-number-unit {
  font-family: var(--font-fun);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
}

.noise-status-badge {
  font-family: var(--font-fun);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.noise-status-badge.status-calm {
  background: #d1fae5;
  color: #047857;
  border: 1.5px solid #a7f3d0;
}

.noise-status-badge.status-moderate {
  background: #fef3c7;
  color: #b45309;
  border: 1.5px solid #fde68a;
}

.noise-status-badge.status-loud {
  background: #fee2e2;
  color: #b91c1c;
  border: 1.5px solid #fca5a5;
  animation: pulse 0.5s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

/* Vertical Gauge Track */
.noise-meter-track {
  height: 150px;
  width: 100%;
  background: #f1f5f9;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
}

.noise-meter-bar {
  width: 100%;
  background: linear-gradient(to top, #10b981 0%, #34d399 35%, #fbbf24 65%, #f43f5e 90%);
  border-radius: 0 0 14px 14px;
  transition: height 0.08s ease-out;
  box-shadow: 0 -2px 10px rgba(16, 185, 129, 0.3);
}

.noise-threshold-marker {
  position: absolute;
  left: 0;
  right: 0;
  border-bottom: 2px dashed #ef4444;
  z-index: 10;
  pointer-events: none;
}

.noise-marker-label {
  position: absolute;
  right: 8px;
  top: -18px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--danger);
  background: white;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--danger-light);
}

/* Warning & Penalty Countdown */
.noise-warning-panel {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-md);
  padding: 0.65rem;
  text-align: center;
  animation: slideDown 0.25s ease-out;
}

.noise-warning-panel .warning-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 0.35rem;
}

.penalty-timer-track {
  height: 6px;
  background: #fecdd3;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.penalty-timer-bar {
  height: 100%;
  background: var(--danger);
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.penalty-countdown-text, .warning-desc {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9f1239;
}

.noise-cooldown-panel {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.noise-quick-info {
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 0.5rem;
}

.noise-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.noise-card-actions {
  display: flex;
  gap: 0.5rem;
}

/* Custom Switch Toggle for Settings */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .25s;
  border-radius: 34px;
}
.switch-toggle .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.switch-toggle input:checked + .slider {
  background-color: var(--positive);
}
.switch-toggle input:checked + .slider:before {
  transform: translateX(20px);
}

@media (max-width: 960px) {
  .classroom-layout {
    display: block;
  }
  .noise-meter-sidebar {
    position: fixed;
    top: 70px;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-width: calc(100vw - 1.5rem);
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }

  /* Top Navbar */
  .navbar {
    padding: 0.45rem 0.75rem;
    height: 56px;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
  }
  .brand {
    gap: 0.45rem;
    flex-shrink: 0;
  }
  .brand-icon {
    width: 34px;
    height: 34px;
  }
  .brand-info h1 {
    font-size: 1.25rem;
    font-weight: 800;
    white-space: nowrap;
    display: flex;
    align-items: center;
  }
  .brand-badge {
    display: none !important;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
  }
  #soundToggleBtn {
    display: none !important; /* Mobilde ses telefonun kendi tuşlarıyla kontrol edilir */
  }
  #navClassesBtn {
    display: none !important; /* Mobilde Sınıflarım alt menüde var */
  }
  #fullscreenToggleBtn {
    display: none !important;
  }
  #btnExecutiveReport,
  #btnExecutiveReportDashboard,
  #btnExecutiveReportClassroom,
  #btnExecutiveReportBanner,
  #executiveBannerCard,
  #btnQuickAquarium,
  .aquarium-sidebar-card,
  #mobToolAquarium,
  #mobToolHistory,
  #btnOpenHistory,
  .podium-incentive-box {
    display: none !important;
  }
  .user-nav-profile {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.22rem 0.4rem 0.22rem 0.5rem !important;
    background: #f0f9ff !important;
    border: 1.5px solid #bae6fd !important;
    border-radius: 9999px !important;
    max-width: none !important;
    flex-shrink: 0 !important;
  }
  .user-avatar-badge {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
  }
  .user-info-text {
    max-width: 90px !important;
    min-width: 0 !important;
  }
  .user-info-text .nav-user-role {
    display: none !important;
  }
  .user-info-text .nav-user-name {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    color: #0369a1 !important;
    max-width: 90px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
  }
  .btn-logout {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    padding: 0.28rem 0.65rem !important;
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    border-radius: 9999px !important;
    background: #fee2e2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
  }
  .btn-logout svg {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
  }

  /* Ana İçerik Taşıyıcı */
  .main-wrapper {
    padding: 0.65rem 0.75rem 80px 0.75rem;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  /* View Header (Dashboard) */
  .view-header {
    margin-bottom: 0.85rem;
  }
  .view-title-group h2 {
    font-size: 1.35rem;
  }
  .view-subtitle {
    font-size: 0.82rem;
    margin-top: 0.15rem;
  }

  /* Kademe Sekmeleri */
  .grade-filter-tabs {
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding-bottom: 4px;
  }
  .grade-tab-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Sınıflar Izgarası */
  .classes-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .class-card {
    padding: 1rem;
    border-radius: 16px;
  }

  /* SINIF BAŞLIĞI (Hero Card) */
  .class-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
    border-radius: 16px;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 60%, #e0f2fe 100%);
  }

  .class-details {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
  }

  #btnBackToDashboard {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .class-avatar-badge {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.75rem;
    border-radius: 14px;
  }

  .class-info {
    min-width: 0;
    flex: 1;
  }

  .class-info h3 {
    font-size: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .class-meta {
    flex-wrap: wrap;
    gap: 0.3rem 0.6rem;
    font-size: 0.78rem;
    margin-top: 0.25rem;
  }

  .class-total-score {
    font-size: 0.8rem;
    padding: 2px 9px;
  }

  /* Mobilde üstteki kalabalık butonlar kaldırıldı - hepsi alt navigasyonda ve Araçlar menüsünde */
  .class-quick-tools {
    display: none !important;
  }

  /* Mobilde dikey alanı daraltan motivasyon şeridi kaldırıldı - öğrenciler hemen öne çıkar */
  .fun-motivation-strip {
    display: none !important;
  }

  /* Mobil Sınıf Araçları Bottom Sheet Modalı */
  .mobile-tools-sheet-container {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(100%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    background: #ffffff !important;
    border: none !important;
  }
  .modal-overlay.active .mobile-tools-sheet-container {
    transform: translateY(0) !important;
  }
  .bottom-sheet-handle {
    width: 40px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 9999px;
    margin: 10px auto 4px auto;
  }
  .mobile-tools-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }
  .mobile-tool-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
    width: 100%;
  }
  .mobile-tool-row:active {
    transform: scale(0.98);
    background: #f8fafc;
  }
  .mob-tool-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  .tool-badge-aqua { background: #e0f2fe; color: #0284c7; }
  .tool-badge-blue { background: #eff6ff; color: #2563eb; }
  .tool-badge-purple { background: #f5f3ff; color: #7c3aed; }
  .tool-badge-amber { background: #fffbeb; color: #d97706; }
  .tool-badge-teal { background: #f0fdfa; color: #0d9488; }
  .tool-badge-red { background: #fee2e2; color: #dc2626; }
  .mob-tool-badge svg {
    width: 20px;
    height: 20px;
  }
  .mob-tool-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mob-tool-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
  }
  .mob-tool-desc {
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.2;
  }
  .mob-tool-arrow {
    width: 18px;
    height: 18px;
    color: #94a3b8;
    flex-shrink: 0;
  }

  /* Alt Sekmeler (Öğrenciler / Gruplar) & Sıralama / Çoklu Seçim */
  .sub-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding-bottom: 0.35rem;
    border-bottom: 1.5px solid var(--border-color);
  }
  .tab-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
    gap: 0.35rem;
  }
  .tab-btn svg {
    width: 16px;
    height: 16px;
  }
  #btnToggleSort, #btnToggleMultiSelect {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.65rem !important;
    border-radius: 8px !important;
  }

  /* Kapsayıcıların tam genişliği ve yatay taşma engeli */
  .classroom-layout,
  .classroom-main-col,
  #tabContentStudents,
  .classroom-podium-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-width: 0 !important;
  }

  /* Öğrenci Kartları Izgarası (Sağa Taşma Düzeltmesi) */
  .students-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .student-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0.75rem 0.35rem 0.6rem !important;
    border-radius: 16px !important;
  }
  .student-avatar {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 0.25rem !important;
  }
  .student-avatar svg {
    width: 100% !important;
    height: 100% !important;
  }
  .student-name {
    font-size: 0.8rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    min-height: 2.4em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
    padding: 0 2px !important;
    text-align: center !important;
  }
  .score-badge {
    top: 6px !important;
    right: 6px !important;
    min-width: 26px !important;
    height: 26px !important;
    font-size: 0.82rem !important;
    padding: 0 5px !important;
    border-width: 2px !important;
  }
  .action-badge {
    top: 6px !important;
    left: 6px !important;
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }

  /* Çoklu Seçim Yüzen Çubuk */
  .multi-action-bar {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    width: calc(100% - 1.5rem);
    max-width: 420px;
    padding: 0.6rem 1rem;
    border-radius: 16px;
    gap: 0.75rem;
    justify-content: space-between;
  }
  .multi-count {
    font-size: 0.85rem;
  }
  .multi-actions .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
  }

  /* Mobil Alt Gezinme Çubuğu (Bottom Navigation Bar) */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem calc(0.25rem + env(safe-area-inset-bottom, 0px)) 0.5rem;
    justify-content: space-around;
    align-items: center;
  }
  .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    padding: 0.25rem 0.2rem;
    border-radius: 8px;
    transition: all 0.15s ease;
  }
  .mobile-nav-item svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
  }
  .mobile-nav-item.active {
    color: var(--primary);
  }

  /* Modallar */
  .modal-container {
    width: calc(100% - 1.25rem);
    max-height: calc(100vh - 2rem);
    margin: auto;
    border-radius: 18px;
  }
  .modal-header {
    padding: 0.85rem 1rem;
  }
  .modal-body {
    padding: 0.85rem 1rem;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .skill-btn {
    padding: 0.75rem 0.5rem;
  }
  .skill-icon {
    font-size: 1.7rem;
  }
  .skill-title {
    font-size: 0.82rem;
  }

  .timer-display {
    font-size: 3.5rem;
  }

  /* Gürültü Ölçer Kenar Çubuğu (Mobilde Kayan Kart) */
  .noise-meter-sidebar {
    position: fixed;
    top: 66px;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-width: calc(100vw - 1.5rem);
    z-index: 80;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 480px) {
  .students-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }
  .student-card {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0.65rem 0.25rem 0.5rem !important;
  }
  .student-avatar {
    width: 56px !important;
    height: 56px !important;
  }
  .student-name {
    font-size: 0.76rem !important;
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    line-height: 1.18 !important;
    min-height: 2.36em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}

/* ==========================================
 * EDULEM VERİTABANI VE SENKRONİZASYON STİLLERİ
 * ========================================== */

.edulem-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: default;
  transition: var(--transition);
}

.edulem-status-badge.offline {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.25);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

.edulem-status-badge.offline .status-pulse-dot {
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: none;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.badge-season {
  display: inline-block;
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  vertical-align: middle;
  margin-left: 0.5rem;
}

.season-select {
  padding: 0.5rem 0.85rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  font-family: var(--font-fun);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.season-select:hover, .season-select:focus {
  border-color: var(--primary);
}

.spin {
  animation: rotateSpin 1s linear infinite;
}

@keyframes rotateSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.edulem-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.edulem-notice-box i, .edulem-notice-box svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

/* ==========================================
 * KADEME SIRALAMASI VE FİLTRELEME STİLLERİ
 * ========================================== */

.grade-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.grade-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: white;
  color: var(--text-main);
  font-family: var(--font-fun);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.grade-tab-btn:hover {
  border-color: var(--primary);
  background: #f0f9ff;
  color: var(--primary);
}

.grade-tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.32);
}

.kademe-section {
  margin-bottom: 2.25rem;
}

.kademe-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #e2e8f0;
}

.kademe-title {
  font-family: var(--font-fun);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kademe-count {
  font-size: 0.8rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ==========================================
   CLASSLEM ÖĞRETMEN GİRİŞ SAYFASI (LOGIN - EDULEM SPLIT THEME)
   ========================================== */
.login-view-section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.login-view-section * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Sol Taraf (Brand Hero Panel - EduLem Birebir) */
.login-split-hero {
  flex: 0 0 50%;
  width: 50%;
  min-height: 100vh;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  box-sizing: border-box;
}

.login-hero-content {
  text-align: center;
  color: #ffffff;
  max-width: 480px;
}

.login-hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  width: 120px;
  height: 120px;
}

.login-hero-logo-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: block;
}

.login-hero-title {
  font-size: 3rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 1rem 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  text-shadow: none !important;
  filter: none !important;
}

.login-hero-subtitle {
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.login-hero-stat {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none !important;
  padding: 0 !important;
}

.login-stat-number {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 0.15rem 0 !important;
  line-height: 1.2 !important;
}

.login-stat-label {
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Sağ Taraf (Form Alanı) */
.login-split-form-wrap {
  flex: 0 0 50%;
  width: 50%;
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  box-sizing: border-box;
  position: relative;
}

.login-mobile-brand {
  display: none;
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-mobile-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.login-mobile-logo-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: block;
}

.login-mobile-title {
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: #0f172a !important;
  margin-top: 0.75rem !important;
}

.login-mobile-subtitle {
  font-size: 0.95rem !important;
  color: #64748b !important;
  margin-top: 0.25rem !important;
}

.login-mobile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
}

.login-mobile-stat .login-stat-number {
  color: #0f172a !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.login-mobile-stat .login-stat-label {
  color: #64748b !important;
  font-size: 0.825rem !important;
}

.login-card {
  width: 100%;
  max-width: 450px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 2.75rem 2.4rem;
  border: none;
  box-sizing: border-box;
  animation: loginCardFadeIn 0.35s ease-out;
  position: relative;
  overflow: visible;
}

@keyframes loginCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-card-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.login-card-title {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 0 0.35rem 0 !important;
  letter-spacing: -0.01em;
}

.login-card-subtitle {
  font-size: 0.95rem !important;
  color: #64748b !important;
  margin: 0 !important;
}

.login-alert {
  display: none;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #b91c1c;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  align-items: center;
  gap: 0.6rem;
  animation: shake 0.35s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

.login-field label {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0;
}

.btn-forgot-password {
  background: none;
  border: none;
  color: #0d6efd !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-forgot-password:hover {
  color: #0a58ca !important;
  text-decoration: underline;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.login-input-wrap:focus-within {
  background: #ffffff;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.login-input-wrap .field-icon {
  position: absolute;
  left: 0.9rem;
  color: #94a3b8;
  width: 18px;
  height: 18px;
  pointer-events: none;
  transition: color 0.2s;
}

.login-input-wrap:focus-within .field-icon {
  color: #0d6efd;
}

.login-input-wrap input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  border-radius: 10px;
}

.login-input-wrap input::placeholder {
  color: #94a3b8;
}

.login-toggle-pw-btn {
  position: absolute;
  right: 0.65rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.2s;
}

.login-toggle-pw-btn:hover {
  color: #0f172a;
}

.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem !important;
  color: #64748b !important;
  font-weight: 400 !important;
  cursor: pointer;
  user-select: none;
}

.login-remember-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: #0d6efd;
  cursor: pointer;
}

.btn-login-submit {
  background: #0d6efd;
  color: #ffffff;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
  transition: all 0.2s ease;
}

.btn-login-submit:hover {
  background: #0b5ed7;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
}

.btn-login-submit:active {
  transform: translateY(0);
}

.btn-login-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.login-brand-footer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 400 !important;
}

/* Mobil & Tablet Uyarlaması */
@media (max-width: 960px) {
  .login-view-section {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  .login-split-hero {
    display: none !important;
  }
  .login-split-form-wrap {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100vh;
    padding: 2.5rem 1.25rem;
  }
  .login-mobile-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================
   NAVBAR KULLANICI PROFİLİ VE ÇIKIŞ
   ========================================== */
.user-nav-profile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  border-radius: 9999px;
  padding: 0.3rem 0.45rem 0.3rem 0.65rem;
}

.user-avatar-badge {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
  flex-shrink: 0;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.user-info-text .nav-user-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0369a1;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-info-text .nav-user-role {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0284c7;
}

.btn-logout {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-logout:hover {
  background: #fecaca;
  transform: translateY(-1px);
}

/* ==========================================
   REHBERLİK & İDARE RAPORLAMA MODALI STİLLERİ
   ========================================== */
.report-header-icon-box {
  width: 40px;
  height: 40px;
  background: #eef2ff;
  border: 1.5px solid #c7d2fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reports-filter-bar {
  background: #f8fafc;
  padding: 0.65rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rep-grade-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.rep-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.rep-tab-btn:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.rep-tab-btn.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
}

.reports-nav-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.4rem 1.5rem 0;
  border-bottom: 2px solid #e2e8f0;
  background: #ffffff;
  overflow-x: auto;
}

.rep-nav-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: all 0.2s;
}

.rep-nav-tab:hover {
  color: var(--text-main);
}

.rep-nav-tab.active {
  color: #4f46e5;
  border-bottom-color: #4f46e5;
}

.rep-nav-tab.badge-highlight {
  color: #b91c1c;
}

.rep-nav-tab.badge-highlight.active {
  color: #b91c1c;
  border-bottom-color: #dc2626;
}

.rep-nav-tab.rep-tab-reset {
  color: #dc2626;
  margin-left: auto;
}

.rep-nav-tab.rep-tab-reset.active {
  border-bottom-color: #dc2626;
}

.rep-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.rep-kpi-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.rep-kpi-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.rep-kpi-card.kpi-warning-card {
  border-color: #fecaca;
  background: linear-gradient(135deg, #ffffff 60%, #fef2f2 100%);
}

.rep-kpi-card .kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.rep-kpi-card .kpi-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
}

.rep-kpi-card .kpi-val {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-fun);
  color: var(--text-main);
  line-height: 1.15;
}

.rep-box {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.rep-box-title {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rep-skills-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rep-skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.rep-skill-item .skill-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.rep-skill-item .skill-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rep-notice-box {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.rep-table-wrap {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
}

.rep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.rep-table thead {
  background: #f8fafc;
  border-bottom: 1.5px solid var(--border-color);
}

.rep-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rep-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}

.rep-table tbody tr:last-child {
  border-bottom: none;
}

.rep-table tbody tr:hover {
  background: #f8fafc;
}

.rep-table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  color: var(--text-main);
}

.rank-badge-rep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.8rem;
}

.rank-badge-rep.rank-1 {
  background: #fef3c7;
  color: #b45309;
  border: 1.5px solid #fde68a;
}

.rank-badge-rep.rank-2 {
  background: #f1f5f9;
  color: #475569;
  border: 1.5px solid #e2e8f0;
}

.rank-badge-rep.rank-3 {
  background: #ffedd5;
  color: #9a3412;
  border: 1.5px solid #fed7aa;
}

.rank-badge-rep.rank-other {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid var(--border-light);
}

.rep-reset-panel {
  text-align: center;
  padding: 2rem 1rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1.5px dashed #fca5a5;
  background: linear-gradient(180deg, #ffffff 60%, #fff1f2 100%);
}

.rep-reset-icon-halo {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
}

.rep-reset-actions-box {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.rep-negative-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  margin: 2px;
}

@media print {
  body * {
    visibility: hidden;
  }
  #executiveReportsModal, #executiveReportsModal * {
    visibility: visible;
  }
  #executiveReportsModal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: white;
    display: block !important;
  }
  .reports-modal-body {
    max-height: none !important;
    overflow: visible !important;
  }
  .modal-footer, .reports-filter-bar, .modal-close, #btnRepExportPrint, #btnRepExportCsv {
    display: none !important;
  }
}

/* ========================================================= */
/* === 12. HAREKETLİ 3D CANLI SINIF AKVARYUMU (AQUARIUM) === */
/* ========================================================= */

/* Sidebar Başlatma Kartı (Gürültü Ölçer Yanı/Üstü) */
.aquarium-trigger-card {
  background: linear-gradient(145deg, #ecfeff 0%, #cffafe 45%, #e0f2fe 100%);
  border: 2px solid #38bdf8;
  border-radius: 18px;
  padding: 0.9rem;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.16), inset 0 1px 4px rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aquarium-trigger-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.25), 0 0 16px rgba(56, 189, 248, 0.35);
  border-color: #0ea5e9;
}

.aquarium-trigger-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.aquarium-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
  font-family: var(--font-fun);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(13, 148, 136, 0.3);
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulseDot 1.8s infinite;
}

@keyframes livePulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.aquarium-badge-3d {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  font-family: var(--font-fun);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.aquarium-trigger-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.aquarium-mascot-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, #bae6fd 0%, #38bdf8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
}

.aquarium-mascot-emoji {
  font-size: 1.7rem;
  line-height: 1;
  display: inline-block;
  animation: floatMascotFish 3s ease-in-out infinite alternate;
}

@keyframes floatMascotFish {
  0% { transform: translateY(0) rotate(-4deg); }
  100% { transform: translateY(-4px) rotate(4deg); }
}

.aquarium-bubble-anim {
  position: absolute;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0.8;
}

.aquarium-bubble-anim.a1 {
  top: -4px;
  right: -2px;
  animation: bubbleFloatMini 2.2s infinite ease-in-out;
}

.aquarium-bubble-anim.a2 {
  bottom: 0;
  left: -3px;
  animation: bubbleFloatMini 2.8s infinite ease-in-out 0.8s;
}

@keyframes bubbleFloatMini {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  50% { opacity: 0.9; }
  100% { transform: translateY(-16px) scale(1.1); opacity: 0; }
}

.aquarium-trigger-text {
  flex: 1;
  min-width: 0;
}

.aquarium-trigger-title {
  font-family: var(--font-fun);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0369a1;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.aquarium-trigger-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0284c7;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-aquarium-launch {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  font-family: var(--font-fun);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
}

.btn-aquarium-launch:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.btn-aquarium-launch i {
  width: 16px;
  height: 16px;
}

/* ========================================================= */
/* === TAM EKRAN CANLI AKVARYUM SAHNESİ (OVERLAY) === */
/* ========================================================= */

.fullscreen-aquarium-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 5%, #0284c7 0%, #0369a1 28%, #075985 58%, #082f49 100%);
  overflow: hidden;
  user-select: none;
  font-family: var(--font-fun);
}

/* Üst Kontrol ve Bilgi Çubuğu (HUD) */
.fs-aquarium-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.75rem;
  background: rgba(8, 47, 73, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 2px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 100;
}

.fs-aquarium-class-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fs-aquarium-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(56, 189, 248, 0.6));
  animation: floatMascotFish 2.5s ease-in-out infinite alternate;
}

.fs-aquarium-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.fs-aquarium-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #7dd3fc;
}

.fs-aquarium-center-tip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  color: #f0fdf4;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  animation: tipPulseGlow 3s ease-in-out infinite alternate;
}

@keyframes tipPulseGlow {
  0% { border-color: rgba(56, 189, 248, 0.3); transform: scale(1); }
  100% { border-color: rgba(56, 189, 248, 0.8); transform: scale(1.02); }
}

.pulse-sparkle {
  color: #fde047;
  font-size: 1rem;
}

.fs-aquarium-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fs-aq-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-family: var(--font-fun);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.fs-aq-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
}

.fs-aq-btn i {
  width: 17px;
  height: 17px;
}

.fs-aq-btn-feed {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  border-color: #fde047;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45);
}

.fs-aq-btn-feed:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.aq-btn-emoji {
  font-size: 1.15rem;
  line-height: 1;
}

.fs-aq-btn-close {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fee2e2;
}

.fs-aq-btn-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #f87171;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
}

/* Canvas Alanı */
.fs-aquarium-canvas-container {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: crosshair;
}

#aquariumCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Alt Bilgi & Evrim Göstergesi */
.fs-aquarium-footer {
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 47, 73, 0.8);
  backdrop-filter: blur(12px);
  border-top: 1.5px solid rgba(56, 189, 248, 0.25);
  z-index: 100;
}

.aquarium-legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.4rem 1.4rem;
  border-radius: var(--radius-full);
  color: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  max-width: 95vw;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.aquarium-legend-pill::-webkit-scrollbar {
  display: none;
}

.legend-step {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.legend-sep {
  color: #38bdf8;
  opacity: 0.45;
}

/* Tıklanan Balık Bilgi & Puan Kartı */
.aquarium-student-card-pop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(15, 23, 42, 0.95);
  border: 2.5px solid #38bdf8;
  border-radius: 22px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.45);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 270px;
  max-width: 320px;
  animation: popInCard 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes popInCard {
  to { transform: translate(-50%, -50%) scale(1); }
}

.aquarium-card-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.aquarium-card-close:hover {
  color: #ffffff;
}

.aq-card-avatar-wrap {
  width: 72px;
  height: 72px;
  background: radial-gradient(circle, #0284c7 0%, #075985 100%);
  border: 3px solid #38bdf8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
  font-size: 2.5rem;
}

.aq-card-rank-tag {
  display: inline-block;
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
}

.aq-card-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
  letter-spacing: 0.2px;
}

.aq-card-evolution {
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

.aq-card-points-pill {
  display: inline-block;
  background: #ffffff;
  color: #0369a1;
  font-size: 0.95rem;
  font-weight: 900;
  padding: 0.2rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.1rem;
}

.aq-award-point-btn {
  width: 100%;
  padding: 0.7rem 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
}

.aq-award-point-btn:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.6);
}

@media (max-width: 768px) {
  .fs-aquarium-topbar {
    padding: 0.6rem 0.85rem;
  }
  .fs-aquarium-title {
    font-size: 1.05rem;
  }
  .fs-aquarium-center-tip {
    display: none;
  }
  .aquarium-legend-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.75rem;
    gap: 0.4rem;
  }
}

/* =========================================================
   14. EDULEM YOKLAMASI DEVAMSIZ ÖĞRENCİ STİLLERİ
   ========================================================= */
.student-card.is-absent {
  filter: grayscale(85%) opacity(0.55) !important;
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  position: relative;
}

.student-card.is-absent:hover {
  transform: none !important;
  box-shadow: none !important;
}

.student-card.is-absent .student-name {
  color: #64748b !important;
}

.absent-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  padding: 2px 7px;
  border-radius: 9999px;
  margin-top: 3px;
}

/* =========================================================
   15. 3D PUAN KUTLAMA VİNYET VE SAHNE ANİMASYONU
   ========================================================= */
.celebration-vignette-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.94) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  overflow: hidden;
  animation: fadeInVignette 0.3s ease-out forwards;
}

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

.celebration-vignette-overlay.fading-out {
  animation: fadeOutVignette 0.4s ease-in forwards;
}

@keyframes fadeOutVignette {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.92); }
}

/* 14. VIP Sahne Projektörleri ve Spot Işıkları (Volumetrik Işıklar - Kesinlikle Gökkuşağı/LGBT Yok) */
.stage-spotlights-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Sol Tepe Projektör Huzmesi */
.stage-spotlight.spot-left {
  position: absolute;
  top: -120px;
  left: -80px;
  width: 950px;
  height: 1000px;
  background: conic-gradient(
    from 115deg at 0% 0%,
    transparent 0deg,
    rgba(254, 240, 138, 0.42) 20deg,
    rgba(250, 204, 21, 0.30) 30deg,
    rgba(250, 204, 21, 0.08) 42deg,
    transparent 52deg
  );
  filter: blur(10px);
  transform-origin: 0% 0%;
  animation: sweepSpotLeft 4.5s ease-in-out infinite alternate;
}

/* Sağ Tepe Projektör Huzmesi */
.stage-spotlight.spot-right {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 950px;
  height: 1000px;
  background: conic-gradient(
    from 195deg at 100% 0%,
    transparent 0deg,
    rgba(254, 240, 138, 0.42) 20deg,
    rgba(250, 204, 21, 0.30) 30deg,
    rgba(250, 204, 21, 0.08) 42deg,
    transparent 52deg
  );
  filter: blur(10px);
  transform-origin: 100% 0%;
  animation: sweepSpotRight 4.8s ease-in-out infinite alternate;
}

/* Merkez Tepe Spot Konisi */
.stage-spotlight.spot-center {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 920px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(254, 240, 138, 0.30) 25%,
    rgba(250, 204, 21, 0.12) 55%,
    transparent 78%
  );
  filter: blur(12px);
  animation: pulseCenterSpot 3.2s ease-in-out infinite alternate;
}

.stage-ambient-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: radial-gradient(ellipse at 50% 10%, rgba(254, 240, 138, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Sahne Zemin Işığı (Podyum Altındaki Sıcak Altın Işık Havuzu) */
.stage-floor-light {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(254, 240, 138, 0.55) 0%, rgba(250, 204, 21, 0.28) 45%, transparent 75%);
  filter: blur(22px);
  z-index: 1;
}

@keyframes sweepSpotLeft {
  0%   { transform: rotate(-5deg); opacity: 0.82; }
  100% { transform: rotate(5deg); opacity: 1; }
}

@keyframes sweepSpotRight {
  0%   { transform: rotate(5deg); opacity: 0.82; }
  100% { transform: rotate(-5deg); opacity: 1; }
}

@keyframes pulseCenterSpot {
  0%   { opacity: 0.75; transform: translateX(-50%) scaleX(0.92); }
  100% { opacity: 1; transform: translateX(-50%) scaleX(1.08); }
}

/* Uçuşan Parlak Yıldızlar Katmanı */
.celebration-sparkle-stars-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.sparkle-star {
  position: absolute;
  font-size: 2.2rem;
  filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.8));
  animation: floatSparkleStar 3s ease-in-out infinite alternate;
}

.sparkle-star.s1 { top: 12%; left: 18%; font-size: 2.6rem; animation-delay: 0s; }
.sparkle-star.s2 { top: 18%; right: 20%; font-size: 3rem; animation-delay: 0.4s; }
.sparkle-star.s3 { bottom: 25%; left: 14%; font-size: 2.4rem; animation-delay: 0.8s; }
.sparkle-star.s4 { bottom: 22%; right: 16%; font-size: 2.8rem; animation-delay: 0.2s; }
.sparkle-star.s5 { top: 32%; left: 8%; font-size: 2.2rem; animation-delay: 0.6s; }
.sparkle-star.s6 { top: 28%; right: 10%; font-size: 2.2rem; animation-delay: 1.0s; }
.sparkle-star.s7 { top: 8%; left: 45%; font-size: 2.5rem; animation-delay: 0.3s; }
.sparkle-star.s8 { bottom: 12%; right: 35%; font-size: 2.5rem; animation-delay: 0.7s; }

@keyframes floatSparkleStar {
  0% { transform: translateY(0px) rotate(0deg) scale(0.9); }
  50% { transform: translateY(-16px) rotate(15deg) scale(1.15); }
  100% { transform: translateY(0px) rotate(-10deg) scale(0.95); }
}

/* 3D Podyum Sahnesi (Kartsız, Şeffaf ve Derinlikli) */
.celebration-stage-3d {
  position: relative;
  z-index: 2;
  perspective: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform-style: preserve-3d;
}

/* Üstte Yüzen İsim ve Beceri Başlığı */
.celebration-floating-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
  z-index: 5;
  animation: floatHeaderDown 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes floatHeaderDown {
  0% { opacity: 0; transform: translateY(-40px) scale(0.7); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.celebration-student-name {
  font-family: var(--font-fun);
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  padding: 0.4rem 1.8rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.94));
  border: 3px solid #38bdf8;
  border-radius: 9999px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 35px rgba(56, 189, 248, 0.6),
    inset 0 0 15px rgba(56, 189, 248, 0.3);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.5px;
}

.celebration-skill-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fde047;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin-top: 0.35rem;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(253, 224, 71, 0.5);
}

/* Karakter Taşıyıcı ve 3D Fırlama & Zıplama Animasyonu */
.celebration-character-wrapper {
  position: relative;
  z-index: 4;
  margin-bottom: -15px;
  animation: characterZoomHop 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
             characterJoyWiggle 2.2s ease-in-out infinite 0.75s alternate;
  transform-origin: center bottom;
}

@keyframes characterZoomHop {
  0% {
    opacity: 0;
    transform: scale(0.15) translateY(120px) translateZ(-200px);
  }
  60% {
    opacity: 1;
    transform: scale(1.42) translateY(-25px) translateZ(80px);
  }
  80% {
    transform: scale(1.22) translateY(5px) translateZ(40px);
  }
  100% {
    opacity: 1;
    transform: scale(1.32) translateY(0px) translateZ(50px);
  }
}

@keyframes characterJoyWiggle {
  0% { transform: scale(1.32) translateY(0px) rotate(0deg); }
  25% { transform: scale(1.36) translateY(-8px) rotate(-3deg); }
  50% { transform: scale(1.32) translateY(0px) rotate(0deg); }
  75% { transform: scale(1.36) translateY(-8px) rotate(3deg); }
  100% { transform: scale(1.32) translateY(0px) rotate(0deg); }
}

.celebration-avatar-box {
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
}

.celebration-avatar-box svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* =========================================================
   GÖZ KIRPMA (WINK) VE YILDIZ PARILTI ANİMASYONU
   ========================================================= */
.cute-eye-winking {
  display: none;
}

.cute-eye-open {
  display: inline;
}

/* Kutlama sırasında sağ göz kırpsın */
.celebrating-character-animated .cute-eye-open {
  animation: winkEyeOpen 2.6s ease-in-out infinite;
}

.celebrating-character-animated .cute-eye-winking {
  display: inline !important;
  animation: winkEyeClosed 2.6s ease-in-out infinite;
}

.celebrating-character-animated .cute-wink-twinkle {
  display: inline !important;
  transform-origin: center;
  animation: twinkleGleam 2.6s ease-in-out infinite;
}

@keyframes winkEyeOpen {
  0%, 22% { opacity: 1; transform: scaleY(1); }
  26%, 66% { opacity: 0; transform: scaleY(0.1); }
  70%, 100% { opacity: 1; transform: scaleY(1); }
}

@keyframes winkEyeClosed {
  0%, 22% { opacity: 0; transform: scale(0.4); }
  26%, 66% { opacity: 1; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(0.4); }
}

@keyframes twinkleGleam {
  0%, 24% { opacity: 0; transform: scale(0) rotate(0deg); }
  32%, 58% { opacity: 1; transform: scale(1.5) rotate(25deg); filter: drop-shadow(0 0 8px #fde047); }
  66%, 100% { opacity: 0; transform: scale(0) rotate(50deg); }
}

/* =========================================================
   NEŞELİ FESTİVAL LED PODYUMU (3D Podium)
   ========================================================= */
.celebration-led-podium {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  z-index: 3;
}

.podium-top-mirror {
  width: 300px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.98) 0%, rgba(224, 242, 254, 0.9) 45%, rgba(56, 189, 248, 0.8) 100%);
  border: 3.5px solid #facc15;
  box-shadow: 
    0 0 35px rgba(250, 204, 21, 0.7),
    inset 0 0 24px rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 2;
}

/* LED Işık Çemberi */
.podium-led-rim {
  position: absolute;
  top: 18px;
  width: 312px;
  height: 52px;
  pointer-events: none;
  z-index: 4;
}

.led-bulb {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  box-shadow: 0 0 14px currentColor, 0 0 6px #ffffff;
  animation: ledPulseChase 1.4s ease-in-out infinite alternate;
}

/* 12 LED Ampulün Asil Sıcak Altın ve Pırlanta Beyazı Dizilimi (Gökkuşağı Yok) */
.led-bulb.l1  { left: 10px;  top: 20px; color: #facc15; background: #facc15; animation-delay: 0.0s; }
.led-bulb.l2  { left: 32px;  top: 34px; color: #ffffff; background: #ffffff; animation-delay: 0.12s; }
.led-bulb.l3  { left: 66px;  top: 42px; color: #fbbf24; background: #fbbf24; animation-delay: 0.24s; }
.led-bulb.l4  { left: 110px; top: 46px; color: #ffffff; background: #ffffff; animation-delay: 0.36s; }
.led-bulb.l5  { left: 154px; top: 48px; color: #facc15; background: #facc15; animation-delay: 0.48s; }
.led-bulb.l6  { left: 198px; top: 46px; color: #ffffff; background: #ffffff; animation-delay: 0.60s; }
.led-bulb.l7  { left: 242px; top: 42px; color: #fbbf24; background: #fbbf24; animation-delay: 0.72s; }
.led-bulb.l8  { left: 276px; top: 34px; color: #ffffff; background: #ffffff; animation-delay: 0.84s; }
.led-bulb.l9  { left: 294px; top: 20px; color: #facc15; background: #facc15; animation-delay: 0.96s; }
.led-bulb.l10 { left: 235px; top: 6px;  color: #ffffff; background: #ffffff; animation-delay: 1.08s; }
.led-bulb.l11 { left: 154px; top: 2px;  color: #fbbf24; background: #fbbf24; animation-delay: 1.20s; }
.led-bulb.l12 { left: 75px;  top: 6px;  color: #ffffff; background: #ffffff; animation-delay: 1.32s; }

@keyframes ledPulseChase {
  0% { transform: scale(0.85); opacity: 0.65; filter: brightness(0.85); }
  50% { transform: scale(1.3); opacity: 1; filter: brightness(1.4); }
  100% { transform: scale(0.9); opacity: 0.75; filter: brightness(0.95); }
}

.podium-cylinder-base {
  width: 290px;
  height: 38px;
  margin-top: -24px;
  border-radius: 0 0 145px 145px / 0 0 38px 38px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 50%, #020617 100%);
  border-bottom: 4px solid #facc15;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.podium-neon-glow {
  position: absolute;
  bottom: -25px;
  width: 360px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(250, 204, 21, 0.75) 0%, rgba(254, 240, 138, 0.35) 45%, transparent 70%);
  filter: blur(16px);
  z-index: 0;
  animation: pulseNeonUnderglow 1.8s ease-in-out infinite alternate;
}

@keyframes pulseNeonUnderglow {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* Altta Zıplayan +Puan Rozeti */
.celebration-points-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 0.65rem 1.8rem;
  border-radius: 9999px;
  font-size: 1.65rem;
  font-weight: 900;
  margin-top: 1.25rem;
  border: 3px solid #fde047;
  box-shadow: 
    0 10px 30px rgba(16, 185, 129, 0.6),
    0 0 25px rgba(253, 224, 71, 0.5);
  z-index: 5;
  animation: bouncePointsBadge 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate;
}

/* =========================================================
   14C. PUAN EKSİLTİLDİĞİNDE 3D ÜZGÜN KARAKTER VİNYET ŞOVU (MODE-SAD)
   ========================================================= */
.celebration-vignette-overlay.mode-sad {
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.68) 0%, rgba(15, 23, 42, 0.97) 100%) !important;
}

/* Spot ışıklarını hüzünlü ve odaklı gri/mavi tonlara dönüştür */
.celebration-vignette-overlay.mode-sad .stage-spotlight.spot-left {
  background: conic-gradient(
    from 115deg at 0% 0%,
    transparent 0deg,
    rgba(148, 163, 184, 0.28) 20deg,
    rgba(96, 165, 250, 0.22) 30deg,
    rgba(71, 85, 105, 0.08) 42deg,
    transparent 52deg
  ) !important;
}

.celebration-vignette-overlay.mode-sad .stage-spotlight.spot-right {
  background: conic-gradient(
    from 195deg at 100% 0%,
    transparent 0deg,
    rgba(148, 163, 184, 0.28) 20deg,
    rgba(96, 165, 250, 0.22) 30deg,
    rgba(71, 85, 105, 0.08) 42deg,
    transparent 52deg
  ) !important;
}

.celebration-vignette-overlay.mode-sad .stage-spotlight.spot-center {
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(148, 163, 184, 0.35) 0%,
    rgba(96, 165, 250, 0.18) 30%,
    rgba(51, 65, 85, 0.12) 55%,
    transparent 78%
  ) !important;
}

.celebration-vignette-overlay.mode-sad .stage-ambient-beam {
  background: radial-gradient(ellipse at 50% 10%, rgba(96, 165, 250, 0.14) 0%, transparent 70%) !important;
}

.celebration-vignette-overlay.mode-sad .stage-floor-light {
  background: radial-gradient(ellipse at center, rgba(71, 85, 105, 0.5) 0%, transparent 75%) !important;
}

.celebration-vignette-overlay.mode-sad .celebration-sparkle-stars-layer {
  display: none !important;
}

/* Başlık ve İsim Tasarımı */
.celebration-vignette-overlay.mode-sad .celebration-student-name {
  color: #f1f5f9;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}

.celebration-vignette-overlay.mode-sad .celebration-skill-title {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.18);
  border: 1.5px solid rgba(239, 68, 68, 0.45);
}

.celebration-vignette-overlay.mode-sad .celebration-style-badge {
  background: rgba(239, 68, 68, 0.2);
  border: 1.5px solid rgba(239, 68, 68, 0.45);
  color: #fecaca;
}

/* Podyum Soğuk ve Ağırbaşlı Görünüm */
.celebration-vignette-overlay.mode-sad .podium-top-mirror {
  background: radial-gradient(ellipse at center, rgba(148, 163, 184, 0.85) 0%, rgba(71, 85, 105, 0.9) 45%, rgba(30, 41, 59, 0.95) 100%) !important;
  border-color: #64748b !important;
  box-shadow: 0 0 25px rgba(100, 116, 139, 0.4), inset 0 0 16px rgba(255, 255, 255, 0.3) !important;
}

.celebration-vignette-overlay.mode-sad .led-bulb {
  color: #94a3b8 !important;
  background: #64748b !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 0 8px #94a3b8 !important;
  animation: none !important;
  opacity: 0.75;
}

.celebration-vignette-overlay.mode-sad .podium-cylinder-base {
  border-bottom-color: #64748b !important;
}

.celebration-vignette-overlay.mode-sad .podium-neon-glow {
  background: radial-gradient(ellipse, rgba(100, 116, 139, 0.45) 0%, transparent 70%) !important;
}

/* Kırmızı Eksi Puan Rozeti */
.celebration-vignette-overlay.mode-sad .celebration-points-badge {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  border-color: #fca5a5 !important;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.6), 0 0 25px rgba(248, 113, 113, 0.4) !important;
  animation: bounceSadBadge 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate !important;
}

@keyframes bounceSadBadge {
  0% { transform: scale(0.97) translateY(0); }
  100% { transform: scale(1.05) translateY(-6px); }
}

/* Tek ve Standart Üzüntü Animasyonu (Karakter Öne Çıkıp İç Çeker) */
.celebration-vignette-overlay.mode-sad .celebration-character-wrapper {
  animation: sadCharacterDrop 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) forwards, sadCharacterSigh 2.4s ease-in-out infinite alternate 0.55s !important;
}

@keyframes sadCharacterDrop {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(-35px);
  }
  65% {
    opacity: 1;
    transform: scale(1.16) translateY(14px);
  }
  100% {
    opacity: 1;
    transform: scale(1.12) translateY(16px);
  }
}

@keyframes sadCharacterSigh {
  0% {
    transform: scale(1.12) translateY(16px) rotate(0deg);
  }
  35% {
    transform: scale(1.08) translateY(24px) rotate(-3.5deg);
  }
  70% {
    transform: scale(1.10) translateY(22px) rotate(2.5deg);
  }
  100% {
    transform: scale(1.12) translateY(16px) rotate(0deg);
  }
}

.celebration-vignette-overlay.mode-sad .celebration-avatar-box {
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6)) brightness(0.92);
}

/* Üzgün modda göz kırpma/parıltıyı kapat, sakin ve hüzünlü bakış */
.celebration-vignette-overlay.mode-sad .cute-wink-twinkle {
  display: none !important;
}
.celebration-vignette-overlay.mode-sad .cute-eye-winking {
  display: none !important;
}
.celebration-vignette-overlay.mode-sad .cute-eye-open {
  display: inline !important;
  animation: none !important;
}

/* Üzüntü Gözyaşı / Damla Efekt Parçacıkları */
.floating-sad-tear-particle {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  animation: sadTearDrop 1.8s ease-in infinite;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

@keyframes sadTearDrop {
  0% { opacity: 0; transform: translateY(-5px) scale(0.6); }
  25% { opacity: 0.95; transform: translateY(12px) scale(1.1); }
  75% { opacity: 0.75; transform: translateY(55px) scale(0.9); }
  100% { opacity: 0; transform: translateY(85px) scale(0.4); }
}

/* =========================================================
   15. KARAKTER ÖZELLEŞTİRME & GARDIROP MODALI
   ========================================================= */
.avatar-customizer-hero-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.avatar-customizer-preview-box {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  background: radial-gradient(circle, #ffffff 40%, #e2e8f0 100%);
  border: 3px solid #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
  overflow: visible;
}

.avatar-customizer-preview-box svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.avatar-customizer-info {
  flex: 1;
}

.gender-pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #e2e8f0;
  color: #475569;
}

.gender-pill-badge.girl {
  background: #fce7f3;
  color: #db2777;
  border: 1px solid #fbcfe8;
}

.gender-pill-badge.boy {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.customizer-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1.5px solid #f59e0b;
  color: #92400e;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
}

.customizer-active-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #166534;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.customizer-filter-row {
  display: flex;
  justify-content: center;
}

.customizer-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #f1f5f9;
  padding: 0.3rem;
  border-radius: var(--radius-lg);
  gap: 0.35rem;
  border: 1px solid #e2e8f0;
}

.customizer-tab-btn {
  border: none;
  background: transparent;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.customizer-tab-btn:hover {
  color: #0f172a;
}

.customizer-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.customizer-items-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.customizer-milestone-section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.customizer-milestone-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #1e293b;
  padding-bottom: 0.35rem;
  border-bottom: 1.5px dashed #cbd5e1;
}

.milestone-badge-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.milestone-badge-pill.m0 { background: #e2e8f0; color: #475569; }
.milestone-badge-pill.m5,
.milestone-badge-pill.m10 { background: #dbeafe; color: #1d4ed8; }
.milestone-badge-pill.m20 { background: #fef3c7; color: #b45309; }
.milestone-badge-pill.m15,
.milestone-badge-pill.m30 { background: #dcfce7; color: #15803d; }
.milestone-badge-pill.m40 { background: #f3e8ff; color: #7e22ce; }
.milestone-badge-pill.m25,
.milestone-badge-pill.m50 { background: #ffedd5; color: #c2410c; }
.milestone-badge-pill.m60 { background: #fef08a; color: #a16207; }

.customizer-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 0.75rem;
}

.customizer-item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.85rem 0.6rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
}

.customizer-item-card:hover:not(.is-locked) {
  transform: translateY(-3px);
  border-color: #f59e0b;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.2);
}

.customizer-item-card.is-selected {
  border-color: #10b981;
  background: #f0fdf4;
  box-shadow: 0 0 0 2px #10b981, 0 6px 16px rgba(16, 185, 129, 0.25);
}

.customizer-item-card.is-locked {
  background: #f8fafc;
  border-color: #e2e8f0;
  opacity: 0.62;
  cursor: not-allowed;
}

.customizer-item-card.is-locked:hover {
  opacity: 0.85;
  border-color: #cbd5e1;
}

.customizer-item-thumb {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  position: relative;
}

.customizer-item-thumb svg {
  width: 100%;
  height: 100%;
}

.customizer-item-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.customizer-item-meta {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.customizer-lock-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #fde047;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.customizer-equipped-check {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #10b981;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

/* =========================================================
   16. RASTGELE GRUP VE RENKLİ GRUP KARTLARI
   ========================================================= */
.random-group-preview-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--group-color, #3b82f6);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.random-group-name-input {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  background: #f8fafc;
  width: 100%;
  outline: none;
  transition: all 0.2s;
}

.random-group-name-input:focus {
  border-color: var(--group-color, var(--primary));
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.group-card {
  border-top: 4px solid var(--group-card-color, #38bdf8);
}

.btn-group-rename {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 4px;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
}

.btn-group-rename:hover {
  color: var(--primary);
  background: #e0f2fe;
}

/* Karakter Gardırobu Modal Alt Çubuğu & Mobil Uyum */
.customize-avatar-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1.25rem !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.customize-footer-btns {
  display: flex !important;
  gap: 0.5rem !important;
  align-items: center !important;
}

#btnSaveCustomizedAvatar {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border-color: #059669 !important;
  font-weight: 800 !important;
  color: white !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}

@media (max-width: 640px) {
  .customize-avatar-footer {
    padding: 0.6rem 0.75rem !important;
    gap: 0.35rem !important;
  }
  .customize-avatar-footer .btn {
    padding: 0.42rem 0.65rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }
  .customize-avatar-footer .hide-on-mobile {
    display: none !important;
  }
  #btnSaveCustomizedAvatar {
    min-width: 0 !important;
    padding: 0.42rem 0.85rem !important;
  }
  #btnRemoveAccessory {
    padding: 0.42rem 0.6rem !important;
    font-size: 0.76rem !important;
  }
}

/* ==========================================================================
   YENİ GÖVDE, EL-KOL, PATİ VE KUYRUK KARAKTER MOTORU STİLLERİ
   ========================================================================== */
.cute-animal-svg {
  overflow: visible;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Doğal nefes alma ve hafif salınım (Idle Breathing) */
.student-avatar svg,
.podium-avatar-box svg {
  animation: cuteAnimalBreathe 3.5s ease-in-out infinite;
}

@keyframes cuteAnimalBreathe {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2.5px) scale(1.02);
  }
}

/* Kuyruk Sallanma Hareketi (Tail Wagging) */
.char-tail {
  transform-origin: 35px 75px;
  animation: cuteTailWag 2.2s ease-in-out infinite alternate;
}

.char-tail-right {
  transform-origin: 65px 75px;
  animation: cuteTailWagRight 2.2s ease-in-out infinite alternate;
}

@keyframes cuteTailWag {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(14deg); }
}

@keyframes cuteTailWagRight {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-14deg); }
}

/* Kollar ve Patiler (Normalde tatlı duruş) */
.char-arm {
  transition: transform 0.25s ease;
}

.char-arm-left {
  transform-origin: 31px 62px;
}

.char-arm-right {
  transform-origin: 69px 62px;
}

/* Kartın üzerine gelindiğinde eller sevinçle havaya kalksın */
.student-card:hover .char-arm-left {
  animation: cuteArmWaveLeft 0.7s ease-in-out infinite alternate;
}

.student-card:hover .char-arm-right {
  animation: cuteArmWaveRight 0.7s ease-in-out infinite alternate;
}

.student-card:hover .char-tail {
  animation: cuteTailWagFast 0.5s ease-in-out infinite alternate;
}

@keyframes cuteArmWaveLeft {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-35deg) translate(-4px, -4px); }
}

@keyframes cuteArmWaveRight {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(35deg) translate(4px, -4px); }
}

@keyframes cuteTailWagFast {
  0% { transform: rotate(-12deg); }
  100% { transform: rotate(24deg); }
}

/* ==========================================================================
   8 FARKLI KİŞİSELLEŞTİRİLEBİLİR PUAN SEVİNCİ TARZI ANİMASYONLARI
   ========================================================================== */

/* Sevinç Tarzı Başlık Rozeti */
.celebration-style-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #fef08a;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid rgba(254, 240, 138, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 4px;
}

/* 1. ALKIŞLAMA & TEBRİK (Clapping) */
.celebration-style-clapping .char-arm-left {
  animation: clapLeftArm 0.3s ease-in-out infinite alternate !important;
}

.celebration-style-clapping .char-arm-right {
  animation: clapRightArm 0.3s ease-in-out infinite alternate !important;
}

.celebration-style-clapping {
  animation: clapBodyBounce 0.3s ease-in-out infinite alternate !important;
}

@keyframes clapLeftArm {
  0% { transform: rotate(-25deg) translate(-4px, -2px); }
  100% { transform: rotate(68deg) translate(14px, -6px); }
}

@keyframes clapRightArm {
  0% { transform: rotate(25deg) translate(4px, -2px); }
  100% { transform: rotate(-68deg) translate(-14px, -6px); }
}

@keyframes clapBodyBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px) scale(1.04); }
}

/* 2. GÖBEĞİNİ KAŞIMA (Belly Scratching) */
.celebration-style-belly_scratch .char-arm-right {
  animation: scratchBellyArm 0.4s ease-in-out infinite !important;
}

.celebration-style-belly_scratch .char-arm-left {
  animation: scratchJoyWaveLeft 0.6s ease-in-out infinite alternate !important;
}

.celebration-style-belly_scratch .char-body,
.celebration-style-belly_scratch .char-tummy {
  animation: tummyTickle 0.4s ease-in-out infinite alternate !important;
}

@keyframes scratchBellyArm {
  0% { transform: rotate(-20deg) translate(-6px, 0); }
  50% { transform: rotate(-65deg) translate(-18px, 6px); }
  100% { transform: rotate(-20deg) translate(-6px, 0); }
}

@keyframes scratchJoyWaveLeft {
  0% { transform: rotate(-30deg); }
  100% { transform: rotate(-85deg) translate(-8px, -10px); }
}

@keyframes tummyTickle {
  0% { transform: scale(1) rotate(-3deg); }
  100% { transform: scale(1.1) rotate(3deg); }
}

/* 3. DİSKO DANSI (Disco Dance) */
.celebration-style-disco_dance .char-arm-left {
  animation: discoLeftArm 0.7s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate !important;
}

.celebration-style-disco_dance .char-arm-right {
  animation: discoRightArm 0.7s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate !important;
}

.celebration-style-disco_dance {
  animation: discoBodySway 0.7s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate !important;
}

@keyframes discoLeftArm {
  0% { transform: rotate(-105deg) translate(-14px, -18px); }
  100% { transform: rotate(35deg) translate(8px, 8px); }
}

@keyframes discoRightArm {
  0% { transform: rotate(-30deg) translate(-6px, 8px); }
  100% { transform: rotate(105deg) translate(14px, -18px); }
}

@keyframes discoBodySway {
  0% { transform: rotate(-14deg) translateX(-10px) translateY(4px); }
  100% { transform: rotate(14deg) translateX(10px) translateY(-6px); }
}

/* 4. SEVİMLİ ROBOT DANSI (Robot Dance) */
.celebration-style-robot_dance .char-arm-left {
  animation: robotArmLeft 0.9s steps(4) infinite !important;
}

.celebration-style-robot_dance .char-arm-right {
  animation: robotArmRight 0.9s steps(4) infinite !important;
}

.celebration-style-robot_dance {
  animation: robotBody 0.9s steps(4) infinite !important;
}

@keyframes robotArmLeft {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-110deg) translate(-10px, -6px); }
  50% { transform: rotate(-55deg) translate(-4px, 4px); }
  75% { transform: rotate(-110deg) translate(-10px, -6px); }
  100% { transform: rotate(0deg); }
}

@keyframes robotArmRight {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(55deg) translate(4px, 4px); }
  50% { transform: rotate(110deg) translate(10px, -6px); }
  75% { transform: rotate(55deg) translate(4px, 4px); }
  100% { transform: rotate(0deg); }
}

@keyframes robotBody {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(-5deg); }
  50% { transform: translateY(4px) rotate(5deg); }
  75% { transform: translateY(-8px) rotate(-5deg); }
}

/* 5. ÖPÜCÜK ATMA (Blowing Kiss) */
.celebration-style-blowing_kiss .char-arm-right {
  animation: blowKissArm 1.3s ease-in-out infinite !important;
}

.celebration-style-blowing_kiss .char-arm-left {
  animation: blowKissLeftArm 1.3s ease-in-out infinite !important;
}

.celebration-style-blowing_kiss {
  animation: blowKissBody 1.3s ease-in-out infinite !important;
}

@keyframes blowKissArm {
  0% { transform: rotate(0deg); }
  35% { transform: rotate(-85deg) translate(-18px, -16px); }
  65% { transform: rotate(45deg) translate(18px, -10px); }
  100% { transform: rotate(0deg); }
}

@keyframes blowKissLeftArm {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-40deg) translate(-6px, 0); }
}

@keyframes blowKissBody {
  0%, 100% { transform: rotate(0deg) scale(1); }
  35% { transform: rotate(-6deg) scale(1.06); }
  65% { transform: rotate(6deg) scale(1.08) translateY(-6px); }
}

/* Uçuşan Kalpler Katmanı */
.celebration-style-fx-layer {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  pointer-events: none;
  z-index: 10;
}

.floating-heart-particle {
  position: absolute;
  font-size: 1.6rem;
  animation: floatHeart 1.8s ease-out infinite;
  opacity: 0;
}

@keyframes floatHeart {
  0% {
    transform: translate(0, 0) scale(0.3) rotate(0deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    transform: translate(var(--tx, 60px), var(--ty, -120px)) scale(1.4) rotate(var(--rot, 25deg));
    opacity: 0;
  }
}

/* 6. EL SALLAMA & SELAMLAMA (Waving - Elleri Havada Coşkuyla Sallama) */
.celebration-style-waving .char-arm-left {
  transform-origin: 31px 62px !important;
  animation: waveBothHandsLeft 0.32s ease-in-out infinite alternate !important;
}

.celebration-style-waving .char-arm-right {
  transform-origin: 69px 62px !important;
  animation: waveBothHandsRight 0.32s ease-in-out infinite alternate !important;
}

.celebration-style-waving {
  animation: wavingJoyBounce 0.64s ease-in-out infinite alternate !important;
}

@keyframes waveBothHandsLeft {
  0% { transform: rotate(115deg) translate(-2px, -4px); }
  100% { transform: rotate(162deg) translate(-4px, -1px); }
}

@keyframes waveBothHandsRight {
  0% { transform: rotate(-162deg) translate(4px, -1px); }
  100% { transform: rotate(-115deg) translate(2px, -4px); }
}

@keyframes wavingJoyBounce {
  0% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(0deg) scale(0.98, 1.03); }
  100% { transform: translateY(0) rotate(2deg); }
}

/* 7. ÇILGIN ZIPLAMA & TAKLA (Jumping) */
.celebration-style-jumping {
  animation: crazyHighJump 0.85s cubic-bezier(0.28, 0.84, 0.42, 1) infinite !important;
}

.celebration-style-jumping .char-arm-left {
  animation: jumpArmsLeft 0.85s ease-in-out infinite !important;
}

.celebration-style-jumping .char-arm-right {
  animation: jumpArmsRight 0.85s ease-in-out infinite !important;
}

@keyframes crazyHighJump {
  0%, 100% {
    transform: translateY(0) scale(1, 1);
  }
  20% {
    transform: translateY(14px) scale(1.22, 0.78);
  }
  50% {
    transform: translateY(-70px) scale(0.85, 1.25) rotate(8deg);
  }
  75% {
    transform: translateY(-25px) scale(1.05, 0.95);
  }
}

@keyframes jumpArmsLeft {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-120deg) translate(-14px, -18px); }
}

@keyframes jumpArmsRight {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(120deg) translate(14px, -18px); }
}

/* 8. SÜPER KAHRAMAN ZAFER POZU (Hero Pose) */
.celebration-style-hero_pose .char-arm-left {
  transform: rotate(50deg) translate(12px, 2px) !important;
}

.celebration-style-hero_pose .char-arm-right {
  transform: rotate(-50deg) translate(-12px, 2px) !important;
}

.celebration-style-hero_pose {
  animation: heroPuffUp 1.6s ease-in-out infinite alternate !important;
}

@keyframes heroPuffUp {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.45));
  }
  100% {
    transform: scale(1.14) translateY(-10px);
    filter: drop-shadow(0 0 32px rgba(250, 204, 21, 0.95));
  }
}

/* ==========================================================================
   GARDIRÖP MODALI PUAN SEVİNCİ SEÇİM IZGARASI
   ========================================================================= */
.customizer-mode-btn.active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.celebration-styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.celebration-style-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.celebration-style-card:hover {
  border-color: #8b5cf6;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15);
}

.celebration-style-card.active {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.9), rgba(237, 233, 254, 0.6));
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.celebration-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.celebration-card-icon {
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.celebration-card-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: white;
}

.celebration-style-card.active .celebration-card-check {
  background: #8b5cf6;
  border-color: #8b5cf6;
}

.celebration-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.celebration-card-desc {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  flex: 1;
}

.btn-preview-celebration {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.15s;
  margin-top: 0.35rem;
}

.btn-preview-celebration:hover {
  background: #8b5cf6;
  border-color: #8b5cf6;
  color: #ffffff;
}

/* ==========================================================================
   SINIF TAKVİMİ MODALI & YAKLAŞAN ETKİNLİKLER HATIRLATICISI
   ========================================================================== */
.calendar-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.calendar-nav-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calendar-current-month-label {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  min-width: 170px;
  text-align: center;
  margin: 0;
}

.calendar-legend-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0 0.25rem;
}

.legend-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.legend-chip.holiday {
  background: #fee2e2;
  color: #b91c1c;
}

.legend-chip.religious {
  background: #fef3c7;
  color: #92400e;
}

.legend-chip.break {
  background: #e0f2fe;
  color: #0369a1;
}

.legend-chip.week {
  background: #f3e8ff;
  color: #6b21a8;
}

.legend-chip.custom {
  background: #ecfdf5;
  color: #047857;
}

.calendar-modal-container {
  max-width: 1100px !important;
  width: 95vw !important;
  max-height: 94vh !important;
  display: flex !important;
  flex-direction: column !important;
}

.calendar-modal-header {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  border-bottom: 2px solid #a855f7;
}

.calendar-modal-header .modal-close {
  color: #ffffff !important;
}

.calendar-modal-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.calendar-modal-title {
  color: #ffffff;
  font-size: 1.2rem;
  margin: 0;
}

.calendar-modal-subtitle {
  font-size: 0.8rem;
  color: #e0e7ff;
  margin: 0;
}

.calendar-modal-body {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-add-btn-wrap {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

#btnCalAddNewEvent {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.calendar-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 0.75rem 1.25rem;
}

.calendar-modal-tip {
  font-size: 0.8rem;
  color: #64748b;
}

.calendar-month-grid-wrap {
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  width: 100%;
  box-sizing: border-box;
}

.calendar-weekdays-header {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-bottom: 2px solid #e2e8f0;
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #475569;
  width: 100%;
  box-sizing: border-box;
}

.calendar-weekdays-header > div {
  padding: 0.6rem 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-weekdays-header > .weekend-head {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.04);
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  background: #f1f5f9;
  gap: 5px;
  padding: 6px;
  width: 100%;
  box-sizing: border-box;
}

/* KART ŞEKLİNDE GÜN KUTUCUĞU */
.cal-day-cell,
.calendar-day-cell {
  background: #ffffff;
  min-height: 82px;
  min-width: 0 !important;
  max-width: 100%;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  overflow: hidden !important;
}

.cal-day-cell:hover,
.calendar-day-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: #94a3b8;
  background: #ffffff;
  z-index: 2;
}

.cal-day-cell.other-month,
.calendar-day-cell.other-month {
  background: #f8fafc;
  opacity: 0.4;
  border-style: dashed;
  border-color: #cbd5e1;
}

.cal-day-cell.is-today,
.calendar-day-cell.is-today {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 0 0 2.5px rgba(59, 130, 246, 0.2), 0 3px 10px rgba(59, 130, 246, 0.12);
}

.cal-day-cell.is-weekend,
.calendar-day-cell.is-weekend {
  background: #fffcfb;
  border-color: #fee2e2;
}

/* Gün Başlığı (Numara & Bugün Rozeti) */
.cal-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 24px;
}

.cal-day-num,
.calendar-day-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e293b;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  transition: all 0.15s;
}

.cal-day-cell.is-today .cal-day-num,
.calendar-day-cell.is-today .calendar-day-number {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.cal-day-cell.is-weekend .cal-day-num,
.calendar-day-cell.is-weekend .calendar-day-number {
  color: #ef4444;
  background: #fef2f2;
  border-color: #fee2e2;
}

.cal-today-badge {
  font-size: 0.6rem;
  font-weight: 800;
  background: #2563eb;
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Hızlı Etkinlik Ekleme Butonu (+) - Hover'da görünür */
.cal-quick-add-btn {
  opacity: 0;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0284c7;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cal-day-cell:hover .cal-quick-add-btn,
.calendar-day-cell:hover .cal-quick-add-btn {
  opacity: 1;
}

.cal-quick-add-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: scale(1.12);
  box-shadow: 0 4px 8px rgba(2, 132, 199, 0.3);
}

.cal-day-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-height: 0;
  min-width: 0 !important;
  overflow: hidden !important;
}

/* Resmi, Dini Bayramlar ve Özel Gün Çipleri */
.cal-holiday-chip,
.calendar-holiday-chip {
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 4px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0 !important;
  max-width: 100%;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
  transition: transform 0.15s;
  cursor: default;
}

.cal-holiday-chip:hover,
.calendar-holiday-chip:hover {
  transform: scale(1.02);
}

.cal-holiday-chip .chip-icon {
  font-size: 0.75rem;
  flex-shrink: 0;
}

.cal-holiday-chip .chip-text {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 0.66rem;
  min-width: 0 !important;
  flex: 1;
}

.cal-holiday-chip.chip-holiday,
.calendar-holiday-chip.subtle {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.cal-holiday-chip.chip-break,
.calendar-holiday-chip.subtle.break {
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  color: #0369a1;
}

.cal-holiday-chip.chip-religious,
.calendar-holiday-chip.subtle.religious {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
}

.cal-holiday-chip.chip-week,
.calendar-holiday-chip.subtle.week {
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
  color: #6b21a8;
}

/* Öğretmen Sınıf Etkinliği Hapları */
.cal-events-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0 !important;
  overflow: hidden !important;
}

.cal-event-pill,
.calendar-event-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0 !important;
  max-width: 100%;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cal-event-pill:hover,
.calendar-event-pill:hover {
  transform: scale(1.02);
  filter: brightness(1.06);
}

.cal-event-pill .evt-icon {
  font-size: 0.75rem;
  flex-shrink: 0;
}

.cal-event-pill .evt-title {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  min-width: 0 !important;
  flex: 1;
}

/* Kategori Arka Plan Renkleri */
.cal-event-pill.cat-exam { background: linear-gradient(135deg, #ef4444, #dc2626); }
.cal-event-pill.cat-quiz { background: linear-gradient(135deg, #f59e0b, #d97706); }
.cal-event-pill.cat-homework { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.cal-event-pill.cat-activity { background: linear-gradient(135deg, #10b981, #059669); }
.cal-event-pill.cat-ceremony { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.cal-event-pill.cat-meeting { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.cal-event-pill.cat-other { background: linear-gradient(135deg, #64748b, #475569); }

.calendar-event-pill.color-blue { background: #3b82f6; }
.calendar-event-pill.color-emerald { background: #10b981; }
.calendar-event-pill.color-amber { background: #f59e0b; color: #78350f; }
.calendar-event-pill.color-purple { background: #8b5cf6; }
.calendar-event-pill.color-rose { background: #f43f5e; }

/* SAĞ PANELDEKİ YAKLAŞAN ETKİNLİKLER HATIRLATICI KARTI */
.calendar-reminder-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.reminder-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.reminder-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.3);
}

.reminder-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.reminder-sub-tag {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.reminder-events-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 240px;
  overflow-y: auto;
}

.reminder-event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #8b5cf6;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  transition: transform 0.15s;
  cursor: pointer;
}

.reminder-event-item:hover {
  transform: translateX(3px);
  border-color: #cbd5e1;
}

.reminder-item-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 68%;
}

.reminder-item-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reminder-item-date {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.reminder-badge-countdown {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.reminder-badge-countdown.today {
  background: #ef4444;
  color: #ffffff;
  animation: pulseToday 1.5s infinite;
}

.reminder-badge-countdown.tomorrow {
  background: #f59e0b;
  color: #ffffff;
}

.reminder-badge-countdown.soon {
  background: #8b5cf6;
  color: #ffffff;
}

.reminder-badge-countdown.future {
  background: #e2e8f0;
  color: #475569;
}

@keyframes pulseToday {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

.reminder-empty-state {
  text-align: center;
  padding: 1rem 0.5rem;
  color: #64748b;
  font-size: 0.8rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px dashed #cbd5e1;
}

/* ==========================================================================
   GÜNÜN İLGİNÇ BİLGİSİ (BİLİYOR MUSUNUZ?) KUTUCUĞU
   ========================================================================== */
.interesting-facts-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.interesting-facts-card::after {
  content: '💡';
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 4.5rem;
  opacity: 0.08;
  pointer-events: none;
}

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

.facts-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.facts-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35);
}

.facts-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #92400e;
  margin: 0;
}

.facts-daily-badge {
  font-size: 0.72rem;
  color: #b45309;
  font-weight: 700;
}

.btn-fact-refresh {
  background: #ffffff !important;
  border: 1px solid #fde68a !important;
  transition: transform 0.25s ease;
}

.btn-fact-refresh:hover {
  transform: rotate(60deg) scale(1.1);
}

.facts-card-body {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(253, 230, 138, 0.6);
  border-radius: 12px;
  padding: 0.85rem;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.fact-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #451a03;
  margin: 0;
  line-height: 1.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fact-text.fade-in {
  animation: factTextAppear 0.35s ease;
}

@keyframes factTextAppear {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.facts-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.fact-counter-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #92400e;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
}

/* =========================================================
 * 16. KARAKTER SEÇİMİ (ÖĞRENCİ MASKOT SEÇİMİ) MODAL STİLLERİ
 * ========================================================= */
.character-picker-modal-container {
  box-shadow: 0 25px 60px -15px rgba(2, 132, 199, 0.25), 0 0 0 1px rgba(2, 132, 199, 0.1);
}

.character-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
  padding: 4px 2px;
}

.character-choice-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  padding: 0.85rem 0.5rem 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.character-choice-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 10px 22px rgba(2, 132, 199, 0.16);
}

.character-choice-card.is-active {
  border-color: #0284c7;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25), 0 8px 20px rgba(2, 132, 199, 0.18);
  transform: scale(1.02);
}

.character-choice-avatar {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.character-choice-avatar svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.character-choice-card:hover .character-choice-avatar {
  transform: scale(1.12);
}

.character-choice-name {
  font-family: var(--font-fun);
  font-size: 0.84rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
  margin-top: 2px;
  text-align: center;
}

.character-choice-card.is-active .character-choice-name {
  color: #0369a1;
}

.character-choice-active-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 7px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
  letter-spacing: 0.2px;
}

.character-choice-used-by {
  font-size: 0.67rem;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 2px 5px;
  margin-top: 4px;
  max-width: 95%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .character-picker-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 8px;
  }
  .character-choice-avatar {
    width: 58px;
    height: 58px;
  }
  .character-choice-name {
    font-size: 0.76rem;
  }
}

/* ========================================================
   SKILL EDITOR MODAL & RESPONSIVE MOBILE STYLES
   ======================================================== */

#editSkillsModal .modal-container {
  max-width: 680px;
  width: 95%;
}

.skill-editor-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.skill-editor-form-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.skill-editor-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-group-skill-title,
.form-group-skill-type,
.form-group-skill-points {
  display: flex;
  flex-direction: column;
}

.form-group-skill-title .form-label,
.form-group-skill-type .form-label,
.form-group-skill-points .form-label,
.skill-icon-picker-wrap .form-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.skill-editor-grid .form-input,
.skill-editor-grid .form-select,
.skill-icon-picker-wrap .form-select {
  height: 40px;
  border-radius: 8px;
  font-size: 0.88rem;
}

.skill-editor-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.skill-icon-picker-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.skill-icon-picker-wrap .form-label {
  margin-bottom: 0;
  white-space: nowrap;
}

.skill-icon-picker-wrap select {
  min-width: 160px;
}

.btn-save-new-skill {
  height: 40px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
  flex-shrink: 0;
}

.editable-skills-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #f1f5f9;
}

.editable-skills-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.editable-skills-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 9px;
  border-radius: 9999px;
}

/* Beceri Filtreleme Butonları (Tümü / Pozitif / Geliştirilmeli) */
.editable-skills-filter-tabs {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
  margin-bottom: 0.75rem;
}

.skill-filter-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.45rem 0.5rem;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.18s ease;
  white-space: nowrap;
  font-family: inherit;
}

.skill-filter-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #334155;
}

.skill-filter-tab.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.skill-filter-tab.active.tab-positive {
  color: #16a34a;
}

.skill-filter-tab.active.tab-needs-work {
  color: #dc2626;
}

.skill-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #64748b;
  line-height: 1;
  transition: all 0.18s ease;
}

.skill-filter-tab.active .skill-filter-count {
  background: #f1f5f9;
  color: #0f172a;
}

.skill-filter-tab.active.tab-positive .skill-filter-count {
  background: #dcfce7;
  color: #15803d;
}

.skill-filter-tab.active.tab-needs-work .skill-filter-count {
  background: #fee2e2;
  color: #b91c1c;
}

.editable-skills-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.editable-skill-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.editable-skill-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.skill-item-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.skill-item-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.skill-item-info {
  min-width: 0;
  flex: 1;
}

.skill-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  word-break: break-word;
}

.skill-item-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3px;
  flex-wrap: wrap;
}

.skill-item-badges .history-badge {
  font-size: 0.75rem;
  padding: 1px 7px;
  font-weight: 700;
  border-radius: 6px;
}

.skill-badge-type {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.skill-item-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.btn-skill-action {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 8px;
}

.btn-skill-action svg,
.btn-skill-action i {
  width: 14px;
  height: 14px;
}

/* Edit Card in List */
.skill-edit-box {
  background: #f0f9ff;
  border: 2px solid #0284c7;
  border-radius: 10px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.skill-edit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.skill-edit-title {
  font-size: 0.88rem;
  color: #0369a1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.skill-edit-title svg,
.skill-edit-title i {
  width: 15px;
  height: 15px;
}

.skill-edit-subtitle {
  font-size: 0.72rem;
  color: #64748b;
}

.skill-edit-footer {
  margin-top: 0.25rem;
}

.skill-edit-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-skill-save {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
}

/* Mobile Responsiveness for Skill Modal (<640px) */
@media (max-width: 640px) {
  #editSkillsModal .modal-container {
    width: 95% !important;
    max-height: 94vh !important;
    display: flex;
    flex-direction: column;
    margin: auto;
  }

  #editSkillsModal .modal-body {
    max-height: calc(94vh - 120px) !important;
    overflow-y: auto !important;
    padding: 0.85rem !important;
  }

  .skill-editor-form {
    padding: 0.85rem;
    margin-bottom: 1rem;
  }

  .skill-editor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .form-group-skill-title {
    grid-column: 1 / -1;
  }

  .skill-editor-subrow {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .skill-icon-picker-wrap {
    width: 100%;
  }

  .skill-icon-picker-wrap select {
    width: 100%;
    flex: 1;
  }

  .btn-save-new-skill {
    width: 100%;
    height: 42px;
    font-size: 0.92rem;
  }

  .editable-skills-filter-tabs {
    gap: 3px;
    padding: 3px;
    margin-bottom: 0.65rem;
  }

  .skill-filter-tab {
    padding: 0.45rem 0.35rem;
    font-size: 0.78rem;
    gap: 0.25rem;
  }

  .skill-filter-count {
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 0.65rem;
  }

  .editable-skills-container {
    max-height: none;
    overflow-y: visible;
  }

  .editable-skill-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.8rem;
  }

  .skill-item-main {
    width: 100%;
  }

  .skill-item-title {
    font-size: 0.92rem;
    white-space: normal;
  }

  .skill-item-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.6rem;
  }

  .btn-skill-action {
    width: 100%;
    height: 38px;
    font-size: 0.84rem;
    justify-content: center;
  }

  .skill-edit-box {
    padding: 0.8rem;
  }

  .skill-edit-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  /* ========================================================
     MOBILE RESPONSIVENESS FOR CLASSROOM CALENDAR (SINIF TAKVİMİ)
     ======================================================== */
  .calendar-modal-container {
    width: 95% !important;
    max-width: 95vw !important;
    max-height: 94vh !important;
    margin: auto !important;
    border-radius: 16px !important;
  }

  .calendar-modal-header {
    padding: 0.75rem 0.9rem !important;
  }
  .calendar-modal-header .modal-header-title {
    gap: 0.5rem !important;
  }
  .calendar-modal-icon-badge {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.15rem !important;
    border-radius: 9px !important;
  }
  .calendar-modal-title {
    font-size: 1.05rem !important;
  }
  .calendar-modal-subtitle {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }

  .calendar-modal-body {
    padding: 0.65rem !important;
    gap: 0.65rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-height: calc(94vh - 125px) !important;
  }

  /* Top Navigation Bar */
  .calendar-top-bar {
    padding: 0.6rem 0.75rem !important;
    gap: 0.5rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .calendar-nav-group {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.35rem !important;
  }

  .calendar-nav-group .btn-sm {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .calendar-current-month-label {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    min-width: 0 !important;
    flex: 1 !important;
    text-align: center !important;
    margin: 0 !important;
  }

  #btnCalToday {
    width: auto !important;
    padding: 0 0.65rem !important;
    height: 34px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
  }

  .calendar-add-btn-wrap {
    width: 100% !important;
  }

  #btnCalAddNewEvent {
    width: 100% !important;
    height: 38px !important;
    justify-content: center !important;
    font-size: 0.86rem !important;
  }

  /* Legend Bar */
  .calendar-legend-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.35rem !important;
    padding: 2px 2px 6px 2px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .calendar-legend-bar::-webkit-scrollbar {
    height: 3px !important;
  }
  .calendar-legend-bar::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
  }

  .legend-chip {
    font-size: 0.68rem !important;
    padding: 3px 7px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
  }

  /* Month Grid Container */
  .calendar-month-grid-wrap {
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .calendar-weekdays-header {
    font-size: 0.72rem !important;
    width: 100% !important;
  }
  .calendar-weekdays-header > div {
    padding: 0.45rem 0.1rem !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
  }

  .calendar-days-grid {
    gap: 3px !important;
    padding: 4px !important;
    width: 100% !important;
  }

  .cal-day-cell {
    min-height: 56px !important;
    padding: 3px 2px !important;
    border-radius: 7px !important;
  }

  .cal-day-header {
    min-height: 18px !important;
    justify-content: center !important;
  }

  .cal-day-num {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.76rem !important;
    border-radius: 5px !important;
  }

  .cal-today-badge {
    display: none !important;
  }

  .cal-quick-add-btn {
    display: none !important;
  }

  .cal-day-content {
    gap: 2px !important;
  }

  .cal-holiday-chip {
    font-size: 0.62rem !important;
    padding: 1px 3px !important;
    border-radius: 4px !important;
    gap: 2px !important;
  }
  .cal-holiday-chip .chip-icon {
    font-size: 0.7rem !important;
  }

  .cal-event-pill {
    font-size: 0.62rem !important;
    padding: 1px 3px !important;
    border-radius: 4px !important;
    gap: 2px !important;
  }
  .cal-event-pill .evt-icon {
    font-size: 0.7rem !important;
  }

  /* Footer */
  .calendar-modal-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    padding: 0.65rem 0.9rem !important;
  }
  .calendar-modal-tip {
    font-size: 0.74rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
  .btn-close-calendar {
    width: 100% !important;
    height: 38px !important;
    justify-content: center !important;
  }

  /* Event Modal */
  #calendarEventModal .modal-container {
    width: 95% !important;
    margin: auto !important;
    max-height: 94vh !important;
  }
  #calendarEventModal .modal-body {
    padding: 0.85rem !important;
  }

  /* Reset Points Modals (Puanlarımı Sıfırla) */
  #resetMyPointsModal .modal-container,
  #confirmResetPointsModal .modal-container {
    width: 95% !important;
    max-width: 95vw !important;
    margin: auto !important;
    border-radius: 16px !important;
  }

  #resetMyPointsModal .modal-header {
    padding: 0.85rem 1rem !important;
  }

  #resetMyPointsModal .modal-body {
    padding: 1rem 1rem !important;
  }

  #resetMyPointsModal .modal-footer,
  #confirmResetPointsModal .modal-footer {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 0.6rem !important;
    padding: 0.85rem 1rem !important;
  }

  #resetMyPointsModal .modal-footer button,
  #resetMyPointsModal .modal-footer .btn,
  #confirmResetPointsModal .modal-footer button,
  #confirmResetPointsModal .modal-footer .btn {
    width: 100% !important;
    height: 44px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    border-radius: 10px !important;
  }
}






/* ========================================================= */
/* KARAKTER RENK PALETİ & TAKILI AKSESUAR ROZETLERİ          */
/* ========================================================= */
.customizer-color-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #ffffff;
  padding: 0;
  outline: none;
}
.customizer-color-btn:hover {
  transform: scale(1.18);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.customizer-color-btn.active {
  transform: scale(1.22);
  border-color: #ffffff;
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
}

.equipped-slot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  animation: fadeInPop 0.2s ease-out;
}
.equipped-slot-pill strong {
  color: #0f172a;
}
.equipped-slot-pill .slot-remove-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  cursor: pointer;
  margin-left: 2px;
  transition: all 0.15s ease;
}
.equipped-slot-pill .slot-remove-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

@keyframes fadeInPop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ========================================================= */
/* KARAKTER SEÇİM KARTLARI ALTINDAKİ RENK PALETİ NOKTALARI   */
/* ========================================================= */
.character-card-palette {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 6px;
  padding: 3px 7px;
  background: #f1f5f9;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.character-choice-card:hover .character-card-palette {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.card-color-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
  outline: none;
  flex-shrink: 0;
}
.card-color-dot:hover {
  transform: scale(1.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 2;
}
.card-color-dot.active {
  transform: scale(1.4);
  outline: 2px solid #0284c7;
  outline-offset: 1px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
}
