/* ==========================================================================
   ERÖGK Portal - Erciyes Oyun Geliştirme Kulübü
   Sade, Modern & Responsive Tasarım Sistemi
   ========================================================================== */

:root {
  --bg-main: #0c0f17;
  --bg-card: #151a26;
  --bg-card-hover: #1c2333;
  --bg-elevated: #222b3d;
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: rgba(99, 102, 241, 0.15);
  --secondary: #a855f7;
  
  --accent: #ec4899;
  --accent-gold: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #7f8da3;
  
  --border-color: #263045;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.2s ease-in-out;
}

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

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

body.dark-theme {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ==================== NAVBAR ==================== */
.navbar {
  background-color: rgba(21, 26, 38, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.85rem 1.75rem;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.15rem;
  color: #fff;
}

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

/* ==================== ANA SEKME BUTONLARI (SADE, ÇERÇEVESİZ & KİBAR DÜZEN) ==================== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.nav-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0.5rem 0.2rem;
  border-radius: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  position: relative;
}

.nav-tab:hover {
  color: #ffffff;
  background: transparent;
  transform: none;
}

.nav-tab.active {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  transform: none;
  font-weight: 700;
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary);
}

.nav-tab i {
  font-size: 0.95rem;
}

.tab-lock-icon {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ==================== SAĞ PANEL: TOPLULUK, BİLDİRİM & KULÜP ÜYESİ AYARLARI ==================== */
.nav-user-panel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-social-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  font-size: 1.1rem;
}

.nav-social-icon-btn.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.3);
}

.nav-social-icon-btn.whatsapp:hover {
  background: #25D366;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.nav-social-icon-btn.instagram {
  background: rgba(225, 48, 108, 0.12);
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.3);
}

.nav-social-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.35);
}

.nav-social-icon-btn.youtube {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.nav-social-icon-btn.youtube:hover {
  background: #ef4444;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.nav-social-icon-btn.discord {
  background: rgba(88, 101, 242, 0.12);
  color: #5865F2;
  border-color: rgba(88, 101, 242, 0.3);
}

.nav-social-icon-btn.discord:hover {
  background: #5865F2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.35);
}

.nav-social-btn {
  display: none !important;
}

.role-selector-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.role-selector-box label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.role-selector-box select {
  background: var(--bg-elevated);
  border: none;
  color: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Kulüp Üyesi Profil / Ayarlar Butonu (En Sağ) */
.user-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.user-chip:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.user-avatar {
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 2px solid var(--primary);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.user-chip-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.user-chip-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

.user-chip-role {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* ==================== ANA KAPSAYICI ==================== */
.main-wrapper {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
}

.content-section {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

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

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

/* ==================== 1. DUYURULAR BÖLÜMÜ (HABER & BANNER) ==================== */
.official-banner-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.official-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.ann-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.announcements-showcase-box {
  background: linear-gradient(135deg, rgba(26, 32, 48, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.announcements-showcase-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08), transparent 70%);
  pointer-events: none;
}

.showcase-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.announcements-showcase-box h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.announcements-showcase-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.showcase-box-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.showcase-box-buttons .btn {
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.65rem 1.35rem !important;
  border-radius: var(--radius-sm) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  cursor: pointer !important;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

.showcase-box-buttons .btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4) !important;
}

.showcase-box-buttons .btn-primary:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #7577f5, #5b54ea) !important;
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.6) !important;
  color: #ffffff !important;
}

.showcase-box-buttons .btn-primary:active {
  transform: translateY(0) !important;
}

.showcase-box-buttons .btn-secondary {
  background: var(--bg-elevated) !important;
  color: #ffffff !important;
  border: 1px solid var(--border-color) !important;
}

.showcase-box-buttons .btn-secondary:hover {
  transform: translateY(-2px) !important;
  background: var(--bg-card-hover) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

.showcase-box-buttons .btn-secondary:active {
  transform: translateY(0) !important;
}

#showcaseWhatsappBtn,
#showcaseWhatsappBtn:hover,
#showcaseWhatsappBtn:focus,
#showcaseWhatsappBtn:active,
#showcaseWhatsappBtn:visited,
.btn-whatsapp,
.btn-whatsapp:hover,
.btn-whatsapp:focus,
.btn-whatsapp:active,
.btn-whatsapp:visited {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.65rem 1.35rem !important;
  border-radius: var(--radius-sm) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-underline-offset: unset !important;
  border-bottom: none !important;
  outline: none !important;
  line-height: 1.4 !important;
}

#showcaseWhatsappBtn i,
.btn-whatsapp i,
#showcaseWhatsappBtn span,
.btn-whatsapp span,
#showcaseWhatsappBtn *,
.btn-whatsapp * {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important;
}

#showcaseWhatsappBtn span,
.btn-whatsapp span {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

#showcaseWhatsappBtn:hover,
.btn-whatsapp:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #2ae770, #159e8e) !important;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important;
}

#showcaseWhatsappBtn:active,
.btn-whatsapp:active {
  transform: translateY(0) !important;
}

/* Ödev Teslim Kartı */
.homework-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  transition: var(--transition);
}

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

.homework-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.homework-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.homework-status-badge.submitted {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

.section-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 750px;
}

.announcements-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.announcement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.announcement-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.4);
}

