/* --- APP LAYOUT (Tam Ekran 100vh Sol Menü - Üst Bar 0px) --- */
.app-top-header {
  display: none;
}

.app-body-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* Sol Dikey Menü (Sidebar) - Daraltılmış & Optimize 175px */
.app-sidebar {
  width: 175px;
  background: #0b132b;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 7px 10px 7px;
  box-sizing: border-box;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 2500;
}

/* Sidebar Marka Alanı (Üstte Amblem, Altında Yazı, Ortalanmış & Şık) */
.sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px 0 6px 0;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand .brand-img {
  height: 68px;
  width: 68px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(225, 29, 72, 0.6));
  flex-shrink: 0;
  transition: transform 0.25s ease;
  margin-bottom: 2px;
}

.sidebar-brand .brand-img:hover {
  transform: scale(1.06);
}

.sidebar-brand .brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1px;
  line-height: 1.2;
}

.sidebar-brand .main-text {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #ffffff;
  white-space: nowrap;
}

.sidebar-brand .sub-text {
  font-size: 0.70rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.4px;
  white-space: nowrap;
  border-left: none;
  padding-left: 0;
}

/* Sidebar Arama Kutusu (Tıklayınca Kırmızı Odak) */
.sidebar-search-wrapper,
.sidebar-search-wrapper:focus-within {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: 9px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.sidebar-search-wrapper #searchInput {
  width: 100%;
  max-width: 100%;
  padding: 6px 8px 6px 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: none;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s ease;
  font-family: var(--font-main);
}

.sidebar-search-wrapper #searchInput::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

.sidebar-search-wrapper #searchInput:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #e11d48;
  box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.3);
}

.sidebar-search-wrapper .search-icon {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  pointer-events: none;
}

/* Sidebar Kaydırılabilir Buton Alanı */
.sidebar-nav-scroll {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 8px;
}

.sidebar-nav-scroll::-webkit-scrollbar {
  display: none;
}

.sidebar-sec-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.8px;
  padding: 8px 4px 3px 4px;
  text-transform: uppercase;
}

.app-sidebar .filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.77rem;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  transform: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.app-sidebar .filter-btn > * {
  transform: none;
}

.app-sidebar .filter-btn i {
  width: 15px;
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  transition: color 0.18s;
}

.app-sidebar .filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateX(2px);
}

.app-sidebar .filter-btn:hover i {
  color: #e11d48;
}

.app-sidebar .filter-btn.active {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.35);
  border-color: transparent;
  border-radius: 4px;
  transform: none;
}

.app-sidebar .filter-btn.active i {
  color: #ffffff;
}

/* Sidebar Alt Sabit Kullanıcı Alanı */
.sidebar-user-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  flex-shrink: 0;
}

.sidebar-user-footer .user-menu-wrapper {
  position: relative;
  width: 100%;
}

.sidebar-user-footer .user-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 7px 8px;
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sidebar-user-footer .user-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.sidebar-user-footer .user-avatar {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.70rem;
  flex-shrink: 0;
}

.sidebar-user-footer #user-display {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 85px;
}

/* Dropdown Açılır Menüsü (Yukarıya Doğru Açılır) */
.sidebar-user-footer .dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  bottom: calc(100% + 6px);
  top: auto;
  background-color: #121b33;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 9999;
  overflow: hidden;
  box-sizing: border-box;
  animation: fadeInDropdown 0.2s ease;
}

.sidebar-user-footer .dropdown-menu.show {
  display: block;
}

.sidebar-user-footer .dropdown-header {
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.66rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-user-footer .dropdown-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-footer .dropdown-item i {
  width: 14px;
  text-align: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.sidebar-user-footer .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding-left: 10px;
}

.sidebar-user-footer .dropdown-item.logout {
  color: #f87171;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-user-footer .dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ff6b6b;
}

.app-content-wrapper.container {
  flex: 1;
  min-width: 0;
  padding: 16px 24px;
  max-width: calc(100% - 175px);
  box-sizing: border-box;
  margin: 0;
}

/* MARKA ALANI */
.brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(225, 29, 72, 0.4));
}

