/* ============================================================
   PANEL GLOBAL
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f4f6f9;
  color: #212529;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.panel-layout {
  display: flex;
  height: 100vh;
  overflow: hidden; /* sayfa (tarayıcı) kaymaz; içerik kendi alanında kayar */
}

.panel-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  min-width: 0;
  min-height: 0; /* flex item içerik taşınca scroll açabilsin */
}

.content-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dee2e6;
}

/* ============================================================
   KARTLAR (.card) — açık gri zemine karşı belirgin kutucuk
   ============================================================ */
.card {
  border: 1px solid #b9c3d4;   /* belirgin çerçeve (varsayılan #dee2e6'dan net farklı) */
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.06), 0 4px 12px rgba(16,24,40,0.10);
  background: #fff;
}
/* card-header üst köşeleri yuvarlatmayı bozmasın + alt ayraç belirgin */
.card > .card-header:first-child {
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #dbe0ea;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  width: 220px;
  min-width: 220px;
  background: #1e2130;
  color: #c8cdd8;
  padding: 0;
  transition: width 0.2s ease, min-width 0.2s ease;
  overflow: hidden;
  height: 100vh;
  display: flex;            /* footer altta sabit, nav içeride scroll (class'a güvenme) */
  flex-direction: column;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}

.sidebar-brand i {
  font-size: 1.3rem;
  color: #4e8ef5;
  flex-shrink: 0;
}
.sidebar-logo-metin {
  font-size: 1.3rem;
  font-weight: 800;
  color: #e63946 !important;
  letter-spacing: -0.5px;
  text-decoration: none !important;
}

/* Toggle button */
.sidebar-toggle {
  background: none;
  border: none;
  color: #a0a8b8;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.sidebar-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Collapsed state — tam gizle */
.sidebar.collapsed {
  width: 0;
  min-width: 0;
  padding: 0;
}

/* Desktop sidebar aç butonu (collapsed iken görünür) */
.sidebar-pill {
  display: none;
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1045;
  background: #1e2130;
  color: #a0a8b8;
  border: none;
  border-radius: 0 8px 8px 0;
  width: 18px;
  height: 52px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: background 0.15s, color 0.15s, width 0.15s;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
}
.sidebar-pill:hover { background: #2d3452; color: #fff; width: 22px; }
.sidebar-pill.visible { display: flex; }

.sidebar-nav {
  padding: 12px 0;
  flex: 1 1 auto;   /* kalan alanı doldur + gerekirse küçül */
  min-height: 0;    /* flex item'in küçülüp scroll açabilmesi için */
  overflow-y: auto;
}
/* İnce, koyu temaya uygun scrollbar */
.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.28); }

/* Kullanıcı bilgisi (brand altı) */
.sidebar-account {
  padding: 8px 20px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  overflow: hidden;
}
.sidebar-account-ad {
  font-size: 0.82rem;
  color: #e0e4ee;
  font-weight: 500;
}
.sidebar-account-rol {
  font-size: 0.71rem;
  color: #7a84a0;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sidebar.collapsed .sidebar-account { display: none; }

/* Mobil overlay backdrop */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1049;
}
.sidebar-overlay.active { display: block; }

/* Mobil hamburger */
.sidebar-mobile-btn {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1040;
  background: #1e2130;
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #a0a8b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.nav-item:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.nav-item-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.nav-item.active {
  background: rgba(78,142,245,0.15);
  color: #4e8ef5;
  font-weight: 500;
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #4e8ef5;
  border-radius: 0 2px 2px 0;
}

