/* GND Bilişim Teknik Servis - Taste Design System (Light & Dark Theme) */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* =========================================================
     DEFAULT: AYDINLIK MOD (LIGHT THEME)
     ========================================================= */
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-hover: #e2e8f0;
  
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-active: #0284c7;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --heading-color: #0f172a;

  --accent-cyan: #0284c7;
  --accent-cyan-hover: #0369a1;
  --accent-cyan-subtle: rgba(2, 132, 199, 0.08);
  --accent-cyan-border: rgba(2, 132, 199, 0.25);

  --color-success: #16a34a;
  --color-success-subtle: rgba(22, 163, 74, 0.1);
  --color-warning: #d97706;
  --color-warning-subtle: rgba(217, 119, 6, 0.1);
  --color-danger: #dc2626;
  --color-danger-subtle: rgba(220, 38, 38, 0.1);
  --color-purple: #7c3aed;
  --color-purple-subtle: rgba(124, 58, 237, 0.1);

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08);
  --shadow-cyan: 0 4px 14px rgba(2, 132, 199, 0.18);

  --nav-bg: rgba(255, 255, 255, 0.92);
  --input-bg: #ffffff;
  --code-bg: #f1f5f9;
}

[data-theme="dark"] {
  /* =========================================================
     OPSİYONEL: KARANLIK MOD (DARK THEME)
     ========================================================= */
  --bg-canvas: #09090b;
  --bg-surface: #121215;
  --bg-surface-elevated: #18181b;
  --bg-surface-hover: #222226;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-active: #00b4d8;

  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --heading-color: #ffffff;

  --accent-cyan: #00b4d8;
  --accent-cyan-hover: #0096c7;
  --accent-cyan-subtle: rgba(0, 180, 216, 0.12);
  --accent-cyan-border: rgba(0, 180, 216, 0.3);

  --color-success: #10b981;
  --color-success-subtle: rgba(16, 185, 129, 0.12);
  --color-warning: #f59e0b;
  --color-warning-subtle: rgba(245, 158, 11, 0.12);
  --color-danger: #ef4444;
  --color-danger-subtle: rgba(239, 68, 68, 0.12);
  --color-purple: #8b5cf6;
  --color-purple-subtle: rgba(139, 92, 246, 0.12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-cyan: 0 0 20px rgba(0, 180, 216, 0.2);

  --nav-bg: rgba(18, 18, 21, 0.88);
  --input-bg: #18181b;
  --code-bg: rgba(0, 0, 0, 0.25);
}

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

html {
  background-color: var(--bg-canvas);
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Tipografi */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

/* Logo Değiştirici */
.logo-light {
  display: block;
}
.logo-dark {
  display: none;
}
[data-theme="dark"] .logo-light {
  display: none;
}
[data-theme="dark"] .logo-dark {
  display: block;
}

/* Navigasyon & Header */
.top-nav {
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-badge {
  background: var(--accent-cyan-subtle);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan-border);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item:hover, .nav-item.active {
  color: var(--heading-color);
  background-color: var(--bg-surface-elevated);
}

.nav-item.active {
  color: var(--accent-cyan);
  background-color: var(--accent-cyan-subtle);
  border: 1px solid var(--accent-cyan-border);
}

/* Tema Değiştirme Butonu (Sadece İkon) */
.theme-toggle-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  color: var(--heading-color);
  border-color: var(--accent-cyan);
  background: var(--bg-surface-hover);
  transform: rotate(15deg) scale(1.08);
}

.theme-toggle-btn:active {
  transform: scale(0.92);
}

/* İkon Görünürlüğü (Saf CSS):
   Aydınlık modda (Varsayılan): Ay (Moon) ikonu görünür -> Tıklanınca karanlığa geçişi temsil eder.
   Karanlık modda: Güneş (Sun) ikonu görünür -> Tıklanınca aydınlığa geçişi temsil eder. */
.theme-icon-moon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #d97706; /* Sıcak amber */
}

.theme-icon-sun {
  display: none !important;
}

[data-theme="dark"] .theme-icon-moon {
  display: none !important;
}

[data-theme="dark"] .theme-icon-sun {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #f59e0b; /* Güneş sarısı */
}

/* Konteyner & Grid */
.main-wrapper {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  flex: 1;
  width: 100%;
}

.grid-cols-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }
.col-span-9 { grid-column: span 9; }
.col-span-12 { grid-column: span 12; }

/* Kartlar */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.card:hover {
  border-color: var(--border-medium);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--heading-color);
}

