/* ====================================================================
   🛡️ FELEROUS DEVELOPER CONSOLE — LAYOUT & COMPONENTS (v1.0)
   ==================================================================== */

/* --- Ana Çerçeve (App Container) --- */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* --- Yan Menü (Sidebar) --- */
.dev-sidebar {
  width: 260px;
  background: var(--bg-base);
  border-right: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header {
  padding: 12px 14px;
  min-height: 64px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.brand-badge {
  width: 36px;
  height: 36px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0f2b1d 0%, #162030 100%);
  border: 1px solid var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 0 12px var(--accent-emerald-glow);
  flex-shrink: 0;
}

.brand-text {
  flex: 1;
  overflow: hidden;
}

.brand-text h2 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.7rem;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Sidebar Daraltma Butonları */
.sidebar-toggle-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
  background: var(--bg-surface);
  color: #fff;
  border-color: var(--border-default);
}

.sidebar-toggle-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.topbar-sidebar-toggle {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.topbar-sidebar-toggle:hover {
  background: var(--bg-surface);
  color: #fff;
  border-color: var(--border-default);
}

.topbar-sidebar-toggle svg {
  width: 18px;
  height: 18px;
}

/* Navigasyon Listesi */
.sidebar-nav {
  flex: 1;
  padding: 10px 10px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 10px 3px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sidebar-nav > .nav-section-label:first-child {
  padding-top: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.86rem;
  transition: all 0.18s ease;
  position: relative;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-item:hover {
  color: #fff;
  background: var(--bg-surface);
}

.nav-item.active {
  color: #fff;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  box-shadow: inset 3px 0 0 var(--accent-emerald);
}

.nav-item svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.15s ease;
}

.nav-item.active svg {
  opacity: 1;
  color: var(--accent-emerald);
}

.nav-item .badge {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 10px;
  background: var(--bg-highlight);
  color: var(--text-muted);
  font-weight: 600;
}

/* Sidebar Alt Kısmı (Stüdyo Kartı) */
.sidebar-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.studio-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-avatar {
  width: 32px;
  height: 32px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-emerald);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.studio-meta {
  flex: 1;
  overflow: hidden;
}

.studio-meta .dev-handle {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.studio-meta .tier-tag {
  font-size: 0.7rem;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
}

.logout-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.logout-btn:hover {
  background: var(--bg-surface);
  color: var(--accent-rose);
}

/* ====================================================================
   📐 SİMGE MODU (COMPACT RAIL SIDEBAR — ORANTILI 1:1 & SIKIŞIK DİZİLİM)
   ==================================================================== */
.app-container.sidebar-compact .dev-sidebar {
  width: 64px;
}

.app-container.sidebar-compact .dev-main {
  margin-left: 64px;
}

.app-container.sidebar-compact .brand-text,
.app-container.sidebar-compact .nav-item span,
.app-container.sidebar-compact .nav-item .badge,
.app-container.sidebar-compact .studio-meta {
  display: none !important;
}

.app-container.sidebar-compact .sidebar-header {
  height: 64px;
  min-height: 64px;
  padding: 6px 4px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.app-container.sidebar-compact .brand-badge {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  aspect-ratio: 1 / 1;
  font-size: 0.95rem;
  margin: 0;
  border-radius: 8px;
}

.app-container.sidebar-compact .sidebar-toggle-btn {
  width: 20px;
  height: 28px;
  min-width: 20px;
  min-height: 28px;
  margin: 0;
}

.app-container.sidebar-compact .sidebar-toggle-btn svg {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.app-container.sidebar-compact .sidebar-nav {
  padding: 6px 6px;
  gap: 3px;
  align-items: center;
  overflow: visible; /* Uçan Tooltipler için taşma serbest */
}

.app-container.sidebar-compact .sidebar-nav > .nav-section-label:first-child {
  display: none !important;
}

.app-container.sidebar-compact .nav-section-label {
  width: 32px;
  height: 1px !important;
  min-height: 1px !important;
  max-height: 1px !important;
  margin: 3px auto !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: var(--border-subtle);
  overflow: hidden;
  flex-shrink: 0;
}

.app-container.sidebar-compact .nav-section-label * {
  display: none !important;
}

.app-container.sidebar-compact .admin-nav-section {
  width: 100%;
  margin-top: 3px !important;
  padding-top: 3px !important;
  border-top: 1px dashed rgba(245, 158, 11, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-container.sidebar-compact .admin-nav-section .nav-section-label {
  display: none !important;
}

.app-container.sidebar-compact .nav-item {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 36px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  box-shadow: none;
}

.app-container.sidebar-compact .nav-item svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  opacity: 0.88;
  flex-shrink: 0;
}

.app-container.sidebar-compact .nav-item.active {
  border: 1px solid var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald-glow);
  background: var(--bg-elevated);
}

.app-container.sidebar-compact .nav-item.active svg {
  opacity: 1;
  color: var(--accent-emerald);
}

.app-container.sidebar-compact .sidebar-footer {
  padding: 8px 4px;
  overflow: visible;
}

.app-container.sidebar-compact .studio-pill {
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.app-container.sidebar-compact .studio-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  aspect-ratio: 1 / 1;
  font-size: 0.76rem;
  margin: 0 auto;
}

.app-container.sidebar-compact .logout-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  aspect-ratio: 1 / 1;
  padding: 0;
  margin: 0 auto;
}

/* --- Simge Modu Uçan İpucu (Floating Tooltips) --- */
.app-container.sidebar-compact .nav-item[data-tooltip]:hover::after,
.app-container.sidebar-compact .logout-btn[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: #0c1420;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-default);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  z-index: 1000;
  letter-spacing: 0.02em;
  animation: tooltipFlyIn 0.16s ease-out;
}

.app-container.sidebar-compact .nav-item[data-tooltip]:hover::before,
.app-container.sidebar-compact .logout-btn[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  left: calc(100% + 7px);
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 7px 5px 0;
  border-style: solid;
  border-color: transparent #0c1420 transparent transparent;
  pointer-events: none;
  z-index: 1001;
  animation: tooltipFlyIn 0.16s ease-out;
}

@keyframes tooltipFlyIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* --- Ana İçerik Alanı (Main Content) --- */
.dev-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Üst Çubuk (Topbar) */
.dev-topbar {
  height: 64px;
  background: rgba(9, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 90;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.2);
  font-size: 0.76rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buton Stilleri */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-emerald);
  color: #05080e;
  border-color: var(--accent-emerald);
}

.btn-primary:hover {
  background: #00ff83;
  box-shadow: 0 0 16px var(--accent-emerald-glow);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-default);
}

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

.btn-danger {
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-rose);
  border-color: rgba(244, 63, 94, 0.3);
}

.btn-danger:hover {
  background: var(--accent-rose);
  color: #fff;
  box-shadow: 0 0 16px var(--accent-rose-glow);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.78rem;
}

/* --- Sayfa İçeriği (Page Body) --- */
.content-area {
  padding: 28px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

/* Grid & Kart Yapıları */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.metric-title {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.metric-icon {
  font-size: 1.2rem;
  opacity: 0.8;
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.metric-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Panel Kutusu */
.panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.panel-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-body {
  padding: 22px;
}

/* Tablolar */
.data-table-container {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 12px 18px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-default);
  background: rgba(0, 0, 0, 0.15);
  font-weight: 700;
}

.data-table td {
  padding: 14px 18px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

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

/* Durum Rozetleri */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.badge-published {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.badge-review {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-delisted {
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-draft {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

/* Form Elemanları */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.form-helper {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-control {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 2px var(--accent-emerald-glow);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* Toast Bildirimleri */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  animation: slideIn 0.25s ease;
}

.toast-success {
  border-left: 4px solid var(--accent-emerald);
}

.toast-error {
  border-left: 4px solid var(--accent-rose);
}

.toast-warning {
  border-left: 4px solid var(--accent-amber);
}

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

/* ====================================================================
   🖼️ MEDYA & SUPABASE STORAGE GÖRSEL YÖNETİCİSİ
   ==================================================================== */
.asset-upload-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.asset-preview-container {
  width: 100%;
  background: #090e17;
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.asset-preview-cover {
  height: 240px;
}

.asset-preview-banner {
  height: 140px;
}

.asset-preview-icon {
  height: 140px;
  width: 140px;
  margin: 0 auto;
}

.asset-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

/* Standart Görseller Tablosu */
.standards-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.standards-table th {
  background: var(--bg-elevated);
  padding: 8px 12px;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  text-align: left;
}

.standards-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.standards-table tr:last-child td {
  border-bottom: none;
}

/* Kontrol Şeması Çipleri */
.control-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.86rem;
  color: #fff;
  transition: all 0.2s ease;
  user-select: none;
}

.control-pill:hover {
  background: var(--bg-elevated);
  border-color: var(--border-hover);
}

.control-pill input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-emerald);
  cursor: pointer;
}

/* FDB Depo & Yama Kartları */
.fdb-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
}

.fdb-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.asset-preview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 20px;
  text-align: center;
}

.asset-upload-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.asset-upload-status {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.asset-upload-status.success {
  color: var(--accent-emerald);
}

.asset-upload-status.error {
  color: var(--accent-rose);
}

/* Galeri Yönetimi */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.gallery-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: #080c14;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(244, 63, 94, 0.85);
  color: #fff;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: background 0.15s ease;
  z-index: 2;
}

.gallery-card-remove:hover {
  background: #f43f5e;
}

.gallery-add-card {
  border: 1px dashed var(--accent-emerald);
  background: rgba(0, 230, 118, 0.04);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 12px;
  aspect-ratio: 16 / 9;
  transition: all 0.2s ease;
}

.gallery-add-card:hover {
  background: rgba(0, 230, 118, 0.1);
  border-color: #00ff83;
}

/* ====================================================================
   🌐 STEAMWORKS DİL & SES & ALTYAZI MATRİSİ (LANGUAGE MATRIX)
   ==================================================================== */
.lang-presets-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.lang-chip-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-chip-btn:hover {
  border-color: var(--accent-emerald);
  color: #fff;
  background: var(--bg-elevated);
}

.lang-chip-btn.selected {
  background: rgba(0, 230, 118, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  font-weight: 700;
}

.lang-matrix-table-container {
  overflow-x: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-base);
}

.lang-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}

.lang-matrix-table th {
  background: var(--bg-elevated);
  padding: 10px 14px;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-default);
}

.lang-matrix-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: #fff;
  vertical-align: middle;
}

.lang-matrix-table tr:last-child td {
  border-bottom: none;
}

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

.lang-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent-emerald);
}

.lang-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.lang-remove-btn:hover {
  color: var(--accent-rose);
  background: rgba(244, 63, 94, 0.1);
}

/* O2 OXYGEN ENTITY CHIPS & BADGES */
.oksijen-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.oksijen-badge-label.pub {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.3);
}