.brand-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.brand-text .main-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.brand-text .sub-text {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 8px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.action-btn.active {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

/* KULLANICI MENÜSÜ & DROPDOWN */
.user-menu-wrapper {
  position: relative;
}

.user-btn {
  background: transparent;
  border: none;
  color: #eee;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.user-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.user-avatar {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.8rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background-color: #1c2438;
  /* Opak arka plan */
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 9999;
  /* En üstte olmasını garanti et */
  overflow: hidden;
  animation: fadeInDropdown 0.2s ease;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: #ddd;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.2s;
}

.dropdown-item:hover {
  background-color: #2c344a;
  color: #fff;
}

.dropdown-item i {
  width: 15px;
  text-align: center;
  color: var(--secondary);
}

.dropdown-item.logout {
  color: #ff6b6b;
}

.dropdown-item.logout:hover {
  background: rgba(255, 107, 107, 0.1);
}

.dropdown-item.logout i {
  color: #ff6b6b;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 0;
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- ORTA KONTROL ALANI --- */
.control-wrapper {
  display: flex;
  align-items: center;
  /* Sola hizalı */
  justify-content: flex-start;
  gap: 15px;
  /* Kırmızı boşlukları silmek için padding'i sıfırladık */
  padding-bottom: 0;
  position: relative;
  flex-wrap: wrap;
}

/* Filtre Alanı (Sportif F1 / Yarış Paralelkenar /// Stili) */
.filter-container {
  display: flex;
  gap: 3px;
  align-items: center;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  position: relative;
  padding: 2px 0;
}

.filter-container::-webkit-scrollbar {
  display: none;
  height: 0px;
}

/* GENEL FİLTRE BUTONU - PARALELKENAR (/// AÇILI) */
.filter-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  transform: skewX(-14deg);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.73rem;
  white-space: nowrap;
  z-index: 1;
  letter-spacing: 0.2px;
}

/* İçindeki yazı ve ikonlar */
.filter-btn > * {
  transform: skewX(14deg);
  display: inline-block;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: skewX(-14deg) translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Aktif Buton */
.filter-btn.active {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.5);
  transform: skewX(-14deg) translateY(-1px);
}

.divider {
  display: none;
}

.link-btn {
  color: rgba(255, 255, 255, 0.7);
}

.link-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* --- TICKER (Duyuru Barı İyileştirmesi) --- */
.news-ticker-box {
  width: 100%;
  background: #0a1532;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 20px;
  height: 26px;
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 0px;
  box-sizing: border-box;
  overflow: hidden;
  position: sticky;
  top: 44px;
  z-index: 2999;
}

.news-ticker-box:hover {
  background: #1c2438;
}

.ticker-label {
  font-size: 0.65rem;
  color: #cf0a2c;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  min-width: fit-content;
  z-index: 5;
  background: #0a1532;
  /* Arka planı kutu arka planıyla eşleştirdik */
  padding-right: 15px;
  height: 100%;
  display: flex;
  align-items: center;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  background: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.ticker-scroll-wrapper {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* KAYAN YAZI ANİMASYONU */
.ticker-content {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  position: absolute;
  left: 100%;
  animation: ticker-scroll 60s linear infinite;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
}

/* Duyuru barında akan tarih rengi: kurumsal gri */
.ticker-content .ticker-date,
.ticker-content .news-date {
  color: var(--corp-gray);
  font-weight: 800;
  letter-spacing: 0.4px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%) translateX(-200px);
  }
}

/* --- CARDS & GRID --- */
/* --- MODERN HOME PAGE DASHBOARD (PREMIUM LIGHT) --- */

.hero-section {
  background: linear-gradient(135deg, #0e1b42 0%, #1a2a5e 100%);
  border-radius: 20px;
  padding: 12px 25px;
  margin-bottom: 20px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(14, 27, 66, 0.15);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.hero-greeting {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 4px;
  max-width: 600px;
  line-height: 1.5;
}

.hero-quick-access {
  display: flex;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.hero-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 1);
  color: #0e1b42;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover i {
  color: #cf0a2c;
}

.hero-btn i {
  font-size: 1.2rem;
  color: #fff;
  transition: color 0.3s;
}

/* BENTO BOX GRID */
.home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

@media (min-width: 1024px) {
  .home-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
  }
  .home-grid .home-card:nth-child(1) { grid-column: span 2; grid-row: span 2; } /* Bugün Neler Var */
  .home-grid .home-card:nth-child(2) { grid-column: span 1; grid-row: span 3; } /* Duyurular */
  .home-grid .home-card:nth-child(3) { grid-column: span 2; grid-row: span 1; } /* Hızlı İşlemler */
}

/* Hero Quote */
.hero-quote-container {
  flex: 1;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 20px;
  position: relative;
  min-height: 50px;
}
.hero-quote-icon {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.2);
}
.hero-quote-content {
  color: white;
  max-width: 450px;
}
.hero-quote-content .home-quote-container {
  padding: 0;
  justify-content: flex-start;
}
.hero-quote-content .home-quote-icon { display: none; }
.hero-quote-content .home-quote-text {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 4px;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.4;
}
.hero-quote-content .home-quote-author {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
  margin: 0;
}
.hero-quote-edit {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
}
.hero-quote-edit:hover {
  background: white;
  color: #0e1b42;
}

/* Scrolling Announcements */
.scrolling-announcements {
  display: flex;
  flex-direction: column;
  animation: scrollAnnouncements 60s linear infinite;
}
.scrolling-announcements:hover {
  animation-play-state: paused;
}
@keyframes scrollAnnouncements {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* HOME CARD PREMIUM LIGHT */
.home-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(14, 27, 66, 0.04);
  border: 1px solid rgba(14, 27, 66, 0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  animation: slideUpFade 0.5s ease-out backwards;
}

.home-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(14, 27, 66, 0.08);
  border-color: rgba(14, 27, 66, 0.12);
}

.home-card-header {
  padding: 24px 28px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.home-card-header i {
  font-size: 1.2rem;
  color: #cf0a2c;
  background: rgba(207, 10, 44, 0.08);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.home-card-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0e1b42;
  letter-spacing: 0.2px;
}

.home-card-body {
  padding: 15px 28px 28px 28px;
  flex-grow: 1;
  max-height: 420px;
  overflow-y: auto;
}

/* CUSTOM SCROLLBAR FOR CARDS */
.home-card-body::-webkit-scrollbar { width: 6px; }
.home-card-body::-webkit-scrollbar-track { background: transparent; }
.home-card-body::-webkit-scrollbar-thumb { background: rgba(14, 27, 66, 0.1); border-radius: 10px; }
.home-card-body::-webkit-scrollbar-thumb:hover { background: rgba(14, 27, 66, 0.2); }

/* Home Edit Button */
.home-edit {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0e1b42;
  transition: all 0.3s ease;
}

.home-edit:hover {
  background: #0e1b42;
  color: #ffffff;
  border-color: #0e1b42;
  transform: scale(1.05);
}

/* Home Mini Items (Lists) */
.home-mini-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
  position: relative;
}

.home-mini-item:last-child {
  border-bottom: none;
}

.home-mini-item:hover {
  padding-left: 8px;
}

.home-mini-date {
  font-size: 0.75rem;
  color: #cf0a2c;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.home-mini-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0e1b42;
  line-height: 1.4;
  margin-bottom: 6px;
}

.home-mini-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover clickables */
.clickable {
  cursor: pointer;
  border-radius: 12px;
  padding: 10px;
  margin: -10px;
}
.clickable:hover {
  background: rgba(14, 27, 66, 0.03);
}

/* Günün Sözü */
.home-quote-container {
  padding: 10px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-quote-icon {
  font-size: 2.5rem;
  color: rgba(207, 10, 44, 0.08);
  margin-bottom: 12px;
}

.home-quote-text {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 500;
}

.home-quote-author {
  text-align: right;
  font-weight: 700;
  color: #cf0a2c;
  font-size: 0.95rem;
}

/* Hızlı İşlemler - Chips */
.home-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 5px;
}

.home-chip {
  background: #f8fafc;
  border: 1px solid rgba(14, 27, 66, 0.08);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0e1b42;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-chip i {
  color: #cf0a2c;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.home-chip:hover {
  background: #0e1b42;
  color: #ffffff;
  border-color: #0e1b42;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14, 27, 66, 0.15);
}

.home-chip:hover i {
  color: #ffffff;
  transform: scale(1.1);
}

/* Liderlik Tablosu */
.home-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.home-leaderboard-table th {
  text-align: left;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.home-leaderboard-table td {
  padding: 14px 0;
  border-bottom: 1px solid #f8fafc;
  color: #0e1b42;
  font-weight: 500;
}

.home-leaderboard-table tr:last-child td {
  border-bottom: none;
}

.container {
  padding: 20px 25px;
  max-width: 98%;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: slideUpFade 0.5s ease-out backwards;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--info);
  opacity: 0.8;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
}

.card.Teknik::after {
  background: var(--primary);
}

.card.İkna::after {
  background: var(--accent);
}

.card.Kampanya::after {
  background: var(--success);
}

.card.Bilgi::after {
  background: var(--info);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-right: 30px;
}

.card-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
  color: #1e293b;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f8fafc;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  border: 1px solid #f1f5f9;
}

.card-content {
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 18px;
  line-height: 1.6;
  flex-grow: 1;
  cursor: pointer;
}

.card-text-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.script-box {
  background: #fdfaf3;
  border: 1px solid #f9f1d8;
  padding: 12px 15px;
  border-radius: 10px;
  font-style: italic;
  color: #78350f;
  margin-top: auto;
  position: relative;
  font-size: 0.88rem;
  line-height: 1.5;
}

.card-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn {
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-copy {
  background: #f1f5f9;
  color: #1e293b;
}

.btn-copy:hover {
  background: #e2e8f0;
  transform: scale(1.02);
}

.btn-link {
  background: #eff6ff;
  color: #2563eb;
  text-decoration: none;
}

.btn-link:hover {
  background: #dbeafe;
  transform: scale(1.02);
}

.new-badge {
  position: absolute;
  top: 12px;
  left: 5px;
  background: #10b981;
  color: white;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 800;
  z-index: 15;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.icon-wrapper {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 20;
}

.edit-icon {
  color: #f59e0b;
  cursor: pointer;
  display: none;
  font-size: 0.95rem;
  padding: 6px;
  background: white;
  border-radius: 80px;
  border: 1px solid #fde68a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body.editing .edit-icon {
  display: flex;
}

/* Düzenleme modu CSS kontrolü: body.editing yoksa tüm admin edit butonları gizlenir */
.x-btn-admin,
.home-edit,
.nw-card-edit-btn,
.nw-detail-btn.edit-btn,
.nw-btn-add {
  display: none;
}
body.editing .x-btn-admin,
body.editing .home-edit,
body.editing .nw-card-edit-btn,
body.editing .nw-detail-btn.edit-btn,
body.editing .nw-btn-add {
  display: inline-flex;
}

.fav-icon {
  color: #cbd5e1;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.fav-icon:hover {
  color: #94a3b8;
  transform: scale(1.1);
}

.fav-icon.active {
  color: #f59e0b;
}

/* MODAL/MODÜL STİLLERİ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 27, 66, 0.8);
  z-index: 5000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

.modal-content {
  background: white;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  padding: 30px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: 0.2s;
}

.close-modal:hover {
  color: #333;
}

.swal2-container {
  z-index: 10000;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

.crafted-by-badge {
  position: fixed;
  bottom: 5px;
  right: 10px;
  font-family: sans-serif;
  font-size: 0.65rem;
  color: #0e1b42;
  opacity: 0.2;
  z-index: 9999;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NEWS ITEMS & BADGES */
.news-item {
  border-left: 4px solid var(--primary);
  padding: 15px 15px 15px 20px;
  margin-bottom: 20px;
  position: relative;
  background-color: #fcfcfc;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  border-left-width: 4px;
}

.news-date {
  font-size: 0.75rem;
  color: #999;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.news-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  margin-top: 5px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-fix {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.tag-update {
  background: #fff3e0;
  color: #ef6c00;
  border: 1px solid #ffe0b2;
}

.tag-info {
  background: #e3f2fd;
  color: #0277bd;
  border: 1px solid #bbdefb;
}

/* PENALTY & FUNCTIONAL STYLES (Restored) */
.penalty-stats {
  background: #111;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 15px;
  border: 1px solid #333;
}

.penalty-stats span span {
  color: var(--secondary);
}

.joker-btn {
  background: #6a1b9a;
  color: white;
  padding: 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  flex: 1;
  margin: 0 5px;
  font-weight: bold;
  transition: all 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
}

.joker-btn:hover:not(:disabled) {
  background: #ab47bc;
  transform: translateY(-2px);
}

.joker-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.penalty-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.penalty-btn {
  padding: 15px 10px;
  background: rgba(14, 27, 66, 0.8);
  color: #fff;
  border: 2px solid #00f2ff;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 5px rgba(0, 242, 255, 0.3);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.penalty-btn:hover:not(:disabled) {
  background: #00f2ff;
  color: #0e1b42;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.8), 0 0 40px rgba(0, 242, 255, 0.4);
  text-shadow: none;
}

.penalty-btn:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.penalty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.penalty-btn.wrong-first-try {
  background: rgba(211, 47, 47, 0.8);
  color: white;
  border-color: #ff5252;
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.5);
  opacity: 0.8;
  cursor: not-allowed;
}

.penalty-field {
  background: radial-gradient(circle at 50% 30%,
      #2e7d32 0%,
      #1b5e20 40%,
      #0a250a 100%);
  border: 4px solid #00f2ff;
  border-radius: 12px;
  height: 400px;
  /* Reduced from 480px */
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.4),
    inset 0 0 100px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stadium-stands {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: radial-gradient(circle,
      rgba(0, 242, 255, 0.1) 1px,
      transparent 1px),
    linear-gradient(to bottom, #050a14 0%, #0e1b42 100%);
  background-size: 15px 15px, 100% 100%;
  z-index: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.double-indicator {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff00ff, #00f2ff);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 800;
  z-index: 100;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
  animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
  from {
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.6);
    transform: translateX(-50%) scale(1);
  }

  to {
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.9);
    transform: translateX(-50%) scale(1.05);
  }
}

.goal-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 100;
  font-size: 5rem;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255, 255, 255, 1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  opacity: 0;
}

.goal-message.show {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 1;
  animation: goalShake 0.5s;
}

@keyframes goalShake {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.4);
  }

  100% {
    transform: translate(-501%, -50%) scale(1.2);
  }
}