/* Butonlar - Dokunsal Basış (Tactile Push) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 40px;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background-color: var(--accent-cyan);
  color: #ffffff;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--accent-cyan-hover);
  box-shadow: var(--shadow-cyan);
}

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

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  color: var(--heading-color);
}

.btn-success {
  background-color: var(--color-success);
  color: #ffffff;
}

.btn-success:hover {
  filter: brightness(1.08);
}

.btn-danger {
  background-color: var(--color-danger);
  color: #ffffff;
}

.btn-danger:hover {
  filter: brightness(1.08);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  min-height: 32px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
  min-height: 48px;
}

.w-full {
  width: 100%;
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control, .form-select, textarea.form-control {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13.5px;
  transition: all 0.15s ease;
  outline: none;
}

.form-control:focus, .form-select:focus, textarea.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

.form-help {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Rozetler / Statü Etiketleri */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-received {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.25);
}
.badge-received .badge-dot { background: #64748b; }

.badge-diagnosing {
  background: var(--accent-cyan-subtle);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan-border);
}
.badge-diagnosing .badge-dot { background: var(--accent-cyan); }

.badge-pending_quote {
  background: var(--color-warning-subtle);
  color: var(--color-warning);
  border: 1px solid rgba(217, 119, 6, 0.3);
}
.badge-pending_quote .badge-dot { background: var(--color-warning); }

.badge-quote_approved {
  background: var(--color-success-subtle);
  color: var(--color-success);
  border: 1px solid rgba(22, 163, 74, 0.3);
}
.badge-quote_approved .badge-dot { background: var(--color-success); }

.badge-quote_rejected {
  background: var(--color-danger-subtle);
  color: var(--color-danger);
  border: 1px solid rgba(220, 38, 38, 0.3);
}
.badge-quote_rejected .badge-dot { background: var(--color-danger); }

.badge-in_repair {
  background: var(--color-purple-subtle);
  color: var(--color-purple);
  border: 1px solid rgba(124, 58, 237, 0.3);
}
.badge-in_repair .badge-dot { background: var(--color-purple); }

.badge-ready_for_pickup {
  background: rgba(22, 163, 74, 0.15);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.35);
}
.badge-ready_for_pickup .badge-dot { background: #16a34a; }

.badge-delivered {
  background: rgba(148, 163, 184, 0.15);
  color: #475569;
  border: 1px solid var(--border-subtle);
}
.badge-delivered .badge-dot { background: #94a3b8; }

.badge-waiting_parts {
  background: var(--color-warning-subtle);
  color: var(--color-warning);
  border: 1px solid rgba(217, 119, 6, 0.3);
}
.badge-waiting_parts .badge-dot { background: var(--color-warning); }

.badge-testing {
  background: var(--accent-cyan-subtle);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan-border);
}
.badge-testing .badge-dot { background: var(--accent-cyan); }

/* Tablolar */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

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

.table th {
  background-color: var(--bg-surface-elevated);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 13px;
  vertical-align: middle;
}

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

.table tr:hover td {
  background-color: var(--bg-surface-elevated);
}

/* Durum İlerleme Çubuğu (Stepper Timeline) */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 30px 0;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  height: 2px;
  background-color: var(--border-medium);
  z-index: 1;
}

.stepper-progress {
  position: absolute;
  top: 18px;
  left: 24px;
  height: 2px;
  background-color: var(--accent-cyan);
  z-index: 2;
  transition: width 0.4s ease;
}

.step-item {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.step-item.active .step-circle {
  border-color: var(--accent-cyan);
  background-color: var(--bg-surface);
  color: var(--accent-cyan);
  box-shadow: var(--shadow-cyan);
}

.step-item.completed .step-circle {
  border-color: var(--color-success);
  background-color: var(--color-success);
  color: #ffffff;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
  color: var(--text-muted);
  white-space: nowrap;
}

.step-item.active .step-label {
  color: var(--heading-color);
  font-weight: 700;
}

.step-item.completed .step-label {
  color: var(--color-success);
}

/* Bildirim Kutuları (Alerts) */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-info {
  background: var(--accent-cyan-subtle);
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
}

.alert-success {
  background: var(--color-success-subtle);
  border: 1px solid rgba(22, 163, 74, 0.3);
  color: var(--color-success);
}

.alert-warning {
  background: var(--color-warning-subtle);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--color-warning);
}

.alert-danger {
  background: var(--color-danger-subtle);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--color-danger);
}

/* Termal Fiş Yazdırma Standartları (80mm) */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }
  .top-nav, .no-print, .btn, footer, .theme-toggle-btn {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .receipt-container {
    width: 80mm;
    margin: 0 auto;
    padding: 5mm;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    line-height: 1.3;
    color: #000000;
  }
}