.oksijen-entity-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  margin-top: 6px;
  transition: all 0.2s ease;
}

.oksijen-entity-chip:hover {
  border-color: var(--accent-emerald);
  background: var(--bg-elevated);
}

.oksijen-entity-chip.pub:hover {
  border-color: var(--accent-cyan);
}

.oksijen-entity-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.oksijen-entity-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.oksijen-entity-avatar.square {
  border-radius: 8px;
}

.oksijen-entity-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oksijen-entity-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* PLATFORM SELECTION PILLS */
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  user-select: none;
}

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

.platform-pill input[type="checkbox"]:checked + span {
  color: #fff;
  font-weight: 600;
}

.platform-pill:has(input[type="checkbox"]:checked) {
  border-color: var(--accent-emerald);
  background: rgba(0, 230, 118, 0.08);
  color: #fff;
}

/* SISTEM GEREKSINIMLERI GRID */
.specs-collapse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

/* SISTEM GEREKSINIMLERI SMART SURVEY & MODE SWITCH */
.specs-mode-switch {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
}

.specs-mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.specs-mode-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.specs-mode-btn.active {
  background: var(--bg-elevated);
  color: var(--accent-emerald);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
}

.specs-mode-btn.active.manual {
  color: var(--accent-cyan);
}

.specs-survey-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.specs-q-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: border-color 0.2s ease;
}