/* Gamer Modal Enhancements */
.gamer-modal {
  background: rgba(10, 20, 40, 0.98);
  border: 2px solid #00f2ff;
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.4),
    inset 0 0 15px rgba(0, 242, 255, 0.1);
  backdrop-filter: none;
  /* Removed blur to fix user complaint */
  color: #fff;
  max-height: 98vh;
  overflow-y: auto;
  padding: 20px;
}

/* Responsive Scaling for Games on smaller screens */
@media screen and (max-height: 800px) {
  .gamer-modal {
    transform: scale(0.9);
    transform-origin: center top;
  }
}

@media screen and (max-height: 700px) {
  .gamer-modal {
    transform: scale(0.8);
  }
}

.gamer-modal h2 {
  text-shadow: none;
  /* Removed blur effect */
  color: #00f2ff;
  /* Ensuring high contrast cyan */
}

.gamer-modal p {
  color: #fff;
  font-size: 1.05rem;
  text-shadow: none;
  /* Removed blur effect */
}

/* Gamer Action Buttons */
.gamer-modal .game-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.gamer-modal .game-hub-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.gamer-modal .game-hub-card:hover {
  background: rgba(0, 242, 255, 0.1);
  border-color: #00f2ff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 242, 255, 0.1);
}

.gamer-modal .gh-title {
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  margin: 10px 0;
}