.print-only {
  display: none;
}

/* Responsive Kuralları (< 768px tek sütun) */
@media (max-width: 768px) {
  .grid-cols-12 {
    display: flex;
    flex-direction: column;
  }
  .col-span-3, .col-span-4, .col-span-5, .col-span-6, .col-span-7, .col-span-8, .col-span-9, .col-span-12 {
    width: 100%;
  }
  .stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .stepper::before, .stepper-progress {
    display: none;
  }
  .step-item {
    flex-direction: row;
    gap: 12px;
  }
  .step-label {
    margin-top: 0;
  }
}

/* SMS Tetikleyici Onay Kutusu Kartı (Aydınlık & Karanlık Uyumlu) */
.sms-trigger-card {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background-color: var(--bg-surface-elevated);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  width: 100%;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.sms-trigger-card:hover {
  border-color: var(--accent-cyan);
  background-color: var(--accent-cyan-subtle);
}

.sms-trigger-card:has(input:checked) {
  border-color: var(--accent-cyan);
  background-color: var(--accent-cyan-subtle);
  box-shadow: 0 0 0 1px var(--accent-cyan);
}

.sms-trigger-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
  flex-shrink: 0;
}

.sms-trigger-card .sms-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Modal Pencere (Müşteri Bilgi Kartı) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.active {
  display: flex;
}
.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}
.modal-body {
  padding: 24px;
}
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.modal-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
}
.modal-close-btn:hover {
  color: var(--heading-color);
  background: var(--border-subtle);
}

/* =========================================================
   CANLI MÜŞTERİ KARAR BİLDİRİM ZİLİ & TOAST BİLEŞENLERİ (FAZ 24)
   ========================================================= */
.notif-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notif-bell-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.notif-bell-btn:hover {
  color: var(--heading-color);
  border-color: var(--accent-cyan);
  background: var(--bg-surface-hover);
  transform: scale(1.08);
}

.notif-bell-btn.has-unread {
  color: var(--color-warning);
  border-color: rgba(217, 119, 6, 0.4);
}

.notif-bell-btn.ring {
  animation: bellRing 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes bellRing {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(18deg) scale(1.15); }
  30% { transform: rotate(-18deg) scale(1.15); }
  45% { transform: rotate(12deg); }
  60% { transform: rotate(-12deg); }
  75% { transform: rotate(6deg); }
  90% { transform: rotate(-3deg); }
}

.notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--color-danger);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-surface);
  box-shadow: 0 2px 5px rgba(220, 38, 38, 0.4);
  font-family: var(--font-mono);
  animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); box-shadow: 0 0 10px rgba(220, 38, 38, 0.6); }
  100% { transform: scale(1); }
}

/* Bildirim Açılır Menüsü (Dropdown) */
.notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  max-width: 90vw;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(0,0,0,0.15);
  z-index: 1000;
  overflow: hidden;
  animation: notifDropIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

@keyframes notifDropIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.notif-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-header-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.notif-clear-btn {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--accent-cyan);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}
.notif-clear-btn:hover {
  text-decoration: underline;
}

.notif-list {
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
  position: relative;
}

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

.notif-item:hover {
  background: var(--bg-surface-hover);
}

.notif-item.unread {
  background: var(--accent-cyan-subtle);
}

.notif-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notif-item-icon.approved {
  background: var(--color-success-subtle);
  color: var(--color-success);
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.notif-item-icon.rejected {
  background: var(--color-danger-subtle);
  color: var(--color-danger);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.notif-item-content {
  flex: 1;
  min-width: 0;
}

.notif-item-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--heading-color);
  line-height: 1.3;
}

.notif-item-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.notif-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.notif-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  text-align: center;
  font-size: 12px;
}

/* Toast Bildirim Konteyneri & Kartları */
.gnd-toast-container {
  position: fixed;
  top: 72px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  width: calc(100vw - 40px);
  pointer-events: none;
}

.gnd-toast {
  pointer-events: auto;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--border-medium);
  border-left: 5px solid var(--accent-cyan);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.gnd-toast.approved {
  border-left-color: var(--color-success);
}

.gnd-toast.rejected {
  border-left-color: var(--color-danger);
}

.gnd-toast.hiding {
  opacity: 0;
  transform: translateX(60px);
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}

.gnd-toast-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.gnd-toast-body {
  flex: 1;
  min-width: 0;
}

.gnd-toast-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gnd-toast-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.35;
}

.gnd-toast-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.gnd-toast-btn {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border: none;
}

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

.gnd-toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  line-height: 1;
}
.gnd-toast-close:hover {
  color: var(--heading-color);
}