.ann-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.tag-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: var(--bg-elevated);
  color: #cbd5e1;
}

.tag-badge.tournament { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.tag-badge.jam { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.tag-badge.course { background: rgba(99, 102, 241, 0.2); color: #c7d2fe; }
.tag-badge.workshop { background: rgba(245, 158, 11, 0.2); color: #fde68a; border: 1px solid rgba(245, 158, 11, 0.3); }
.tag-badge.general { background: rgba(56, 189, 248, 0.18); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.35); }

.ann-form-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 0.85rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  border: none;
}

.ann-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
  color: #fff;
}

/* Süresi geçmiş başvuru: tıklanamaz, soluk görünür */
.ann-form-btn.is-closed,
.ann-form-btn.is-closed:hover {
  background: rgba(148, 163, 184, 0.18);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.ann-deadline {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ann-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Öne çıkan duyuru vitrini (carousel) */
.ann-carousel {
  position: relative;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(15, 23, 42, 0.9));
}

.ann-carousel-track {
  display: grid;
}

.ann-carousel-slide {
  grid-area: 1 / 1;
  display: flex;
  gap: 1rem;
  align-items: stretch;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  color: inherit;
  font: inherit;
}

.ann-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.ann-carousel-img {
  width: 220px;
  max-height: 180px;
  object-fit: cover;
  flex: 0 0 auto;
}

.ann-carousel-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  min-width: 0;
}

.ann-carousel-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #a5b4fc;
}

.ann-carousel-body strong {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.35;
}

.ann-carousel-body small {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ann-carousel-dots {
  position: absolute;
  right: 0.9rem;
  bottom: 0.7rem;
  display: flex;
  gap: 0.4rem;
}

.ann-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.ann-carousel-dot.is-active {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

@media (max-width: 640px) {
  .ann-carousel-img { width: 110px; max-height: 140px; }
}

/* Carousel'den kart hedefine giderken kısa vurgu */
.announcement-card.ann-flash {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  transition: outline-color 0.3s ease;
}

.announcement-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.announcement-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==================== 2. EĞİTİMLER (LMS) ==================== */
.category-tabs-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.cat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.cat-pill:hover {
  background: var(--bg-elevated);
  color: #fff;
}

.cat-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* ==================== 2. EĞİTİMLER (UDEMY MODELİ KATALOG) ==================== */
.catalog-hero {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.catalog-hero h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.catalog-hero p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.course-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.catalog-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.catalog-card.is-locked {
  position: relative;
  border-color: rgba(255, 255, 255, 0.1);
  filter: grayscale(0.2);
}

.catalog-card.is-locked .catalog-thumb {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
  position: relative;
}

.course-lock-overlay-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.catalog-thumb {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, var(--bg-elevated), #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
}

.catalog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.catalog-card-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  flex: 1;
}

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

/* Oynatıcı Üst Barı & Can / Gamification Göstergesi */
.player-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.player-current-course-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

/* ==================== GAMIFICATION & MOTİVASYON SİSTEMİ ==================== */
.nav-gamify-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-gamify-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
}

.nav-gamify-pill.streak {
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.1);
  color: #fdba74;
}

.nav-gamify-pill.level {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
}

.nav-gamify-pill.team {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.1);
  color: #bae6fd;
}

.nav-gamify-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Oynatıcı Gamify HUD */
.gamify-hud-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.gamify-hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  user-select: none;
}

.gamify-hud-pill.streak {
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
}

.gamify-hud-pill.level {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
}

.gamify-hud-pill.team-score {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.gamify-hud-pill.mastery {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.12);
  color: #d8b4fe;
}

.gamify-hud-pill.streak.burning {
  border-color: rgba(249, 115, 22, 0.65);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(239, 68, 68, 0.18));
  color: #ffedd5;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.3);
}

.gamify-hud-pill.streak.burning .gamify-hud-icon {
  animation: flameFlicker 1.5s ease-in-out infinite;
  display: inline-block;
}

.gamify-hud-icon {
  font-size: 0.95rem;
}

/* Duolingo Tarzı Seri (Streak) Alev Animasyonu ve Rozetleri */
@keyframes flameFlicker {
  0% { transform: scale(1) rotate(-1deg); filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.7)); }
  50% { transform: scale(1.15) rotate(2deg); filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.95)); }
  100% { transform: scale(1) rotate(-1deg); filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.7)); }
}

.flame-burning-anim {
  animation: flameFlicker 1.5s ease-in-out infinite;
  display: inline-block;
  color: #f97316 !important;
}

.nav-streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 20px;
  color: #fdba74;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  user-select: none;
  cursor: pointer;
}

.nav-streak-badge:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(249, 115, 22, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.nav-streak-badge.burning {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(239, 68, 68, 0.2));
  border-color: rgba(249, 115, 22, 0.65);
  color: #ffedd5;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.3);
}