.gamer-modal .gh-desc {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.gamer-modal .gh-cta {
  background: #00f2ff;
  color: #0e1b42;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 900;
  display: inline-block;
}

.gamer-modal .btn-copy {
  background: #00f2ff;
  color: #0e1b42;
  font-weight: 900;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
  transition: all 0.2s;
  cursor: pointer;
}

.gamer-modal .btn-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.7);
  background: #fff;
}

.gamer-modal .btn-link {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.gamer-modal .btn-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.quick-chip {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 242, 255, 0.5);
  padding: 6px 15px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.quick-chip span {
  color: #00f2ff;
  text-shadow: 0 0 5px rgba(0, 242, 255, 0.8);
}

.quick-topbar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.quick-question {
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 4px solid #00f2ff;
  margin-bottom: 20px;
}

.quick-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.grass-stripes {
  position: absolute;
  top: 120px;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(180deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0.03) 40px,
      transparent 40px,
      transparent 80px);
  z-index: 0;
  transform: rotateX(20deg) scale(1.1);
  transform-origin: top;
}

.goal-container {
  position: relative;
  width: 320px;
  height: 160px;
  margin: 50px auto 0 auto;
  transform-style: preserve-3d;
  z-index: 2;
  perspective: 600px;
}

.goal-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to bottom, #f0f0f0, #bdbdbd);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.goal-post-left,
.goal-post-right {
  position: absolute;
  top: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(to right, #f0f0f0, #bdbdbd);
  border-radius: 5px;
  z-index: 5;
}

.goal-post-left {
  left: 0;
}

.goal-post-right {
  right: 0;
}

.goal-net {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 310px;
  height: 155px;
  background: repeating-linear-gradient(45deg,
      transparent,
      transparent 5px,
      rgba(255, 255, 255, 0.3) 5px,
      rgba(255, 255, 255, 0.3) 6px),
    repeating-linear-gradient(-45deg,
      transparent,
      transparent 5px,
      rgba(255, 255, 255, 0.3) 5px,
      rgba(255, 255, 255, 0.3) 6px);
  background-color: rgba(0, 0, 0, 0.2);
  transform: translateZ(-40px);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.ball-wrapper {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  transition: all 0.6s cubic-bezier(0.1, 0.5, 0.3, 1);
  width: 36px;
  height: 36px;
}

.football {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
  background-image: radial-gradient(circle at 50% 50%,
      rgba(0, 0, 0, 0.1) 40%,
      transparent 50%),
    conic-gradient(#fff 0deg,
      #fff 45deg,
      #222 45deg,
      #222 90deg,
      #fff 90deg,
      #fff 135deg,
      #222 135deg,
      #222 180deg,
      #fff 180deg,
      #fff 225deg,
      #222 225deg,
      #222 270deg,
      #fff 270deg,
      #fff 315deg,
      #222 315deg,
      #222 360deg);
  background-size: 200% 200%;
  box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.4),
    0 5px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: spinIdle 10s linear infinite;
}

@keyframes spinIdle {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

.ball-shadow {
  width: 30px;
  height: 6px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(3px);
  transition: all 0.6s;
}

.keeper-wrapper {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 130px;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1.2);
  perspective: 500px;
}

.player-figure {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.head {
  width: 28px;
  height: 32px;
  background: radial-gradient(circle at 10px 10px, #ffcc80, #e65100);
  border-radius: 50% 50% 45% 45% / 50% 50% 55% 55%;
  margin: 0 auto;
  position: relative;
  z-index: 4;
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.3), 0 2px 5px rgba(0, 0, 0, 0.4);
  transform: translateZ(5px);
}

.head::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 12px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  filter: blur(3px);
}

.head::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 5px;
  width: 18px;
  height: 10px;
  background: #3e2723;
  border-radius: 50%;
  transform: rotate(-10deg);
}

.torso {
  width: 45px;
  height: 50px;
  background: linear-gradient(135deg, #ffeb3b 0%, #fbc02d 50%, #f9a825 100%);
  border-radius: 8px 8px 12px 12px;
  margin: -5px auto 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
    inset 0 4px 6px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #333;
  font-size: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transform: translateZ(3px);
  overflow: hidden;
}

.torso::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.05),
      transparent 20%,
      transparent 80%,
      rgba(0, 0, 0, 0.05)),
    linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.torso::after {
  content: "SSP";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #0e1b42;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.8;
  z-index: 2;
}

