/**
 * Kodla Türkiye - Yönetim Paneli Şablonu (style.css)
 * Referans Ekran Görüntülerine Birebir Uygun Düzen & Stiller
 */

/* ==========================================================================
   1. GENEL LAYOUT & ARKA PLAN
   ========================================================================== */

body {
  margin: 0;
  padding: 0;
  background-color: var(--kt-bg-body, #07111d);
  color: var(--kt-text-primary, #e2e8f0);
  font-family: var(--kt-font-sans, 'Inter', sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Ana Sayfa Kapsayıcısı */
#kt-panel-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   2. ÜST BAR (NAVBAR)
   ========================================================================== */

.kt-topbar {
  height: 72px;
  background-color: var(--kt-bg-body, #07111d);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.kt-topbar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 6px 14px 6px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kt-topbar-brand:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(55, 190, 215, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(55, 190, 215, 0.15);
  transform: translateY(-1px);
}

/* Logo Taşıyıcı Kutu */
.kt-brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kt-topbar-brand:hover .kt-brand-logo-wrap {
  border-color: rgba(55, 190, 215, 0.5);
  box-shadow: 0 0 14px rgba(55, 190, 215, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.kt-topbar-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* İnce Dikey Gradyan Ayırıcı */
.kt-brand-divider {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, rgba(55, 190, 215, 0.7) 0%, rgba(236, 82, 81, 0.6) 100%);
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.kt-topbar-brand:hover .kt-brand-divider {
  opacity: 1;
  box-shadow: 0 0 12px rgba(55, 190, 215, 0.8);
}

/* Başlık ve Metin Grubu */
.kt-brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kt-brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}

.kt-brand-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.kt-topbar-brand:hover .kt-brand-title {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.4);
}

/* Canlı Durum Rozeti (Pulsing Dot) */
.kt-brand-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 2.5px 9px;
  border-radius: 12px;
  text-transform: uppercase;
}

.kt-status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  position: relative;
}

.kt-status-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.5);
  animation: ktPulseLive 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes ktPulseLive {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Alt Slogan / Kapsam Metni */
.kt-brand-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.03em;
  margin-top: 2px;
  transition: color 0.2s ease;
}

.kt-topbar-brand:hover .kt-brand-subtitle {
  color: #cbd5e1;
}

.kt-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  padding: 4px 8px;
  border-radius: 30px;
  transition: background 0.2s ease;
}

.kt-topbar-user:hover {
  background: rgba(255, 255, 255, 0.05);
}

.kt-user-avatar-circle {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--kt-primary, #ec5251), #ff7b7b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.825rem;
  box-shadow: 0 2px 8px var(--kt-primary-glow, rgba(236, 82, 81, 0.3));
}

.kt-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kt-user-name i {
  font-size: 0.7rem;
  color: var(--kt-text-muted, #64748b);
  transition: transform 0.2s ease;
}

.kt-user-dropdown-menu {
  background: rgba(11, 20, 32, 0.96) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
  padding: 8px;
  min-width: 200px;
  margin-top: 8px !important;
}

.kt-user-dropdown-menu .dropdown-item {
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.kt-user-dropdown-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

/* ==========================================================================
   3. YATAY NAVİGASYON ŞERİDİ (KAPELLA STYLE HORIZONTAL NAVBAR)
   ========================================================================== */

.kt-horizontal-nav {
  background-color: #0b1726;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: sticky;
  top: 72px;
  z-index: 1015;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.kt-horizontal-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.kt-horizontal-nav-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow: visible;
}

.kt-horizontal-nav-list::-webkit-scrollbar {
  display: none;
}

.kt-hnav-item {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

/* Navigasyon Buton Bağlantısı (İkon Üstte, Metin Altta) */
.kt-hnav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 22px 12px 22px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 500;
  gap: 5px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  user-select: none;
  border-radius: 6px 6px 0 0;
}

.kt-hnav-icon {
  font-size: 1.25rem;
  line-height: 1;
  color: #64748b;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.kt-hnav-text {
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hover Etkileşimi */
.kt-hnav-link:hover {
  color: var(--kt-secondary, #37bed7);
  background: rgba(255, 255, 255, 0.03);
}

.kt-hnav-link:hover .kt-hnav-icon {
  transform: translateY(-2px) scale(1.08);
  color: var(--kt-secondary, #37bed7);
}

.kt-hnav-settings-btn:hover .kt-icon-gear {
  transform: translateY(-2px) scale(1.08) rotate(45deg);
}

/* Aktif Sekme Durumu (Kapella Stili Alt Çizgili Parlama) */
.kt-hnav-link.active {
  color: #ffffff;
  font-weight: 600;
}

.kt-hnav-link.active .kt-hnav-icon {
  color: var(--kt-secondary, #37bed7);
  transform: translateY(-1px);
}

.kt-hnav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: linear-gradient(90deg, var(--kt-secondary, #37bed7), #5eead4);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 12px rgba(55, 190, 215, 0.85);
  animation: ktActiveBarSlide 0.25s ease-out;
}

@keyframes ktActiveBarSlide {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

/* "Yeni İçerik" Özel Vurgu */
.kt-hnav-btn-highlight .kt-icon-accent {
  color: #fbbf24 !important;
}

.kt-hnav-btn-highlight:hover .kt-icon-accent {
  transform: scale(1.2) rotate(90deg);
}

/* Modüller Dropdown Oku */
.kt-dropdown-chevron {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.kt-dropdown-trigger.open .kt-dropdown-chevron {
  transform: rotate(180deg);
}

/* ==========================================================================
   EFEKTLİ AÇILIR ALT MENÜLER (CAM & IŞIMA TABANLI DROPDOWN PANELİ)
   ========================================================================== */

.kt-nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 320px;
  max-width: min(340px, calc(100vw - 32px));
  background: rgba(10, 20, 34, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(55, 190, 215, 0.28);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(55, 190, 215, 0.12);
  padding: 14px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
}

.kt-mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(14px) scale(0.96);
  width: 640px;
  max-width: min(640px, calc(100vw - 32px));
  background: rgba(10, 20, 34, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(55, 190, 215, 0.28);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(55, 190, 215, 0.12);
  padding: 16px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.24s;
}

/* Görünmez Köprü (Navbar ile Dropdown arası boşlukta fare çıkışını önler) */
.kt-nav-dropdown::before,
.kt-mega-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

/* Açılma Durumu */
.kt-dropdown-trigger.open .kt-nav-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(4px) !important;
}

/* Ayarlar Menüsü Sağ Konumlandırma (Sağ kenardan taşmayı önler) */
#kt-dropdown-panel-settings {
  left: auto;
  right: 0;
  transform: translateY(-6px);
}

.kt-dropdown-trigger.open #kt-dropdown-panel-settings {
  transform: translateY(4px) !important;
}

.kt-dropdown-trigger.open .kt-mega-dropdown,
.kt-nav-dropdown.show,
.kt-mega-dropdown.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.kt-nav-dropdown-header,
.kt-mega-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 12px 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kt-nav-dropdown-title,
.kt-mega-dropdown-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--kt-secondary, #37bed7);
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.kt-nav-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kt-badge-neon {
  background: rgba(55, 190, 215, 0.15);
  color: #37bed7;
  border: 1px solid rgba(55, 190, 215, 0.35);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 4px 10px;
}

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

/* Alt Menü Kartı */
.kt-dropdown-item-card,
.kt-module-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.kt-dropdown-item-card::before,
.kt-module-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.kt-dropdown-item-card:hover,
.kt-module-card:hover {
  background: rgba(55, 190, 215, 0.08);
  border-color: rgba(55, 190, 215, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.kt-dropdown-item-card:hover::before,
.kt-module-card:hover::before {
  background: var(--kt-secondary, #37bed7);
  box-shadow: 0 0 10px var(--kt-secondary, #37bed7);
}

.kt-dropdown-item-card.active {
  background: rgba(55, 190, 215, 0.12);
  border-color: rgba(55, 190, 215, 0.45);
}

.kt-dropdown-item-card.active::before {
  background: var(--kt-secondary, #37bed7);
  box-shadow: 0 0 10px var(--kt-secondary, #37bed7);
}

.kt-dropdown-item-card.active .kt-dropdown-title {
  color: #ffffff;
  font-weight: 700;
}

/* Modül İkon Kutucuğu */
.kt-dropdown-icon,
.kt-module-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kt-dropdown-item-card:hover .kt-dropdown-icon,
.kt-module-card:hover .kt-module-icon-wrap {
  transform: scale(1.1);
}

.kt-dropdown-icon.icon-amber,
.kt-module-icon-wrap.icon-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.kt-dropdown-icon.icon-emerald,
.kt-module-icon-wrap.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.kt-dropdown-icon.icon-cyan,
.kt-module-icon-wrap.icon-cyan {
  background: rgba(55, 190, 215, 0.15);
  color: #37bed7;
  border: 1px solid rgba(55, 190, 215, 0.3);
}

.kt-dropdown-icon.icon-purple,
.kt-module-icon-wrap.icon-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.kt-dropdown-icon.icon-blue,
.kt-module-icon-wrap.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.kt-dropdown-icon.icon-red,
.kt-module-icon-wrap.icon-red {
  background: rgba(236, 82, 81, 0.15);
  color: #f87171;
  border: 1px solid rgba(236, 82, 81, 0.3);
}

/* Modül & Alt Menü Bilgi Metinleri */
.kt-dropdown-info,
.kt-module-info {
  flex: 1;
  min-width: 0;
}

.kt-dropdown-title,
.kt-module-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
}

.kt-dropdown-desc,
.kt-module-desc {
  font-size: 0.74rem;
  color: #94a3b8;
  margin: 3px 0 0 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kt-dropdown-badge,
.kt-module-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
}

.kt-dropdown-badge.badge-amber,
.kt-module-badge.badge-amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.kt-dropdown-badge.badge-emerald,
.kt-module-badge.badge-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.kt-dropdown-badge.badge-cyan,
.kt-module-badge.badge-cyan {
  background: rgba(55, 190, 215, 0.2);
  color: #37bed7;
}

.kt-dropdown-badge.badge-purple,
.kt-module-badge.badge-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.kt-dropdown-badge.badge-blue,
.kt-module-badge.badge-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.kt-dropdown-badge.badge-red,
.kt-module-badge.badge-red {
  background: rgba(236, 82, 81, 0.2);
  color: #f87171;
}

.kt-module-badge.badge-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.kt-module-badge.badge-red {
  background: rgba(236, 82, 81, 0.2);
  color: #f87171;
}

/* ==========================================================================
   4. PANEL GÖVDE & TAM EKRAN İÇERİK ALANI
   ========================================================================== */

.kt-panel-wrapper {
  display: flex;
  flex: 1;
  width: 100%;
}

.kt-main-content {
  flex: 1;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 32px;
  background-color: var(--kt-bg-body, #07111d);
  min-height: calc(100vh - 130px);
}

.kt-view-container {
  display: none;
}

.kt-view-container.active {
  display: block;
  animation: ktViewFadeIn 0.2s ease-out;
}

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

/* ==========================================================================
   4. SAYFA ÜST BAŞLIK & GEÇİŞ ŞERİDİ (PAGE HEADER & BREADCRUMBS)
   ========================================================================== */

.kt-page-header {
  position: relative;
  margin-bottom: 28px;
  padding: 20px 24px 22px 24px;
  background: linear-gradient(180deg, rgba(14, 26, 45, 0.65) 0%, rgba(9, 19, 34, 0.25) 100%);
  border: 1px solid rgba(55, 190, 215, 0.14);
  border-radius: 16px;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

/* Header Sağ Üst Arka Plan Ambient Glow */
.kt-page-header::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 260px;
  height: 180px;
  background: radial-gradient(circle, rgba(55, 190, 215, 0.14) 0%, rgba(236, 82, 81, 0.05) 50%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

/* Header Altındaki Zarif Geçiş Çizgisi (Neon Gradyan Bar) */
.kt-page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--kt-secondary, #37bed7) 0%, 
    rgba(55, 190, 215, 0.5) 35%, 
    rgba(236, 82, 81, 0.3) 70%, 
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(55, 190, 215, 0.4);
}

/* Breadcrumb Kapsayıcısı */
.kt-breadcrumb-nav {
  margin-bottom: 14px !important;
}

.kt-breadcrumb-nav .breadcrumb {
  background: rgba(6, 14, 24, 0.7);
  border: 1px solid rgba(55, 190, 215, 0.18);
  border-radius: 20px;
  padding: 5px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.kt-breadcrumb-nav .breadcrumb-item,
.kt-breadcrumb-nav .breadcrumb-item a {
  font-size: 0.775rem;
  color: #8fa2b8;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.kt-breadcrumb-nav .breadcrumb-item a:hover {
  color: #ffffff;
}

.kt-breadcrumb-nav .breadcrumb-item.active {
  color: var(--kt-secondary, #37bed7);
  font-weight: 600;
}

.kt-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
  content: "\F285"; /* bi-chevron-right */
  font-family: "bootstrap-icons";
  font-size: 0.65rem;
  color: rgba(55, 190, 215, 0.45);
  padding: 0 4px;
}

/* Sayfa Başlığı */
.kt-page-title {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.35 !important;
  margin-top: 0;
  margin-bottom: 8px !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Başlık Solundaki Vurgulu Neon Çubuk */
.kt-page-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--kt-secondary, #37bed7) 0%, #0284c7 100%);
  box-shadow: 0 0 12px rgba(55, 190, 215, 0.65);
  flex-shrink: 0;
}

/* Sayfa Açıklaması */
.kt-page-desc {
  color: #94a3b8 !important;
  font-size: 0.885rem !important;
  line-height: 1.65 !important;
  margin-top: 0;
  margin-bottom: 0 !important;
  max-width: 780px;
  padding-left: 17px; /* Başlıktaki neon çubuk ile mükemmel dikey hizalama */
}

@media (max-width: 768px) {
  .kt-page-header {
    padding: 16px 16px 20px 16px;
    margin-bottom: 22px;
  }
  .kt-page-title {
    font-size: 1.5rem !important;
  }
}


/* ==========================================================================
   5. DASHBOARD GÖRÜNÜMÜ
   ========================================================================== */

/* 4 İstatistik Kartı */
.kt-stat-card {
  background: #101927;
  border: 1px solid rgba(55, 190, 215, 0.15);
  border-radius: 12px;
  padding: 18px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.kt-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--kt-secondary, #37bed7);
}

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

.kt-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.kt-stat-badge {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
}

.kt-stat-badge.green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.kt-stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.kt-stat-label {
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--kt-text-muted, #64748b);
  margin-bottom: 12px;
}

.kt-stat-link {
  font-size: 0.775rem;
  color: var(--kt-secondary, #37bed7);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kt-stat-link:hover {
  color: #ffffff;
}

/* Dashboard Kartları (İçerik Aktivitesi & Tür Dağılımı) */
.kt-panel-card {
  background: #101927;
  border: 1px solid rgba(55, 190, 215, 0.15);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
}

.kt-panel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.kt-panel-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.kt-time-toggle {
  display: inline-flex;
  background: #091322;
  border: 1px solid rgba(55, 190, 215, 0.18);
  border-radius: 6px;
  padding: 2px;
}

.kt-time-btn {
  background: transparent;
  border: none;
  color: var(--kt-text-secondary, #94a3b8);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kt-time-btn.active {
  background: #1b2c45;
  color: #ffffff;
}

/* Filtre Hapları */
.kt-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.kt-chart-pill {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
}

.kt-chart-pill.active {
  background: #25334d;
  color: #ffffff;
  border-color: rgba(55, 190, 215, 0.3);
}

.kt-chart-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Çubuk Grafik Simülasyonu */
.kt-bar-chart-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 180px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.kt-chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}

.kt-bar {
  width: 42px;
  background: linear-gradient(180deg, #5b73ff, #384cd3);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}

.kt-bar-label {
  font-size: 0.7rem;
  color: var(--kt-text-muted, #64748b);
  margin-top: 8px;
}

/* Donut Grafik */
.kt-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.kt-donut-container {
  position: relative;
  width: 150px;
  height: 150px;
}

.kt-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.kt-donut-total {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.kt-donut-sub {
  font-size: 0.7rem;
  color: var(--kt-text-muted, #64748b);
}

.kt-donut-legend {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kt-legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--kt-text-secondary, #94a3b8);
}

/* Son Aktiviteler Listesi */
.kt-activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
}

.kt-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #091322;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.kt-activity-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.kt-activity-text {
  font-size: 0.825rem;
  color: #e2e8f0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kt-activity-time {
  font-size: 0.725rem;
  color: var(--kt-text-muted, #64748b);
  flex-shrink: 0;
}

/* İçerik Durumu İlerleme Çubukları */
.kt-status-row {
  margin-bottom: 14px;
}

.kt-status-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.kt-progress-bar-bg {
  height: 6px;
  background: #091322;
  border-radius: 9999px;
  overflow: hidden;
}

.kt-progress-fill {
  height: 100%;
  border-radius: 9999px;
}

/* Hızlı Erişim Çubuğu */
.kt-quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: #101927;
  border: 1px solid rgba(55, 190, 215, 0.15);
  border-radius: 12px;
  margin-top: 24px;
}

.kt-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  background: #091322;
  border: 1px solid rgba(55, 190, 215, 0.2);
  color: var(--kt-secondary, #37bed7);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kt-quick-btn:hover {
  background: rgba(55, 190, 215, 0.1);
  color: #ffffff;
  border-color: var(--kt-secondary, #37bed7);
}

.kt-quick-btn.primary {
  background: #5b73ff;
  border-color: #5b73ff;
  color: #ffffff;
}

.kt-quick-btn.primary:hover {
  background: #4962fa;
}

/* ==========================================================================
   6. AYARLAR & KULLANICILAR GÖRÜNÜMÜ
   ========================================================================== */

.kt-settings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.kt-sub-nav {
  background: #101927;
  border: 1px solid rgba(55, 190, 215, 0.15);
  border-radius: 12px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: fit-content;
}

.kt-sub-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  border-left: 3px solid transparent;
}

.kt-sub-nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.kt-sub-nav-item.active {
  background: rgba(236, 82, 81, 0.08);
  border-left-color: var(--kt-primary, #ec5251);
}

.kt-sub-nav-icon {
  font-size: 1.15rem;
  color: var(--kt-text-secondary, #94a3b8);
}

.kt-sub-nav-item.active .kt-sub-nav-icon {
  color: var(--kt-primary, #ec5251);
}

.kt-sub-nav-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.kt-sub-nav-desc {
  font-size: 0.725rem;
  color: var(--kt-text-muted, #64748b);
}

/* Tablo Stilleri */
.kt-table-container {
  background: #101927;
  border: 1px solid rgba(55, 190, 215, 0.15);
  border-radius: 12px;
  padding: 24px;
}

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

.kt-table {
  width: 100%;
  border-collapse: collapse;
}

.kt-table th {
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--kt-text-muted, #64748b);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.kt-table td {
  padding: 14px 16px;
  font-size: 0.85rem;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

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

.kt-badge-admin {
  background: rgba(55, 190, 215, 0.15);
  color: var(--kt-secondary, #37bed7);
  border: 1px solid rgba(55, 190, 215, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

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

.kt-btn-table-edit {
  padding: 4px 12px;
  font-size: 0.775rem;
  border-radius: 6px;
  border: 1px solid var(--kt-secondary, #37bed7);
  background: transparent;
  color: var(--kt-secondary, #37bed7);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kt-btn-table-edit:hover {
  background: rgba(55, 190, 215, 0.15);
  color: #ffffff;
}

.kt-btn-table-delete {
  padding: 4px 10px;
  font-size: 0.775rem;
  border-radius: 6px;
  border: 1px solid var(--kt-primary, #ec5251);
  background: transparent;
  color: var(--kt-primary, #ec5251);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kt-btn-table-delete:hover {
  background: var(--kt-primary, #ec5251);
  color: #ffffff;
}

/* ==========================================================================
   7. TRENDLER GÖRÜNÜMÜ
   ========================================================================== */

.kt-trend-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.kt-trend-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  background: #091322;
  border: 1px solid rgba(55, 190, 215, 0.2);
  color: var(--kt-text-secondary, #94a3b8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.kt-trend-tab-btn.active {
  background: rgba(55, 190, 215, 0.15);
  border-color: var(--kt-secondary, #37bed7);
  color: var(--kt-secondary, #37bed7);
}

.kt-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.kt-search-input-wrap {
  position: relative;
  min-width: 260px;
}

.kt-search-input-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--kt-text-muted, #64748b);
  font-size: 0.85rem;
}

.kt-search-input {
  width: 100%;
  height: 38px;
  padding-left: 36px;
  padding-right: 12px;
  background: #091322;
  border: 1px solid rgba(55, 190, 215, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.825rem;
}

.kt-search-input:focus {
  outline: none;
  border-color: var(--kt-secondary, #37bed7);
}

.kt-category-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.kt-cat-pill {
  padding: 5px 12px;
  font-size: 0.775rem;
  font-weight: 500;
  border-radius: 9999px;
  background: #091322;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--kt-text-secondary, #94a3b8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.kt-cat-pill:hover,
.kt-cat-pill.active {
  background: #25334d;
  color: #ffffff;
  border-color: var(--kt-secondary, #37bed7);
}

.kt-score-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #312e81;
  color: #a5b4fc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.kt-score-green {
  background: #064e3b;
  color: #6ee7b7;
}

/* ==========================================================================
   8. GİRİŞ EKRANI (LOGIN VIEW)
   ========================================================================== */

.kt-login-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07111d;
  padding: 20px;
}

.kt-login-card {
  width: 100%;
  max-width: 440px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.kt-login-logo {
  height: 54px;
  width: auto;
  margin-bottom: 8px;
}

.kt-login-sub {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  margin-bottom: 24px;
}

.kt-login-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.kt-login-form {
  text-align: left;
}

.kt-login-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.kt-login-input {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  background: #eef4fc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kt-login-input:focus {
  outline: none;
  border-color: var(--kt-primary, #ec5251);
  box-shadow: 0 0 0 3px var(--kt-primary-glow, rgba(236, 82, 81, 0.25));
}

.kt-password-wrap {
  position: relative;
}

.kt-password-eye {
  position: absolute;
  right: 14px;
  top: 14px;
  color: #64748b;
  cursor: pointer;
}

.kt-forgot-link {
  display: block;
  text-align: right;
  font-size: 0.825rem;
  color: #94a3b8;
  text-decoration: none;
  margin-top: -12px;
  margin-bottom: 24px;
}

.kt-forgot-link:hover {
  color: #ffffff;
}

.kt-btn-login {
  width: 100%;
  height: 48px;
  background: var(--kt-primary, #ec5251);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kt-btn-login:hover {
  background: var(--kt-primary-hover, #d64241);
  box-shadow: 0 4px 16px var(--kt-primary-glow, rgba(236, 82, 81, 0.45));
}

/* ==========================================================================
   9. MOBİL ÇEKMECE (DRAWER) VE DUYARLILIK
   ========================================================================== */

.kt-mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -310px;
  width: 290px;
  background: #09131f;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.7);
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.kt-mobile-drawer.open {
  left: 0;
}

.kt-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1055;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.kt-mobile-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.kt-mobile-drawer-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kt-mobile-drawer-body {
  flex: 1;
  padding: 16px 14px;
  overflow-y: auto;
}

.kt-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kt-mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.02);
}

.kt-mobile-nav-item:hover,
.kt-mobile-nav-item.active {
  color: #ffffff;
  background: rgba(55, 190, 215, 0.12);
  border-left: 3px solid var(--kt-secondary, #37bed7);
}

.kt-mobile-accordion-btn {
  cursor: pointer;
  user-select: none;
}

.kt-mobile-accordion-btn[aria-expanded="true"] .kt-mob-chevron {
  transform: rotate(180deg);
}

.kt-mob-chevron {
  transition: transform 0.2s ease;
  font-size: 0.75rem;
}

.kt-mobile-subnav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kt-mobile-sublink {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.kt-mobile-sublink:hover,
.kt-mobile-sublink.active {
  color: #ffffff;
  background: rgba(55, 190, 215, 0.15);
  font-weight: 600;
}

.kt-mobile-drawer-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 991.98px) {
  .kt-horizontal-nav {
    display: none;
  }

  .kt-topbar {
    padding: 0 16px;
    height: 58px;
  }

  .kt-main-content {
    padding: 16px 12px;
  }

  .kt-settings-layout {
    grid-template-columns: 1fr;
  }
}