.specs-q-item:hover {
  border-color: var(--border-default);
}

.specs-q-header {
  margin-bottom: 10px;
}

.specs-q-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.specs-q-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.specs-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.specs-radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  user-select: none;
}

.specs-radio-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.specs-radio-pill:has(input[type="radio"]:checked) {
  border-color: var(--accent-emerald);
  background: rgba(0, 230, 118, 0.1);
  color: #fff;
  font-weight: 600;
}

.specs-calc-card {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.04) 0%, rgba(56, 189, 248, 0.04) 100%);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.specs-calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.specs-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.specs-calc-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.specs-calc-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 700;
}

.specs-calc-val {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 600;
}

.specs-calc-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}

/* --- Form Alanı Rozetleri (Zorunlu / İsteğe Bağlı) --- */
.badge-field-required {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 4px;
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 8px;
  vertical-align: middle;
}

.badge-field-optional {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin-left: 8px;
  vertical-align: middle;
}

/* Form Doğrulama Hata Göstergeleri & Yönlendirme (Validation & Jump Highlight) */
.field-invalid {
  border-color: #f43f5e !important;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25), 0 0 14px rgba(244, 63, 94, 0.3) !important;
  background: rgba(244, 63, 94, 0.05) !important;
  animation: fieldShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.field-invalid-group {
  border: 1px solid rgba(244, 63, 94, 0.5) !important;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: rgba(244, 63, 94, 0.04);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.18) !important;
  animation: fieldShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes fieldShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(3px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.field-validation-error {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fb7185;
  font-size: 0.76rem;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.4;
  animation: errorSlideDown 0.2s ease;
}

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

/* İlk Hatalı Alana Yönelindiğinde Dikkat Çeken Parlama (Attention Jump Ring) */
.field-jump-highlight {
  animation: fieldTargetPulse 2s ease-out 1;
}

@keyframes fieldTargetPulse {
  0% { box-shadow: 0 0 0 6px rgba(244, 63, 94, 0.6), 0 0 24px rgba(244, 63, 94, 0.7) !important; }
  40% { box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.4), 0 0 16px rgba(244, 63, 94, 0.4) !important; }
  100% { box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25) !important; }
}