.nav-streak-badge.burning .streak-fire-icon {
  color: #f97316;
  animation: flameFlicker 1.5s ease-in-out infinite;
}

.nav-streak-badge .streak-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  margin-left: 2px;
}

/* ===== Rozetlerim (Steam tarzı) ===== */
.badges-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.badge-card { display: flex; gap: 0.9rem; padding: 1rem; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-color); transition: var(--transition); position: relative; overflow: hidden; }
.badge-card.earned { border-color: var(--badge-color, #6366f1); background: linear-gradient(135deg, color-mix(in srgb, var(--badge-color, #6366f1) 14%, transparent), var(--bg-card)); box-shadow: 0 0 14px color-mix(in srgb, var(--badge-color, #6366f1) 25%, transparent); }
.badge-card.locked { opacity: 0.55; filter: grayscale(0.8); }
.badge-card:hover { transform: translateY(-3px); }
.badge-medal { width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: rgba(255,255,255,0.06); border: 2px solid var(--badge-color, rgba(255,255,255,0.15)); }
.badge-card.earned .badge-medal { animation: badgeShine 3s ease-in-out infinite; }
@keyframes badgeShine { 0%,100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 14px var(--badge-color); } }
.badge-info { flex: 1; min-width: 0; }
.badge-title { font-weight: 800; font-size: 0.9rem; color: #fff; display: flex; gap: 0.4rem; align-items: center; }
.badge-course-name { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 1px; }
.badge-tier-name { font-size: 0.78rem; color: var(--badge-color, var(--text-muted)); font-weight: 700; margin: 2px 0 6px; }
.badge-pips { display: flex; gap: 4px; margin-bottom: 6px; }
.badge-pip { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.badge-progress { height: 5px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.badge-progress-fill { height: 100%; background: var(--badge-color, #6366f1); border-radius: 4px; transition: width 0.5s; }
.badge-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }
.badges-sub-title { margin: 1.4rem 0 0.7rem; font-size: 0.95rem; color: #fff; display: flex; gap: 0.5rem; align-items: center; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.7rem; }
.ach-chip { display: flex; align-items: center; gap: 0.65rem; padding: 0.65rem 0.85rem; border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border-color); }
.ach-chip.earned { border-color: rgba(245,158,11,0.5); background: rgba(245,158,11,0.08); }
.ach-chip.locked { opacity: 0.5; filter: grayscale(0.8); }
.ach-icon { font-size: 1.4rem; }
.ach-text { display: flex; flex-direction: column; line-height: 1.25; }
.ach-text strong { font-size: 0.82rem; color: #fff; }
.ach-text small { font-size: 0.7rem; color: var(--text-muted); }

/* ===== Seri açılır takvimi ===== */
.nav-streak-wrapper { position: relative; }
button.nav-streak-badge { font-family: inherit; }
.streak-dropdown { position: absolute; right: 0; top: calc(100% + 10px); width: 320px; background: var(--bg-card); border: 1px solid rgba(249,115,22,0.35); border-radius: var(--radius-md); box-shadow: 0 12px 32px rgba(0,0,0,0.5); z-index: 1000; overflow: hidden; }
.streak-dropdown-header { padding: 1rem; background: linear-gradient(135deg, rgba(249,115,22,0.25), rgba(239,68,68,0.15)); }
.streak-flame-big-box { display: flex; align-items: center; gap: 0.85rem; }
.streak-big-flame { font-size: 2.2rem; color: #f97316; animation: flameFlicker 1.5s ease-in-out infinite; }
.streak-flame-big-box h4 { margin: 0; color: #fff; font-size: 1.1rem; }
.streak-flame-big-box p { margin: 2px 0 0; font-size: 0.78rem; color: #fdba74; }
.streak-dropdown-body { padding: 1rem; }
.streak-week-title { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: 0.7rem; }
.streak-dropdown-hint { margin-top: 0.8rem; font-size: 0.74rem; color: var(--text-muted); }
.streak-dropdown-footer { padding: 0 1rem 1rem; }
.streak-days-row { display: flex; justify-content: space-between; gap: 0.4rem; }
.streak-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.7rem; color: var(--text-muted); }
.streak-day-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }
.streak-day.done .streak-day-dot { background: linear-gradient(135deg, #f97316, #ef4444); border-color: #f97316; color: #fff; box-shadow: 0 0 10px rgba(249,115,22,0.45); }
.streak-day.today .streak-day-dot { border: 2px dashed #f97316; }
.streak-day.today { color: #fdba74; font-weight: 700; }

/* ===== Yönetim: Proje şansı & öğrenci ayrıntıları ===== */
.proj-score { min-width: 90px; display: flex; flex-direction: column; gap: 4px; }
.proj-score strong { font-size: 0.95rem; }
.proj-score-bar { height: 5px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.proj-score-bar > div { height: 100%; border-radius: 4px; }
.student-detail-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(3px); }
.student-detail-modal { width: min(720px, 100%); max-height: 88vh; overflow-y: auto; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.sd-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; background: var(--bg-card); }
.sd-header h3 { margin: 0; color: #fff; }
.sd-header small { color: var(--text-muted); }
.sd-body { padding: 1.25rem; }
.sd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.7rem; margin-bottom: 1rem; }
.sd-stat { background: var(--bg-elevated); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 0.7rem; display: flex; flex-direction: column; gap: 3px; }
.sd-stat span { font-size: 0.72rem; color: var(--text-muted); }
.sd-stat strong { font-size: 1rem; color: #fff; }
.sd-title { margin: 1.1rem 0 0.6rem; color: #fff; font-size: 0.92rem; }
.sd-track { padding: 0.7rem 0.85rem; background: var(--bg-elevated); border-radius: var(--radius-sm); margin-bottom: 0.6rem; }
.sd-track-head { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 6px; color: #fff; }
.sd-track-head span { color: var(--text-muted); }
.sd-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.sd-badge { font-size: 0.74rem; padding: 3px 9px; border-radius: 14px; background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.35); color: #fde68a; }
.sd-badge.locked { opacity: 0.45; background: rgba(255,255,255,0.05); border-color: var(--border-color); color: var(--text-muted); }
.sd-nobadge { font-size: 0.74rem; color: var(--text-muted); }
.sd-foot { font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; }
.sd-empty { text-align: center; padding: 2rem 1rem; color: var(--text-muted); }
.sd-empty i { font-size: 2.2rem; margin-bottom: 0.7rem; display: block; }

.spec-hint-pill {
  font-size: 0.74rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

/* Katalog Çift Bölüm & Filtre Çipleri */
.catalog-section {
  margin-bottom: 2.25rem;
}

.catalog-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.catalog-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.catalog-section-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.course-filter-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.42rem 0.95rem;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover {
  background: var(--bg-elevated);
  color: #fff;
  border-color: var(--primary);
}

.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 3px 10px rgba(99, 102, 241, 0.35);
}

/* Yeni Ders Eklendi Etiketi (Motivasyonel & Pozitif) */
.badge-new-lessons {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.2); }
  50% { box-shadow: 0 0 10px 2px rgba(56, 189, 248, 0.4); }
}

.hearts-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-elevated);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

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

.hearts-icons {
  font-size: 1rem;
  letter-spacing: 2px;
}

/* SQL Tablosu & Veri Arayüzü */
.sql-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.sql-data-table th {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.sql-data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sql-data-table tr:hover td {
  background: var(--bg-card-hover);
}

/* Bekleyen Üye İstekleri & Öğrenci Masası Ergonomisi */
.students-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.students-table th {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.students-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
  word-break: break-word;
}

.students-table tr:hover td {
  background: var(--bg-card-hover);
}

.pending-name-cell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 140px;
}

.pending-name-cell strong {
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
}

/* Bireysel Can Dondurma Butonu (Buz Simgesi) */
.btn-student-freeze {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-student-freeze:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.btn-student-freeze.frozen {
  background: #38bdf8;
  color: #0b1120;
  border-color: #38bdf8;
  font-weight: 700;
}

.track-hearts-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.track-heart-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.track-heart-row .track-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  min-width: 70px;
}

/* Ayarlar Çoklu Seçim Kartları */
.track-enroll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.enroll-card {
  background: var(--bg-elevated);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  user-select: none;
}

.enroll-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.4);
}

.enroll-card.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.12);
}

.enroll-card-icon {
  font-size: 1.5rem;
  color: var(--primary);
  width: 36px;
  text-align: center;
}

.enroll-card-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.enroll-card-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.enroll-card-check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  background: var(--bg-card);
}

.enroll-card.selected .enroll-card-check {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Oynatıcı & Müfredat Masaüstü Çalışma Alanı (2 Sütunlu Ergonomik Düzen) */
.course-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 380px;
  gap: 1.5rem;
  align-items: start;
  margin-top: 0.5rem;
}

@media (max-width: 1024px) {
  .course-workspace {
    grid-template-columns: 1fr;
  }
}

.video-viewer-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.video-embed-box {
  width: 100%;
  max-width: 820px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
}

.video-embed-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.lesson-meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.lesson-meta-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.track-tag {
  background: var(--primary-light);
  color: #a5b4fc;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.order-tag {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.unlock-tag {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lesson-meta-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.lesson-meta-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* Sağ Playlist & Müfredat */
.curriculum-column {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.curriculum-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.progress-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.lessons-playlist {
  max-height: 550px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: var(--transition);
}

.playlist-item:hover {
  background: var(--bg-card-hover);
}

.playlist-item.active {
  background: rgba(99, 102, 241, 0.15);
  border-left: 4px solid var(--primary);
}

.playlist-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  width: 24px;
}

.playlist-meta {
  flex: 1;
}

.playlist-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.playlist-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.75rem;
}

.status-check {
  color: var(--success);
  font-size: 1rem;
}

/* ==================== 3. YÖNETİM PANELİ ==================== */
.admin-dashboard-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.badge-status-lead {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.admin-subtab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  line-height: 1.2;
}

.admin-subtab-btn i {
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
}

.admin-subtab-btn.active {
  background: var(--bg-elevated);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.25);
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

.admin-grid-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.admin-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.card-header-flex select {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

/* Form Elemanları */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

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

.form-help {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.35rem;
}

/* Butonlar */
.btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }

.btn-secondary { background: var(--bg-elevated); color: #fff; border: 1px solid var(--border-color); }
.btn-secondary:hover { background: var(--bg-card-hover); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-block { width: 100%; }

/* Tamamlanan Ders Yeşil Buton Efekti (Kullanıcı Talebi) */
.btn-completed-green {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #10b981 !important;
  border: 1px solid #10b981 !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35) !important;
  font-weight: 700 !important;
}

.btn-completed-green:hover {
  background: rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.5) !important;
}

/* ==================== UDEMY MODELİ KURS DETAY / MÜFREDAT ÖNİZLEME SAYFASI ==================== */
.course-detail-hero {
  background: linear-gradient(135deg, rgba(26, 32, 48, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.course-detail-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 70%);
  pointer-events: none;
}

.course-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 960px) {
  .course-detail-layout {
    grid-template-columns: 1fr;
  }
}

.course-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.course-syllabus-item {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.course-syllabus-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

/* Admin Video Sıralama & Düzenleme Satırları */
.admin-lessons-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-lesson-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  gap: 1rem;
}

.admin-lesson-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}

.order-badge-pill {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.admin-lesson-actions {
  display: flex;
  gap: 0.35rem;
}

.icon-btn-ctrl {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-btn-ctrl:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.icon-btn-ctrl.delete:hover {
  background: var(--danger);
  border-color: var(--danger);
}

/* ==================== AUTH GATE (YETKİ KONTROL KARTI) ==================== */
.auth-gate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 3rem auto;
}

.gate-icon {
  width: 70px;
  height: 70px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.gate-icon.danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.auth-gate-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.auth-gate-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Toast Bildirim */
.toast-box {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  font-weight: 600;
  font-size: 0.9rem;
}

.playlist-item.locked {
  opacity: 0.65;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.playlist-item.locked:hover {
  background: rgba(239, 68, 68, 0.08);
}

.status-lock {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

/* ==================== 4. AYARLAR & PROFİL SAYFASI ==================== */
.settings-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

.settings-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-summary-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
}

.profile-big-avatar {
  width: 80px;
  height: 80px;
  background: var(--bg-elevated);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1rem auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.profile-summary-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.settings-nav-list {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.settings-nav-btn {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.25rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.settings-nav-btn:hover {
  background: var(--bg-elevated);
  color: #fff;
}

.settings-nav-btn.active {
  background: var(--bg-elevated);
  color: #fff;
  border-left: 4px solid var(--primary);
}

.settings-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.settings-pane {
  display: none;
}

.settings-pane.active {
  display: block;
}

.settings-pane h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.preference-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Çoklu Eğitim Seçim Kutuları */
.checkbox-group-box {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg-elevated);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-top: 0.35rem;
}

.checkbox-custom-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text-primary);
  user-select: none;
}

.checkbox-custom-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Modern iOS / Dashboard Tarzı Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  transition: .3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #94a3b8;
  transition: .3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary);
  border-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background-color: #fff;
}

/* Avatar Seçici Izgara */
.avatar-select-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.avatar-opt {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.avatar-opt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-opt:hover {
  border-color: var(--primary);
  transform: scale(1.08);
}

.avatar-opt.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.2);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.settings-nav-btn.danger-tab:hover {
  color: var(--danger);
  border-left-color: var(--danger);
}

/* ==================== DUYURU AFİŞ KARTI & MEDYA ==================== */
.announcement-card.has-poster {
  padding-top: 0;
  overflow: hidden;
}

.ann-poster-container {
  margin: 0 -1.5rem 1rem -1.5rem;
  position: relative;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.ann-poster-img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.ann-poster-img:hover {
  transform: scale(1.02);
}

.ann-poster-container.cover-medium .ann-poster-img {
  height: 200px;
  object-fit: cover;
}

.ann-poster-container.cover-large .ann-poster-img {
  max-height: 380px;
  object-fit: cover;
}

.ann-poster-container.contain .ann-poster-img {
  max-height: 280px;
  object-fit: contain;
}

.ann-poster-zoom-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* ==================== MODAL & LIGHTBOX SİSTEMİ ==================== */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.custom-modal-dialog {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 90%;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 1;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

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

.custom-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn,
.lightbox-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover,
.lightbox-close-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-dialog img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 1.6rem;
  color: #fff;
}

.lightbox-caption {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
}

/* ==================== MOBİL, TABLET & RESPONSIVE UYUM ==================== */
@media (max-width: 1024px) {
  .main-wrapper {
    padding: 1.25rem 1rem;
  }
  .course-workspace {
    grid-template-columns: 1fr;
  }
  .admin-grid-layout {
    grid-template-columns: 1fr;
  }
  .settings-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .nav-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
  }
  .nav-brand {
    justify-content: center;
  }
  .nav-links {
    justify-content: center;
    overflow-x: auto;
    width: 100%;
    padding: 0.35rem 0.5rem;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-tab {
    padding: 0.55rem 1rem;
    font-size: 0.86rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-user-panel {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .nav-social-group {
    flex-wrap: wrap;
  }
  .announcements-showcase-box {
    padding: 1.25rem;
  }
  .announcements-showcase-box h1 {
    font-size: 1.35rem;
  }
  .announcements-grid {
    grid-template-columns: 1fr;
  }
  .track-enroll-grid {
    grid-template-columns: 1fr !important;
  }
  .course-catalog-grid {
    grid-template-columns: 1fr !important;
  }
  .table-responsive-box {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sql-data-table {
    min-width: 650px;
  }
  .freeze-action-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sınav & Tatil Can Dondurma Aksiyon Bannerı */
.freeze-action-banner {
  transition: var(--transition);
}

.freeze-action-banner:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

/* ==================== KULÜP GİRİŞ & KAYIT KAPISI (AUTH GATE) ==================== */
.auth-gate-wrapper {
  max-width: 640px;
  margin: 1.5rem auto 3rem auto;
}

.auth-gate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.auth-gate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-gold));
}

.auth-gate-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-gate-icon-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  border: 2px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 0 auto 1rem auto;
}

.auth-gate-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.auth-gate-header p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.auth-nav-tabs {
  display: flex;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 1.75rem;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.auth-tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.auth-pane {
  display: none;
}

.auth-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

.auth-demo-box {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
  text-align: center;
}

.auth-demo-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.auth-demo-chips {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.demo-chip-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.demo-chip-btn:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(99, 102, 241, 0.15);
}

/* ==================== BAŞVURU & ONAY BİLGİLENDİRME KARTLARI ==================== */
.auth-notice-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  animation: fadeIn 0.3s ease;
}

.auth-notice-box .notice-icon {
  font-size: 1.4rem;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.auth-notice-box .notice-content h4 {
  color: #fbbf24;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.auth-notice-box .notice-content p {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.auth-notice-info {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.auth-notice-info i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}


/* ==================== KURS LOGO & BANNER İKON SEÇİCİ ==================== */
.course-icon-grid {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.course-icon-opt {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.course-icon-opt:hover {
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.course-icon-opt.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

/* ==================== YÖNETİM BRANŞ & KURS KARTLARI ==================== */
.admin-courses-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-course-row {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  transition: var(--transition);
}

.admin-course-row:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.admin-course-row.is-passive {
  opacity: 0.65;
  background: rgba(21, 26, 38, 0.5);
  border-style: dashed;
}

.admin-course-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 250px;
}

.admin-course-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.admin-course-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.admin-course-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.admin-course-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.status-badge-pill {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-badge-pill.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge-pill.passive {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Üste Sabitli Kayıtlı Kurs Kartı (Sade Görünüm) */
.catalog-card.is-pinned-card {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.18);
  position: relative;
}

.gamify-profile-card {
  transition: var(--transition);
}

.gamify-profile-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
}

/* ==================== BİLDİRİM MERKEZİ (NOTIFICATIONS) ==================== */
.nav-notif-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-notif-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  font-size: 1.1rem;
}

.nav-notif-btn:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--bg-elevated);
}

.nav-notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 9px;
  text-align: center;
  padding: 0 4px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  animation: pulseBadge 2s infinite;
}

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

.nav-notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  max-width: 90vw;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  z-index: 1100;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.notif-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-elevated);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.btn-link-xs {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-link-xs:hover {
  color: #fff;
  text-decoration: underline;
}

.notif-dropdown-list {
  max-height: 380px;
  overflow-y: auto;
}

.notif-item {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

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

.notif-item.unread {
  background: rgba(99, 102, 241, 0.12);
  border-left: 3px solid var(--primary);
}

.notif-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.notif-item-body {
  flex: 1;
}

.notif-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.notif-item-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.notif-item-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==================== ETKİNLİK & TOPLANTI VİTRİNİ ==================== */
.events-meetings-hub-section {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .events-meetings-hub-section {
    grid-template-columns: 1fr;
  }
}

.em-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.em-hub-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.em-hub-card-header h3 {
  font-size: 1.05rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.em-item {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.em-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.em-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.em-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.em-item-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.em-file-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--primary);
  margin-top: 0.5rem;
  text-decoration: none;
  font-weight: 600;
}

.em-file-link:hover {
  text-decoration: underline;
  color: #fff;
}

/* ==================== GÖREV & TRELLO MODÜLÜ ==================== */
.tasks-board-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tasks-mode-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.trello-highlight-card {
  background: linear-gradient(135deg, rgba(0, 121, 191, 0.15) 0%, rgba(21, 26, 38, 0.9) 100%);
  border: 1px solid rgba(0, 121, 191, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.trello-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #0079bf;
}

.trello-actions-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  align-items: center;
}

.btn-trello {
  background: #0079bf;
  color: #fff;
  border: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-trello:hover {
  background: #026aa7;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 121, 191, 0.4);
}

.trello-embed-frame {
  width: 100%;
  height: 600px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #fff;
  margin-top: 1rem;
}

/* Dahili Görev Paneli */
.internal-tasks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .internal-tasks-grid {
    grid-template-columns: 1fr;
  }
}

.task-column {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.task-column-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.task-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.task-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.task-card.is-done {
  opacity: 0.6;
  border-color: rgba(16, 185, 129, 0.3);
}

.task-card.is-done .task-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.task-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.task-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.task-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.task-chip {
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  font-weight: 600;
}

.task-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-help-req {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-help-req:hover {
  background: var(--accent-gold);
  color: #000;
}

.btn-help-offer {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-help-offer:hover {
  background: var(--success);
  color: #fff;
}

/* Kişisel görev panosu (mini Kanban) */
.task-board-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.85rem;
  flex-wrap: wrap;
}

.task-board-head h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.my-tasks-kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

@media (max-width: 980px) {
  .my-tasks-kanban {
    grid-template-columns: 1fr;
  }
}

.task-card.status-todo {
  border-left: 3px solid var(--primary);
}

.task-card.status-doing {
  border-left: 3px solid var(--accent-gold);
}

.task-card.status-done {
  border-left: 3px solid var(--success);
}

.task-status-pill {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.task-status-pill.todo {
  background: rgba(99, 102, 241, 0.18);
  color: var(--primary);
}

.task-status-pill.doing {
  background: rgba(245, 158, 11, 0.18);
  color: var(--accent-gold);
}

.task-status-pill.done {
  background: rgba(16, 185, 129, 0.18);
  color: var(--success);
}

.btn-task-status {
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-task-status.start {
  background: rgba(99, 102, 241, 0.16);
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.35);
}

.btn-task-status.start:hover {
  background: var(--primary);
  color: #fff;
}

.btn-task-status.complete {
  background: rgba(16, 185, 129, 0.16);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.35);
}

.btn-task-status.complete:hover {
  background: var(--success);
  color: #fff;
}

.btn-task-status.reopen {
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-secondary);
  border-color: rgba(148, 163, 184, 0.3);
}

.btn-task-status.reopen:hover {
  background: var(--text-secondary);
  color: #0b0f19;
}

.task-empty {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  margin: 0;
}

.task-card-compact {
  padding: 0.75rem;
}

/* ==================== DERS: HEDEFLER & PDF DOKÜMANI ==================== */
.lesson-objectives-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-top: 1rem;
}

.lesson-objectives-card h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lesson-objectives-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.lesson-objectives-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.lesson-objectives-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16);
  color: var(--success);
  font-size: 0.65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lesson-pdf-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid #ef4444;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.lesson-pdf-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.lesson-pdf-info {
  flex: 1 1 220px;
  min-width: 0;
}

.lesson-pdf-info h3 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.15rem;
  overflow-wrap: anywhere;
}

.lesson-pdf-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.lesson-pdf-fieldset {
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin: 1rem 0;
}

.lesson-pdf-fieldset legend {
  padding: 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.lesson-pdf-current {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--success);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  margin-right: 6px;
  white-space: nowrap;
}

/* Kısım (modül) bazlı ilerleme */
.module-progress-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.module-progress-panel h4 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #fff;
  margin: 0 0 0.75rem;
}

.module-progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(80px, 1fr) 46px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
}

.module-progress-row + .module-progress-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.module-progress-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.module-progress-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-progress-row.is-done .module-progress-name {
  color: var(--success);
}

.module-progress-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.module-progress-bar > span {
  display: block;
  height: 100%;
  border-radius: 10px;
  background: var(--primary);
  transition: width 0.4s ease;
}

.module-progress-row.is-done .module-progress-bar > span {
  background: var(--success);
}

.module-progress-pct {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
}

.module-progress-row.is-done .module-progress-pct {
  color: var(--success);
}

.module-progress-note {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Kilitli ders: "İzle" + kilit ikonu */
.syllabus-locked-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.75;
  cursor: not-allowed;
}

.syllabus-locked-action .fa-lock {
  color: var(--accent-gold);
  font-size: 0.78rem;
}

@media (max-width: 520px) {
  .module-progress-row {
    grid-template-columns: minmax(0, 1fr) 46px;
  }
  .module-progress-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ==================== ONAY BEKLEYEN ÜYELER TABLOSU ==================== */
.badge-pending-count {
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 4px;
}

.btn-approve {
  background: var(--success);
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-approve:hover {
  background: #059669;
}

.btn-reject {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-reject:hover {
  background: var(--danger);
  color: #fff;
}

/* ==================== SES & MÜZİK BİRİMİ KAYNAK KİTİ (YİĞİT KAAN) ==================== */
.audio-kit-container {
  background: linear-gradient(135deg, rgba(15, 32, 39, 0.95) 0%, rgba(32, 58, 67, 0.95) 50%, rgba(44, 83, 100, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin-top: 1.25rem;
  position: relative;
  overflow: hidden;
}

.audio-kit-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #f59e0b, #ec4899, #6366f1);
}

.audio-kit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.audio-kit-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-kit-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #047857);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.audio-kit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.audio-kit-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.2px;
}

.audio-kit-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0.2rem 0 0 0;
}

.btn-audio-mentor {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-audio-mentor:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.audio-kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.audio-kit-tile {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-blur: 4px;
}

.audio-kit-tile:hover {
  transform: translateY(-3px);
  background: rgba(30, 41, 59, 0.85);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.4);
}

.audio-kit-tile.tile-orange { border-left: 3px solid #f97316; }
.audio-kit-tile.tile-orange:hover { border-color: #f97316; }
.audio-kit-tile.tile-orange .audio-kit-icon { background: rgba(249, 115, 22, 0.15); color: #fb923c; }

.audio-kit-tile.tile-emerald { border-left: 3px solid #10b981; }
.audio-kit-tile.tile-emerald:hover { border-color: #10b981; }
.audio-kit-tile.tile-emerald .audio-kit-icon { background: rgba(16, 185, 129, 0.15); color: #34d399; }

.audio-kit-tile.tile-purple { border-left: 3px solid #a855f7; }
.audio-kit-tile.tile-purple:hover { border-color: #a855f7; }
.audio-kit-tile.tile-purple .audio-kit-icon { background: rgba(168, 85, 247, 0.15); color: #c084fc; }

.audio-kit-tile.tile-rose { border-left: 3px solid #f43f5e; }
.audio-kit-tile.tile-rose:hover { border-color: #f43f5e; }
.audio-kit-tile.tile-rose .audio-kit-icon { background: rgba(244, 63, 94, 0.15); color: #fb7185; }

.audio-kit-tile.tile-blue { border-left: 3px solid #38bdf8; }
.audio-kit-tile.tile-blue:hover { border-color: #38bdf8; }
.audio-kit-tile.tile-blue .audio-kit-icon { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }

.audio-kit-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

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

.audio-kit-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-kit-info span {
  font-size: 0.72rem;
  color: #94a3b8;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.tile-arrow {
  font-size: 0.72rem;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.audio-kit-tile:hover .tile-arrow {
  color: #fff;
  transform: translateX(2px) translateY(-2px);
}

/* ==================== ARTI ÖZELLİKLER & MODÜL YÖNETİMİ ==================== */
.features-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .features-grid-layout {
    grid-template-columns: 1fr;
  }
}

.feature-flag-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.feature-flag-item:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

.feature-flag-info {
  flex: 1;
}

.feature-flag-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  flex-wrap: wrap;
}

.feature-flag-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.35;
}

.club-idea-card {
  background: var(--bg-elevated);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.club-idea-card:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.06);
  transform: translateY(-2px);
}

#draftHeartModuleSettingsBox.disabled-draft {
  opacity: 0.65;
  filter: grayscale(0.2);
  transition: all 0.3s ease;
}

/* ==================== UDEMY TARZI ÇALIŞMA ALANI & VİDEO BOYUTLANDIRMASI ==================== */
.course-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 380px;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .course-workspace {
    grid-template-columns: 1fr;
  }
}

/* Masaüstünde video oynatıcısının devasa olmasını engelleyen ergonomik boyutlandırma */
.video-viewer-column {
  width: 100%;
}

.video-embed-box {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

.video-embed-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* "Dersi Tamamla" butonunun yeşil renk stili */
.btn-completed-green {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #10b981 !important;
  border: 1px solid #10b981 !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35) !important;
  font-weight: 700 !important;
}

.btn-completed-green:hover {
  background: rgba(16, 185, 129, 0.28) !important;
  color: #34d399 !important;
}

/* Aktif Et / Pasif Et Butonları */
.btn-active-status {
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid transparent;
}

.btn-active-status.is-active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.4);
}

.btn-active-status.is-active:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.btn-active-status.is-inactive {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.35);
}

.btn-active-status.is-inactive:hover {
  background: var(--primary);
  color: #fff;
}

/* UDEMY KURS DETAY SAYFASI STİLLERİ */
.course-detail-hero {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.08));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.course-detail-hero-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.2);
  border: 2px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: #fff;
  flex-shrink: 0;
}

.course-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 340px;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .course-detail-hero {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .course-detail-layout {
    grid-template-columns: 1fr;
  }
}

.course-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.course-syllabus-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.course-syllabus-item:last-child {
  border-bottom: none;
}

.course-syllabus-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ==================== MİSAFİR KULLANICI KİLİTLİ EĞİTİM KARTI ==================== */
.catalog-card.is-locked {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.08);
  position: relative;
}

.catalog-card.is-locked .catalog-thumb {
  position: relative;
  filter: grayscale(15%);
}

.course-lock-overlay-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.88);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.auth-tab-btn#authTabBtnAdmin.active {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}

/* ==================== PORTAL GÜVENLİK KİLİDİ (PORTAL LOCKED) ==================== */
/* Eğitimler ve Duyurular tüm kullanıcılara açıktır; nav-links daima görünür kalır */
body.portal-locked .nav-notif-wrapper {
  display: none !important;
}

body.portal-locked .nav-user-chip {
  display: none !important;
}

body.portal-locked #navGuestAuthBtn {
  display: inline-flex !important;
}

body.portal-locked .main-wrapper {
  padding-top: 1.5rem;
}