.badge-yeni, .badge-talep {
  color: #fff;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: auto;
  animation: pulse 1.2s infinite;
}
.badge-yeni  { background: #dc3545; }
.badge-talep { background: #f97316; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Sidebar accordion nav-group ───────────────────────── */
.nav-group-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #a0a8b8;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.nav-group-toggle:hover { background: rgba(255,255,255,0.07); color: #fff; }
.nav-group.open .nav-group-toggle { color: #e2e6f0; }
.nav-group-icon { transition: transform 0.2s; margin-left: auto; font-size: 0.72rem; }
.nav-group.open .nav-group-icon { transform: rotate(180deg); }
.nav-group-items { display: none; }
.nav-group.open .nav-group-items { display: block; }
.nav-sub { padding-left: 38px !important; font-size: 0.85rem !important; }
.nav-sub.active { padding-left: 36px !important; }

/* ── İç içe (2. seviye) nav-group ─────────────────────────── */
.nav-group-sub-toggle {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 38px;
  font-size: 0.85rem; color: #b0bbd0; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.nav-group-sub-toggle:hover { background: rgba(255,255,255,0.07); color: #fff; }
.nav-group-sub.open .nav-group-sub-toggle { color: #e2e6f0; }
.nav-group-sub-icon { transition: transform 0.2s; margin-left: auto; font-size: 0.68rem; }
.nav-group-sub.open .nav-group-sub-icon { transform: rotate(180deg); }
.nav-group-sub-items { display: none; }
.nav-group-sub.open .nav-group-sub-items { display: block; }
.nav-sub-sub { padding-left: 56px !important; font-size: 0.82rem !important; }

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0; /* asla küçülme/scroll dışına taşma — hep altta sabit */
}

/* ============================================================
   MASA KARTLARI (Siparişler)
   ============================================================ */
.masa-kart {
  border-radius: 8px;
  padding: 10px 10px 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s, transform 0.1s, box-shadow 0.15s;
  user-select: none;
}
.masa-kart.bos {
  background: #fff;
  border-color: #dee2e6;
  color: #6c757d;
}
.masa-kart.bos:hover {
  border-color: #adb5bd;
  transform: translateY(-1px);
}
.masa-kart.aktif {
  background: #f0fdf4;
  border-color: #198754;
  color: #212529;
  box-shadow: 0 2px 8px rgba(25,135,84,0.15);
}
.masa-kart.aktif:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25,135,84,0.25);
}
.masa-kart.secili {
  border-color: #0d6efd !important;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.2) !important;
}
.masa-kart.garson-istek {
  background: #fffbeb;
  border-color: #fbbf24;
  box-shadow: 0 2px 8px rgba(251,191,36,0.25);
}
.masa-kart.garson-istek:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(251,191,36,0.35); }
.masa-kart.hesap-istek {
  background: #fff7ed;
  border-color: #f97316;
  box-shadow: 0 2px 8px rgba(249,115,22,0.25);
}
.masa-kart.hesap-istek:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(249,115,22,0.35); }
.masa-kart.masa-mesguliyet {
  background: #fff0f0;
  border-color: #dc3545;
  box-shadow: 0 2px 8px rgba(220,53,69,0.25);
}
.masa-kart.masa-mesguliyet:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(220,53,69,0.35); }
.masa-no {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.masa-bilgi {
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================================
   MASA LAYOUT KANVASI (Siparişler — PC)
   ============================================================ */
.masa-layout-wrapper {
  overflow: hidden;
  border: 1px solid #e2d5c0;
  border-radius: 8px;
  background: #f6efe4;          /* çok açık kahverengi zemin */
}
.masa-layout-kanvas {
  position: relative;
  background: transparent;       /* grid çizgileri kaldırıldı */
}
/* Canvas'taki masa kartları absolute konumlanır */
.masa-layout-kanvas .masa-kart {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
}
.masa-layout-kanvas .masa-kart .masa-bilgi {
  font-size: 0.68rem;
  flex-direction: column;
  gap: 1px;
  align-items: center;
  justify-content: center;
}

/* ── Kuşbakışı masa + sandalye görünümü (yalnız sipariş layout kanvası) ── */
.masa-layout-kanvas .masa-kart,
.masa-layout-kanvas .masa-kart.bos,
.masa-layout-kanvas .masa-kart.aktif,
.masa-layout-kanvas .masa-kart.garson-istek,
.masa-layout-kanvas .masa-kart.hesap-istek,
.masa-layout-kanvas .masa-kart.masa-mesguliyet {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
}
/* Sandalyeler — 4 kenarda yuvarlak ped */
.masa-layout-kanvas .masa-kart::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 7%,  #b59873 0 4px, transparent 5px),
    radial-gradient(circle at 50% 93%, #b59873 0 4px, transparent 5px),
    radial-gradient(circle at 7% 50%,  #b59873 0 4px, transparent 5px),
    radial-gradient(circle at 93% 50%, #b59873 0 4px, transparent 5px);
  background-repeat: no-repeat;
}
/* Tabla (tabletop) — masa yüzeyi */
.masa-layout-kanvas .masa-kart::after {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: 9px;
  z-index: 0;
  background: #efe3d0;                 /* boş masa = açık ahşap */
  border: 1.5px solid #cdb38a;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.55), inset 0 -2px 5px rgba(0,0,0,.10);
}
.masa-layout-kanvas .masa-kart.sekil-yuvarlak::after { border-radius: 50%; }
/* Durum renkleri tablaya yansır */
.masa-layout-kanvas .masa-kart.aktif::after          { background:#cfe8d6; border-color:#198754; }
.masa-layout-kanvas .masa-kart.garson-istek::after   { background:#fdf2cf; border-color:#fbbf24; }
.masa-layout-kanvas .masa-kart.hesap-istek::after    { background:#fde6cf; border-color:#f97316; }
.masa-layout-kanvas .masa-kart.masa-mesguliyet::after{ background:#fad4d4; border-color:#dc3545; }
.masa-layout-kanvas .masa-kart.secili::after         { box-shadow:0 0 0 3px rgba(13,110,253,.35); border-color:#0d6efd; }
/* Yazılar (masa no/bilgi) tablanın üstünde kalsın */
.masa-layout-kanvas .masa-kart > * { position: relative; z-index: 1; }

/* ============================================================
   MASA DÜZENİ EDİTÖRÜ (Masalar sayfası)
   ============================================================ */
.layout-editor-wrapper {
  overflow: auto;                    /* fallback (aşırı küçük ekran); normalde tam sığar */
  height: calc(100vh - 230px);
  min-height: 300px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #f8f9fa;
}
.layout-editor-canvas {
  position: relative;
  background-color: #f8f9fa;
  background-image:
    linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  user-select: none;
}
.layout-masa {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: grab;
  border: 2px solid #adb5bd;
  background: #fff;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  transition: border-color 0.1s, box-shadow 0.1s;
  z-index: 1;
  text-align: center;
  line-height: 1.2;
  color: #212529;
}
.layout-masa:active { cursor: grabbing; }
.layout-masa.selected {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.25);
  z-index: 2;
}
.layout-masa.collision {
  border-color: #dc3545;
  background: #fff0f0;
}
.layout-masa.sekil-yuvarlak { border-radius: 50%; }
.layout-masa.sekil-dikdortgen { border-radius: 6px; }
.layout-masa .lm-ad {
  font-size: 0.68rem;
  color: #6c757d;
  font-weight: 400;
}

/* ============================================================
   BİLDİRİM PANELİ (Sağ)
   ============================================================ */
.notif-panel {
  width: 288px;
  min-width: 288px;
  background: #fff;
  border-left: 2px solid #adb5bd;
  box-shadow: -3px 0 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
}
.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #1e2130;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.notif-panel-icerik {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

/* Bildirim kartı */
.notif-kart {
  border: 1px solid #dee2e6;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  animation: slideIn 0.2s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.notif-kart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #fffbf0;
  border-bottom: 1px solid #f1f3f5;
}
.notif-urun {
  display: flex;
  justify-content: space-between;
  padding: 3px 12px;
  font-size: 0.83rem;
}
.notif-kart-not {
  padding: 4px 12px;
  font-size: 0.78rem;
  color: #6c757d;
  background: #f8f9fa;
  font-style: italic;
}
.not-tr-satir {
  margin-top: 3px;
  color: #0d6efd;
  font-style: normal;
  font-size: 0.76rem;
}
.notif-kart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

/* ============================================================
   SİPARİŞ KARTLARI
   ============================================================ */
.siparis-kart {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.siparis-kart.onaylandi { border-left: 4px solid #198754; }
.siparis-kart.bekliyor  { border-left: 4px solid #ffc107; }

.siparis-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  flex-wrap: wrap;
}
.siparis-no {
  font-weight: 600;
  font-size: 0.85rem;
  color: #495057;
}
.siparis-saat {
  color: #6c757d;
  font-size: 0.8rem;
}
.siparis-urun {
  display: flex;
  justify-content: space-between;
  padding: 4px 12px;
  font-size: 0.85rem;
  border-bottom: 1px solid #f1f3f5;
}
.siparis-urun:last-of-type { border-bottom: none; }
.siparis-not {
  padding: 6px 12px;
  font-size: 0.8rem;
  color: #6c757d;
  background: #fffbf0;
  border-top: 1px solid #f1f3f5;
  font-style: italic;
}
.siparis-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

/* ============================================================
   GARSON SİPARİŞ GIRIŞI
   ============================================================ */
/* Garson kaynaklı notif kart */
.notif-kart.garson-siparis {
  border-left-color: #fd7e14;
}
.notif-kart.garson-siparis .notif-kart-header {
  background: #fff8f0;
}

/* Ürün kart adet badge */
.garson-urun-kart {
  position: relative;
}
.garson-urun-adet-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #4e8ef5;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.garson-urun-kart.sepette {
  border-color: #4e8ef5;
  background: #f0f7ff;
}

.garson-urun-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
}
.garson-urun-kart {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
  user-select: none;
}
.garson-urun-kart:hover  { border-color: #4e8ef5; background: #f0f7ff; }
.garson-urun-kart:active { transform: scale(0.97); }
.garson-urun-ad    { font-size: 0.82rem; font-weight: 500; margin-bottom: 2px; }
.garson-urun-fiyat { font-size: 0.78rem; color: #4e8ef5; }

/* ============================================================
   LOGIN
   ============================================================ */
.login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: url('/images/giris-arkaplan.jpg') center center / cover no-repeat;
  position: relative;
}
.login-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 40, 0.45);
  backdrop-filter: blur(6px);
}
.login-card {
  position: relative;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.45);
}
.login-logo {
  text-align: center;
  margin-bottom: 28px;
  color: #1e2130;
}
.login-logo i  { font-size: 2.5rem; color: #4e8ef5; }
.login-logo h4 { margin: 8px 0 0; font-weight: 600; }
.login-marka   { font-size: 2rem; font-weight: 800; color: #e63946; letter-spacing: -0.5px; }

/* ============================================================
   QR KODLARI
   ============================================================ */
.qr-kart {
  transition: box-shadow 0.15s, transform 0.15s;
}
.qr-kart:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ============================================================
   BUTON BOYUTLARI
   ============================================================ */
.btn-xs {
  padding: 2px 6px;
  font-size: 0.75rem;
  line-height: 1.4;
  border-radius: 4px;
}

/* ============================================================
   KART
   ============================================================ */
.card {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.card-header {
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 12px 16px;
  border-radius: 10px 10px 0 0 !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  /* Notif panel masaüstü sabit yerinden kalkar, mobil drawer'a dönüşür */
  .notif-panel {
    display: flex;
    position: fixed;
    top: 0;
    right: -300px;
    width: 288px;
    height: 100dvh;
    z-index: 1060;
    transition: right 0.25s ease;
    box-shadow: -4px 0 16px rgba(0,0,0,0.18);
  }
  .notif-panel.mobile-open {
    right: 0;
  }
  /* Drawer backdrop */
  .notif-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1055;
  }
  .notif-overlay.active { display: block; }
  /* Floating badge butonu */
  .notif-mobile-btn {
    display: flex;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 1054;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1e2130;
    color: #fff;
    border: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    cursor: pointer;
  }
  .notif-mobile-btn .notif-mobile-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 0.65rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
  }
  /* Drawer header'a X butonu */
  .notif-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .notif-panel-close:hover { background: rgba(255,255,255,0.25); }
}

@media (min-width: 992px) {
  .notif-mobile-btn  { display: none !important; }
  .notif-overlay     { display: none !important; }
  .notif-panel-close { display: none !important; }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -230px;
    width: 220px;
    min-width: 220px;
    z-index: 1050;
    height: 100vh;
    transition: left 0.25s ease;
  }
  .sidebar.mobile-open {
    left: 0;
  }
  /* Mobilde collapsed sıfırla — mobil kendi hamburger mekanizmasını kullanır */
  .sidebar.collapsed {
    width: 220px;
    min-width: 220px;
    padding: 0;
  }
  .sidebar-pill { display: none !important; }

  .sidebar-mobile-btn { display: flex; }
  .panel-content { padding-left: 16px; }
}

.combo-drop-item:hover { background: #f0f4ff; }
.combo-drop-item:active { background: #dde6ff; }

/* ── Paket Kilidi UI ─────────────────────────────────────────── */
.paket-kapali-overlay {
  position: absolute; inset: 0; z-index: 10;
  background: rgba(255,255,255,.45);
  cursor: not-allowed;
  border-radius: inherit;
}
.paket-kapali-kart { opacity: .85; }