/* --- Canlı Kullanıcı & Grup Arama Açılır Listesi (Autocomplete Dropdown) --- */
.search-autocomplete-wrapper {
  position: relative;
}

.search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #0f172a;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  max-height: 280px;
  overflow-y: auto;
  z-index: 1000;
  backdrop-filter: blur(14px);
  animation: dropdownFadeIn 0.15s ease-out;
}

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

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover,
.search-result-item.active {
  background: rgba(56, 189, 248, 0.12);
}

.search-result-item.solo-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.search-result-item.solo-item:hover {
  background: rgba(148, 163, 184, 0.15);
}

.search-result-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.82rem;
  overflow: hidden;
  flex-shrink: 0;
}

.search-result-avatar.square {
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
}

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

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

.search-result-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-dropdown-loading {
  padding: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.search-dropdown-empty {
  padding: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ====================================================================
   👑 ADMIN ONAY & BİLDİRİM MASASI STİLLERİ
   ==================================================================== */

.admin-nav-section {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(245, 158, 11, 0.25);
}

.badge-alert {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  animation: pulse-border 2s infinite ease-in-out;
}

.admin-topbar-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  animation: alert-pulse 2.5s infinite;
}

.admin-topbar-alert:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
  transform: translateY(-1px);
}

@keyframes alert-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 12px 2px rgba(239, 68, 68, 0.35); }
}

/* Approvals Sayfa Düzeni */
.approvals-header {
  margin-bottom: 24px;
}