.arms {
  position: absolute;
  top: 35px;
  width: 100%;
  height: 15px;
  z-index: 2;
}

.arm {
  width: 16px;
  height: 45px;
  background: linear-gradient(135deg, #ffeb3b 0%, #fbc02d);
  border-radius: 10px;
  position: absolute;
  top: 0;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  transform-origin: top center;
}

.arm.left {
  left: -8px;
  transform: rotate(25deg) translateZ(2px);
}

.arm.right {
  right: -8px;
  transform: rotate(-25deg) translateZ(2px);
}

.gloves {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  bottom: -8px;
  left: -2px;
  border: 3px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateZ(6px);
}

.gloves::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #f00;
  border-radius: 50%;
  top: 5px;
  left: 5px;
}

.shorts {
  width: 45px;
  height: 30px;
  background: linear-gradient(to bottom, #212121, #000);
  margin: -8px auto 0;
  border-radius: 0 0 12px 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  transform: translateZ(1px);
}

.legs {
  position: relative;
  width: 45px;
  margin: 0 auto;
}

.leg {
  width: 16px;
  height: 45px;
  background: linear-gradient(to bottom, #212121, #000);
  position: absolute;
  top: -8px;
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  transform-origin: top center;
}

.leg.left {
  left: 5px;
  transform: rotate(8deg) translateZ(2px);
}

.leg.right {
  right: 5px;
  transform: rotate(-8deg) translateZ(2px);
}

.sock {
  width: 100%;
  height: 22px;
  background: linear-gradient(to bottom, #fff, #eee);
  position: absolute;
  bottom: 0;
  border-radius: 0 0 8px 8px;
  border-top: 2px solid #ddd;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}

.shoe {
  width: 22px;
  height: 14px;
  background: linear-gradient(to right, #d32f2f, #c62828);
  position: absolute;
  bottom: -12px;
  left: -3px;
  border-radius: 6px 6px 3px 3px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
    inset -3px -3px 4px rgba(0, 0, 0, 0.4);
  transform: translateZ(8px);
}

.keeper-shadow {
  width: 50px;
  height: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  margin: -5px auto 0 auto;
  filter: blur(4px);
}

.shooter-wrapper {
  position: absolute;
  bottom: -50px;
  left: 45%;
  transform: translateX(-50%) scale(1.4);
  z-index: 20;
  transition: all 0.3s ease-in;
  width: 70px;
  height: 130px;
  perspective: 500px;
}

.shooter-wrapper .head {
  background: radial-gradient(circle at 10px 10px, #3e2723, #000);
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.4), 0 2px 5px rgba(0, 0, 0, 0.4);
}

.shooter-wrapper .head::before {
  display: none;
}

.shooter-wrapper .head::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0px;
  width: 28px;
  height: 15px;
  background: #3e2723;
  border-radius: 50%;
  transform: rotate(5deg);
}

.shooter-wrapper .torso {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 50%, #a11616 100%);
  color: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3),
    inset 0 4px 6px rgba(255, 255, 255, 0.2);
}

.shooter-wrapper .torso::after {
  content: "10";
  font-size: 16px;
  font-weight: 800;
  opacity: 0.9;
  z-index: 2;
}

.shooter-wrapper .torso::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.1),
      transparent 20%,
      transparent 80%,
      rgba(0, 0, 0, 0.1)),
    linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.shooter-wrapper .arm {
  background: linear-gradient(to right, #d32f2f, #b71c1c);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.shooter-wrapper .arm.left {
  transform: rotate(20deg) translateZ(2px);
}

.shooter-wrapper .arm.right {
  transform: rotate(-20deg) translateZ(2px);
}

.shooter-wrapper .gloves {
  display: none;
}

.shooter-wrapper .shorts {
  background: linear-gradient(to bottom, #0e1b42, #000);
  border: 1px solid #000;
}

.shooter-wrapper .leg {
  background: linear-gradient(to bottom, #d32f2f, #b71c1c);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

.shooter-wrapper .leg.left {
  transform: rotate(10deg) translateZ(2px);
}

.shooter-wrapper .leg.right {
  transform: rotate(-10deg) translateZ(2px);
}

.shooter-wrapper .sock {
  background: linear-gradient(to bottom, #d32f2f, #b71c1c);
  border-top: 2px solid #a11616;
  display: none;
}

.shooter-wrapper .shoe {
  background: linear-gradient(to right, #212121, #000);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
    inset -3px -3px 4px rgba(0, 0, 0, 0.4);
}

.keeper-shadow {
  width: 50px;
  height: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  margin: -5px auto 0 auto;
  filter: blur(4px);
}

.shooter-run {
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) scale(1.1);
}

.shooter-run .arm.left {
  animation: runArm 0.3s infinite alternate;
}

.shooter-run .arm.right {
  animation: runArm 0.3s infinite alternate-reverse;
}

@keyframes runArm {
  from {
    transform: rotate(20deg) translateZ(2px);
  }

  to {
    transform: rotate(-20deg) translateZ(2px);
  }
}

.ball-shoot-left-top {
  bottom: 300px;
  /* Adjusted for 400px height */
  left: 35%;
  transform: scale(0.4) rotate(720deg);
}

.ball-shoot-right-top {
  bottom: 300px;
  left: 65%;
  transform: scale(0.4) rotate(720deg);
}

.ball-shoot-left-low {
  bottom: 250px;
  left: 32%;
  transform: scale(0.45) rotate(720deg);
}

.ball-shoot-right-low {
  bottom: 250px;
  left: 68%;
  transform: scale(0.45) rotate(720deg);
}

.ball-miss-left {
  bottom: 300px;
  left: 10%;
  transform: scale(0.3);
  opacity: 0;
}

.ball-miss-right {
  bottom: 300px;
  left: 90%;
  transform: scale(0.3);
  opacity: 0;
}

.keeper-dive-left {
  transform: translateX(-140px) translateY(50px) rotate(-70deg);
}

.keeper-dive-left .arm.left {
  transform: rotate(-180deg) translateZ(2px);
}

.keeper-dive-right {
  transform: translateX(140px) translateY(50px) rotate(70deg);
}

.keeper-dive-right .arm.right {
  transform: rotate(-180deg) translateZ(2px);
}

.evaluation-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  margin-top: 0;
}

.evaluation-summary {
  transition: background 0.2s;
}

.evaluation-summary:hover {
  background: #fcfcfc;
}

.quality-controls-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.quality-filter-group {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-grow: 1;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  background: #f0f4ff;
  border: 1px solid #d0d8f0;
  justify-content: space-around;
}

.eval-modal-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
  font-family: "Segoe UI", sans-serif;
}

.eval-header-card {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border-left: 5px solid var(--primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.score-dashboard {
  background: #0e1b42;
  color: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 5px 15px rgba(14, 27, 66, 0.3);
  margin-bottom: 10px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.score-circle-outer {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--success) 0%, #444 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.score-circle-inner {
  width: 64px;
  height: 64px;
  background: #0e1b42;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
}

.criteria-container {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 5px;
}

.criteria-row {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.criteria-row:hover {
  border-color: #bbb;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.criteria-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

/* ESKİ SLIDER STİLLERİ YERİNE YENİ BUTON KONTROLLERİ */
.criteria-controls {
  display: block;
  /* Eski flex yerine blok yaptık */
  background: #f9f9f9;
  padding: 10px;
  border-radius: 6px;
}

.score-badge {
  background: #333;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

.note-input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 6px;
  font-size: 0.85rem;
  background: #fff;
}

.note-input:focus {
  border-color: var(--secondary);
  outline: none;
}

/* YENİ BUTON SINIFLARI */
.eval-button-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.eval-button {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.1s;
  flex-grow: 1;
  text-align: center;
  color: #555;
  background: #fff;
  white-space: nowrap;
  /* Metnin sığmasını sağla */
}

.eval-button:hover:not(.active) {
  border-color: var(--primary);
  background: #f0f4ff;
}

/* İyi Puan: Yeşil */
.eval-good {
  border-color: #2e7d32;
  color: #1b5e20;
  background: #e8f5e9;
}

.eval-good.active {
  background: #2e7d32;
  color: white;
  border-color: #1b5e20;
  box-shadow: 0 2px 4px rgba(46, 125, 50, 0.3);
}

/* Orta Puan: Turuncu */
.eval-medium {
  border-color: #ed6c02;
  color: #e65100;
  background: #fff3e0;
}

.eval-medium.active {
  background: #ed6c02;
  color: white;
  border-color: #e65100;
  box-shadow: 0 2px 4px rgba(237, 108, 2, 0.3);
}

/* Kötü Puan: Kırmızı */
.eval-bad {
  border-color: #d32f2f;
  color: #b71c1c;
  background: #ffebee;
}

.eval-bad.active {
  background: #d32f2f;
  color: white;
  border-color: #b71c1c;
  box-shadow: 0 2px 4px rgba(211, 47, 47, 0.3);
}

/* YENİ BUTON SINIFLARI BİTİŞ */
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.quiz-btn-opt {
  padding: 15px;
  border: 2px solid #eee;
  background: white;
  border-radius: 8px;
  cursor: pointer;
}

.quiz-btn-opt.correct {
  background: #c8e6c9;
  border-color: #2e7d32;
  color: #1b5e20;
}

.quiz-btn-opt.wrong {
  background: #ffcdd2;
  border-color: #c62828;
  color: #b71c1c;
}

.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 8px;
  background: white;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
}

.option-btn:hover {
  border-color: var(--primary);
  background: #f0f4ff;
}

.result-box {
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
}

.res-red {
  background: #ffebee;
  border: 2px solid #ef5350;
  color: #c62828;
}

.res-green {
  background: #e8f5e9;
  border: 1px solid #66bb6a;
  color: #2e7d32;
}

.res-yellow {
  background: #fff8e1;
  border: 2px solid #ffca28;
  color: #f57f17;
}

.restart-btn {
  margin-top: 20px;
  background: #555;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.highlight {
  background-color: yellow;
  font-weight: bold;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.sales-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.guide-item {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
  background: #f8f9fa;
  cursor: pointer;
  position: relative;
}

.guide-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guide-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.guide-title {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
  display: block;
}

.guide-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
  font-style: italic;
}

.guide-tip {
  background: #e3f2fd;
  color: #0277bd;
  padding: 5px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pronunciation-badge {
  color: #e65100;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
  font-style: italic;
}

.sales-item {
  border: 1px solid #d1fae5;
  background: #ecfdf5;
  border-radius: 8px;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sales-item:hover {
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
  border-color: var(--sales);
}

.sales-item.active {
  background: #d1fae5;
  border-left: 6px solid var(--sales);
}

.sales-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sales-title {
  font-weight: 800;
  color: #065f46;
  font-size: 1.1rem;
  margin: 0;
  padding-right: 25px;
}

.sales-text {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #a7f3d0;
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
  animation: fadeIn 0.4s ease-in;
}

.sales-item.active .sales-text {
  display: block;
}


/* --- RESPONSIVE & ZOOM COMPATIBILITY (@media) --- */

/* 1200px altı veya %125+ Zoom */
@media screen and (max-width: 1200px) {
  .header-content-limit, .container {
    padding: 10px 15px;
  }
  .search-container {
    width: 250px;
  }
}

/* 992px altı veya %150+ Zoom */
@media screen and (max-width: 992px) {
  .control-wrapper {
    gap: 10px;
  }
  .search-container {
    width: 100%;
    order: 2;
  }
  .filter-container {
    order: 1;
    width: 100%;
  }
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .hero-quick-access {
    margin-left: 0;
  }
}

/* 768px altı (Mobil Görünüm) */
@media screen and (max-width: 768px) {
  .brand-text .sub-text {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
  .header-top {
    flex-wrap: wrap;
    gap: 10px;
  }
  .header-controls {
    width: 100%;
    justify-content: flex-end;
  }
}

/* KADEMELİ GİRİŞ ANİMASYONLARI (STAGGERED FADE-IN) */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:nth-child(1), .home-card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2), .home-card:nth-child(2) { animation-delay: 0.10s; }
.card:nth-child(3), .home-card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4), .home-card:nth-child(4) { animation-delay: 0.20s; }
.card:nth-child(5), .home-card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6), .home-card:nth-child(6) { animation-delay: 0.30s; }
.card:nth-child(7), .home-card:nth-child(7) { animation-delay: 0.35s; }
.card:nth-child(8), .home-card:nth-child(8) { animation-delay: 0.40s; }
.card:nth-child(9), .home-card:nth-child(9) { animation-delay: 0.45s; }

/* --- MODERN TABLE & STATUS BADGES --- */
.t-codes-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.t-codes-table thead th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  backdrop-filter: blur(8px);
  z-index: 10;
  border-bottom: 2px solid #e2e8f0;
  color: #475569;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 10px 8px;
}

.t-codes-table tr {
  transition: background-color 0.15s ease, border-left 0.15s ease;
}

.t-codes-table tr:hover {
  background-color: #f1f5f9;
}

/* Modern Status Badges */
.badge-status-satis {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 8px;
}

.badge-status-kullanildi {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 8px;
}

/* =========================================================
   TÜM ALT MENÜLER (Teknik, TeleSatış, Kalite, Vardiyam vb.)
   Ana Menü ile %100 Birebir Aynı Ebat (175px), Renk (#0b132b) ve Butonlar
========================================================= */
.q-sidebar,
.quality-fullscreen-wrapper .q-sidebar,
#tech-fullscreen-container .q-sidebar,
#telesales-fullscreen .q-sidebar,
#shift-fullscreen .q-sidebar,
#sports-guide-fullscreen .q-sidebar,
#schedule-fullscreen .q-sidebar,
#mail-fullscreen .q-sidebar,
#tcodes-fullscreen .q-sidebar,
#game-fullscreen-wrapper .q-sidebar {
  width: 175px;
  min-width: 175px;
  max-width: 175px;
  background: #0b132b;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 10px 7px 10px 7px;
  box-sizing: border-box;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  height: 100vh;
  box-shadow: none;
  flex-shrink: 0;
  z-index: 50;
}

/* Alt Menü Üst Başlık */
.q-sidebar-header {
  height: auto;
  min-height: 38px;
  padding: 4px 6px 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.q-sidebar-header i {
  color: #e11d48;
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

/* Alt Menü Kullanıcı Profili */
.q-user-profile {
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2px 0 8px 0;
  box-sizing: border-box;
}

.q-avatar-circle {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.70rem;
}

.q-user-name {
  font-weight: 600;
  font-size: 0.77rem;
  color: #ffffff;
  max-width: 85px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.1;
}

.q-user-role {
  font-size: 0.62rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
}

/* Alt Menü Buton Listesi */
.q-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}

.q-nav-menu::-webkit-scrollbar {
  display: none;
}

/* Alt Menü Butonları (.filter-btn Görünümü) */
.q-nav-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.77rem;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  transform: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.q-nav-item i {
  width: 15px;
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  transition: color 0.18s;
  flex-shrink: 0;
}

.q-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateX(2px);
}

.q-nav-item:hover i {
  color: #e11d48;
}

.q-nav-item.active,
#telesales-fullscreen .q-nav-item.active {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.35);
  border: none;
  border-radius: 4px;
  transform: none;
}

.q-nav-item.active i,
#telesales-fullscreen .q-nav-item.active i {
  color: #ffffff;
}

/* Geri Çıkış Butonu */
.q-sidebar-footer {
  padding: 8px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.q-exit-btn {
  width: 100%;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.77rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.q-exit-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ff6b6b;
}
.card:nth-child(10), .home-card:nth-child(10) { animation-delay: 0.50s; }
.card:nth-child(11), .home-card:nth-child(11) { animation-delay: 0.55s; }
.card:nth-child(n+12), .home-card:nth-child(n+12) { animation-delay: 0.60s; }

/* =========================================================
   Pusula Workspace Full Panel (Yayın Akışı, Spor Rehberi vb.)
   Pencere/Popup yerine Sol Barın Yanındaki Ana Alana Yerleşme
========================================================= */
.swal2-container.pusula-workspace-modal-container,
.swal2-container:has(.bf-wrapper),
.swal2-container:has(.sg-modal-container) {
  position: fixed;
  left: 175px;
  top: 0;
  width: calc(100vw - 175px);
  height: 100vh;
  padding: 0;
  margin: 0;
  background: rgba(11, 19, 43, 0.5);
  align-items: stretch;
  justify-content: stretch;
  z-index: 2000;
}

.swal2-popup.pusula-workspace-popup,
.swal2-container:has(.bf-wrapper) .swal2-popup,
.swal2-container:has(.sg-modal-container) .swal2-popup {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.swal2-container:has(.bf-wrapper) .swal2-html-container,
.swal2-container:has(.sg-modal-container) .swal2-html-container,
.swal2-container.pusula-workspace-modal-container .swal2-html-container {
  margin: 0;
  padding: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bf-wrapper,
.sg-modal-container {
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.swal2-container.pusula-workspace-modal-container .swal2-close,
.swal2-container:has(.bf-wrapper) .swal2-close,
.swal2-container:has(.sg-modal-container) .swal2-close {
  position: absolute;
  top: 12px;
  right: 16px;
  color: #ffffff;
  font-size: 1.5rem;
  z-index: 2100;
  opacity: 0.85;
  transition: all 0.2s ease;
}

.swal2-container.pusula-workspace-modal-container .swal2-close:hover,
.swal2-container:has(.bf-wrapper) .swal2-close:hover,
.swal2-container:has(.sg-modal-container) .swal2-close:hover {
  opacity: 1;
  color: #ef4444;
  transform: scale(1.15);
}