.approvals-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.approvals-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.approval-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.approval-stat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
}

.approval-stat-card.active {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.12);
}

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

.stat-icon {
  font-size: 1.4rem;
}

.stat-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--bg-highlight);
  color: var(--text-muted);
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Sekmeler ve Filtreler */
.approvals-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  border-bottom: 1px solid var(--border-default);
  padding-bottom: 14px;
}

.approvals-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.approvals-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.approvals-tab-btn.active {
  color: #fff;
  background: var(--bg-highlight);
  border-color: #f59e0b;
  box-shadow: inset 0 -2px 0 #f59e0b;
}

.approvals-filter {
  display: flex;
  align-items: center;
}

.form-select-sm {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  cursor: pointer;
}

.form-select-sm:focus {
  outline: none;
  border-color: #f59e0b;
}

/* Başvuru Kartları */
.approvals-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.approval-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s ease;
}

.approval-card.card-pending {
  border-left: 4px solid #f59e0b;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.03) 0%, var(--bg-surface) 100%);
}

.approval-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.approval-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.approval-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.approval-card-body {
  margin-bottom: 16px;
}

.approval-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  background: var(--bg-base);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.meta-val {
  font-size: 0.85rem;
  color: #fff;
  word-break: break-all;
}

.approval-desc-box {
  background: var(--bg-base);
  border-left: 3px solid var(--accent-emerald);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.desc-box-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.desc-box-content {
  color: #cbd5e1;
  white-space: pre-wrap;
}

.approval-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.btn-success {
  background: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
  color: #05080e !important;
  font-weight: 700;
  border: none;
}

.btn-success:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 14px rgba(0, 230, 118, 0.3);
}

.empty-state-panel {
  background: var(--bg-surface);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-md);
  padding: 50px 20px;
  text-align: center;
}

/* ====================================================================
   MODÜLER OYUN DÜZENLEME & KATEGORİ NAVİGASYONU (WIZARD & DIRTY STATE)
   ==================================================================== */

.editor-category-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  scrollbar-width: thin;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.category-tab:hover {
  background: var(--bg-elevated);
  border-color: var(--border-hover);
  color: #fff;
  transform: translateY(-1px);
}

.category-tab.active {
  background: rgba(0, 230, 118, 0.08);
  border-color: var(--accent-emerald);
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.15);
}

.category-tab .cat-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.category-tab.active .cat-num {
  color: var(--accent-emerald);
  background: rgba(0, 230, 118, 0.15);
  border-color: rgba(0, 230, 118, 0.3);
}

.category-tab .cat-dirty-dot {
  display: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
  animation: pulse 1.5s infinite;
}

/* Kaydedilmemiş Değişiklik Durumu (Turuncu Uyarı) */
.category-tab.is-dirty {
  border-color: #f59e0b !important;
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.1) !important;
}

.category-tab.is-dirty .cat-num {
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

.category-tab.is-dirty .cat-dirty-dot {
  display: inline-block !important;
}

/* Kategori Panelleri (Gizleme / Gösterme) */
.category-pane {
  display: none;
  animation: fadeIn 0.2s ease-in-out;
}

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

/* Yapışkan Kaydedilmemiş Değişiklik Bildirim Çubuğu */
.unsaved-alert-bar {
  position: fixed;
  bottom: 24px;
  right: 32px;
  left: 292px; /* Sidebar offset */
  background: rgba(26, 20, 10, 0.95);
  border: 1px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: slideUp 0.25s ease-out;
}

.unsaved-alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fef3c7;
  font-size: 0.86rem;
  font-weight: 600;
}

.unsaved-alert-icon {
  color: #f59e0b;
  font-size: 1rem;
}

/* Barındırma ve Medya Seçim Kartları */
.hosting-mode-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.hosting-option-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.hosting-option-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
}

.hosting-option-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.15);
}

.hosting-option-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.hosting-option-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

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

@media (max-width: 900px) {
  .unsaved-alert-bar {
    left: 20px;
    right: 20px;
    bottom: 16px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}



