/* ═══════════════════════════════════════════════════════════════
   DijitalYük — Tasarım Sistemi (style.css)
   Referans: tasarim-rehberi.html + dijitalyuk_auth_v1.html
   Font: Montserrat | İkon: SVG inline (stroke-based)
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS DEĞİŞKENLER ─── */
:root {
  /* Ana Renkler */
  --navy:        #0A2540;
  --navy-light:  #13325A;
  --orange:      #FF6B1A;
  --orange-hover:#E85A10;
  --white:       #FFFFFF;
  --bg:          #FAFBFC;

  /* Gri Tonları */
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;

  /* Durum Renkleri */
  --success:  #10B981;
  --info:     #3B82F6;
  --warning:  #F59E0B;
  --danger:   #EF4444;

  /* Durum Açık Tonları */
  --success-light: #F0FDF4;
  --info-light:    #EFF6FF;
  --warning-light: #FFFBEB;
  --danger-light:  #FEF2F2;

  /* Font */
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Border Radius */
  --radius-sm:  6px;
  --radius:     8px;
  --radius-md:  10px;
  --radius-lg:  12px;
  --radius-xl:  14px;
  --radius-2xl: 16px;
  --radius-pill: 20px;

  /* Gölge */
  --shadow-sm:  0 1px 2px rgba(10,37,64,0.05);
  --shadow:     0 1px 3px rgba(10,37,64,0.08), 0 1px 2px rgba(10,37,64,0.04);
  --shadow-md:  0 4px 6px rgba(10,37,64,0.06), 0 2px 4px rgba(10,37,64,0.04);
  --shadow-lg:  0 10px 25px rgba(10,37,64,0.08);
  --shadow-xl:  0 20px 60px rgba(10,37,64,0.12);

  /* Geçiş */
  --transition: all 0.15s ease;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--navy);
  text-decoration: none;
}
a:hover {
  color: var(--orange);
}

/* ─── İKON SİSTEMİ ─── */
svg.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
svg.icon.icon-sm { width: 15px; height: 15px; }
svg.icon.icon-lg { width: 22px; height: 22px; }
svg.icon.icon-xl { width: 28px; height: 28px; }

/* ─── TİPOGRAFİ ─── */
h1 { font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
h2 { font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: -0.3px; }
h3 { font-size: 18px; font-weight: 700; color: var(--navy); }
h4 { font-size: 15px; font-weight: 700; color: var(--navy); }

.text-sm    { font-size: 12px; }
.text-xs    { font-size: 11px; }
.text-base  { font-size: 13px; }
.text-md    { font-size: 14px; }
.text-lg    { font-size: 15px; }

.text-muted { color: var(--gray-500); }
.text-navy  { color: var(--navy); }
.text-orange{ color: var(--orange); }
.text-success{ color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning{ color: var(--warning); }
.text-info   { color: var(--info); }

.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── LOGO ─── */
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.5px;
}

/* ─── BUTONLAR ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

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

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--gray-50);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}
.btn-danger:hover {
  background: #DC2626;
  border-color: #DC2626;
}

.btn-warning {
  background: var(--warning);
  color: var(--white);
  border-color: var(--warning);
}
.btn-warning:hover {
  background: #D97706;
  border-color: #D97706;
}

.btn-success {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}
.btn-success:hover {
  background: #059669;
  border-color: #059669;
}

.btn-info {
  background: var(--info);
  color: var(--white);
  border-color: var(--info);
}
.btn-info:hover {
  background: #2563EB;
  border-color: #2563EB;
}

/* Boyutlar */
.btn-sm { padding: 7px 12px; font-size: 12px; border-radius: var(--radius-md); }
.btn-lg { padding: 13px 24px; font-size: 14px; }

/* Sadece ikon */
.btn-icon { padding: 9px; }
.btn-icon.btn-sm { padding: 6px; }

/* ─── ROZETLER (BADGE) ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: var(--navy);
  color: #fff;
}

.badge-sm { padding: 3px 8px; font-size: 10px; }

.badge-blue   { background: var(--info-light); color: var(--info); }
.badge-green  { background: var(--success-light); color: #15803D; }
.badge-yellow { background: var(--warning-light); color: #B45309; }
.badge-red    { background: var(--danger-light); color: #DC2626; }
.badge-gray   { background: var(--gray-100); color: var(--gray-600); }
.badge-navy   { background: var(--navy); color: #fff; }
.badge-orange { background: #FFF7ED; color: var(--orange); }

/* ─── FORM ELEMANLARI ─── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label,
.field-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field input[type="datetime-local"],
.field input[type="search"],
.field textarea,
.field select,
.field-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  outline: none;
  transition: var(--transition);
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.field-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,37,64,0.07);
}

.field input::placeholder,
.field textarea::placeholder,
.field-input::placeholder {
  color: var(--gray-400);
}

/* Compact filtre inputları (card-header, toolbar) */
.field-input-sm {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  height: 34px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-800);
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
select.field-input-sm {
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.field-input-sm:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(10,37,64,0.06);
}
.field-input-sm::placeholder { color: var(--gray-400); }

/* Arama inputu (büyüteç ikonlu) */
.dy-search {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.dy-search-icon {
  position: absolute;
  left: 10px;
  width: 15px;
  height: 15px;
  stroke: var(--gray-400);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: stroke 0.15s;
}
.dy-search .field-input-sm {
  padding-left: 32px;
}
.dy-search .field-input-sm:focus + .dy-search-icon,
.dy-search:focus-within .dy-search-icon {
  stroke: var(--navy);
}

/* ─── CUSTOM DROPDOWN (dy-dropdown) ─── */
.dy-dropdown {
  position: relative;
  display: inline-block;
}
.dy-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  padding-right: 28px;
  height: 34px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.dy-dropdown-trigger:hover { border-color: var(--gray-300); }
.dy-dropdown.open .dy-dropdown-trigger {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(10,37,64,0.06);
}
.dy-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 100%;
  max-height: 260px;
  overflow-y: auto;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 500;
  padding: 4px;
  animation: dyDropIn 0.15s ease;
}
.dy-dropdown.open .dy-dropdown-menu { display: block; }
.dy-dropdown.drop-up .dy-dropdown-menu { top: auto; bottom: calc(100% + 4px); }
@keyframes dyDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dy-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.1s;
  white-space: nowrap;
}
.dy-dropdown-item:hover {
  background: var(--gray-50);
  color: var(--navy);
}
.dy-dropdown-item.active {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.dy-dropdown-item .dy-check {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dy-dropdown-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 4px 0;
}

/* Dropdown içi arama (>10 seçenek olduğunda otomatik görünür) */
.dy-dropdown-search {
  position: sticky;
  top: -4px;
  margin: -4px -4px 4px -4px;
  padding: 8px 10px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.dy-dropdown-search-icon {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
  flex-shrink: 0;
}
.dy-dropdown-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  padding: 2px 0;
  min-width: 0;
}
.dy-dropdown-search-input::placeholder { color: var(--gray-400); font-weight: 500; }
.dy-dropdown-list { display: block; }
.dy-dropdown-empty {
  padding: 14px 12px;
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  font-weight: 500;
}
.dy-dropdown-form .dy-dropdown-search-input { font-size: 13px; }
.dy-dropdown-form .dy-dropdown-empty { font-size: 13px; padding: 18px 12px; }

/* Form boyutu (drawer/modal içindeki select.field-input için) */
.dy-dropdown-form { display: block; width: 100%; }
.dy-dropdown-form .dy-dropdown-trigger {
  height: 40px;
  padding: 10px 12px;
  padding-right: 32px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  width: 100%;
}
.dy-dropdown-form .dy-dropdown-menu {
  max-height: 280px;
  font-size: 13px;
}
.dy-dropdown-form .dy-dropdown-item {
  padding: 9px 12px;
  font-size: 13px;
}

.field input:disabled,
.field-input:disabled {
  background: var(--gray-100);
  color: var(--gray-400);
  cursor: not-allowed;
}

.req { color: var(--orange); font-weight: 700; }

.field-input.valid  { border-color: #22C55E; }
.field-input.error  { border-color: #DC2626; background: #FEF2F2; }

.field-hint     { font-size: 11px; font-weight: 500; }
.field-hint.err { color: #DC2626; }
.field-hint.ok  { color: #15803D; }

/* Input ikonlu */
.field-wrap { position: relative; }
.field-input.has-icon { padding-left: 42px; }
.field-input.has-icon-right { padding-right: 42px; }
.field-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400);
}
.field-icon svg { width: 16px; height: 16px; }
.field-icon-right {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400); cursor: pointer; transition: color 0.15s;
}
.field-icon-right:hover { color: var(--navy); }
.field-icon-right svg { width: 16px; height: 16px; }

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-grid .full { grid-column: 1 / -1; }

/* Select */
.form-select {
  padding: 8px 12px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  outline: none;
}

/* Checkbox */
.form-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  accent-color: var(--navy);
  cursor: pointer;
}

/* Toggle switch */
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: var(--gray-300); border-radius: 12px;
  cursor: pointer; transition: var(--transition);
}
.toggle-slider::after {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; background: #fff; border-radius: 50%;
  transition: var(--transition);
}
.toggle input:checked + .toggle-slider { background: var(--navy); }
.toggle input:checked + .toggle-slider::after { transform: translateX(20px); }

/* File upload (eski) */
.file-upload {
  border: 2px dashed var(--gray-300); border-radius: var(--radius-xl);
  padding: 32px; text-align: center; cursor: pointer; transition: var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--gray-500); font-size: 13px; font-weight: 500;
}
.file-upload:hover { border-color: var(--navy); color: var(--navy); background: var(--gray-50); }

/* ─── DY FILE UPLOAD (drawer/modal komponent) ─── */
.dy-file {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius);
  cursor: pointer; transition: all .15s;
  font-size: 13px; color: var(--gray-600); font-family: var(--font);
  position: relative;
}
.dy-file:hover {
  border-color: var(--navy); background: #fff;
  color: var(--navy);
}
.dy-file.dy-file-drag {
  border-color: var(--orange); background: #FFF7ED; color: var(--navy);
}
.dy-file.dy-file-loaded {
  border-style: solid; border-color: var(--success);
  background: #F0FDF4; color: var(--success);
}
.dy-file.dy-file-error {
  border-color: var(--danger); background: #FEF2F2; color: var(--danger);
}
.dy-file > input[type="file"] {
  position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0;
}
.dy-file-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
}
.dy-file-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dy-file-text { flex: 1; min-width: 0; line-height: 1.3; }
.dy-file-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.dy-file-text span  { display: block; font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.dy-file.dy-file-loaded .dy-file-text strong { color: var(--success); }
.dy-file-actions {
  display: flex; gap: 4px; flex-shrink: 0;
}
.dy-file-btn {
  width: 28px; height: 28px; border: none; background: transparent;
  border-radius: 6px; cursor: pointer; color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
}
.dy-file-btn:hover { background: var(--gray-100); color: var(--navy); }
.dy-file-btn.danger:hover { background: var(--danger-light); color: var(--danger); }

/* Kompakt versiyon (yan yana yerleşim için) */
.dy-file-sm { padding: 10px 12px; }
.dy-file-sm .dy-file-icon { width: 28px; height: 28px; }
.dy-file-sm .dy-file-text strong { font-size: 12px; }
.dy-file-sm .dy-file-text span { font-size: 10px; }

/* ─── DY PROMPT (select opts) ─── */
.dy-prompt-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dy-prompt-opt {
  display: block; padding: 12px 14px;
  background: #fff; border: 1.5px solid var(--gray-200);
  border-radius: 8px; cursor: pointer; transition: all .15s;
  text-align: left; font-family: var(--font);
}
.dy-prompt-opt:hover { border-color: var(--navy); }
.dy-prompt-opt.active { border-color: var(--orange); background: #FFF7ED; }
.dy-prompt-opt strong {
  display: block; font-size: 13px; font-weight: 700; color: var(--navy);
}
.dy-prompt-opt span {
  display: block; font-size: 11px; color: var(--gray-500); margin-top: 2px;
}

/* ─── DY PAGINATION ─── */
.dy-pager {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--white);
  border-top: 1px solid var(--gray-100);
  font-size: 12px; color: var(--gray-500); flex-wrap: wrap; gap: 8px;
}
.dy-pager-info { font-weight: 500; }
.dy-pager-controls { display: flex; align-items: center; gap: 4px; }
.dy-pager-btn {
  min-width: 32px; height: 30px; padding: 0 10px;
  border: 1px solid var(--gray-200); background: var(--white);
  border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 600;
  color: var(--gray-600); font-family: var(--font);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.dy-pager-btn:hover:not(:disabled) { border-color: var(--navy); color: var(--navy); }
.dy-pager-btn.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.dy-pager-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.dy-pager-ellipsis { padding: 0 6px; color: var(--gray-400); font-weight: 700; }
.dy-pager-size { display: flex; align-items: center; gap: 6px; }
.dy-pager-size select {
  padding: 5px 24px 5px 8px; font-size: 12px;
  border: 1px solid var(--gray-200); border-radius: 6px;
  background: var(--white); cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center;
}

/* ─── KARTLAR ─── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  transition: var(--transition);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.card-body { padding: 24px; }
.card-body.p-0 { padding: 0; }

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ─── İSTATİSTİK KARTLARI ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 20px;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-value.accent { color: var(--orange); }
.stat-suffix {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-400);
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}
.stat-change.positive { background: var(--success-light); color: #15803D; }
.stat-change.negative { background: var(--danger-light); color: #DC2626; }

.stat-meta {
  display: flex;
  gap: 0;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.stat-meta-item { flex: 1; text-align: center; }
.stat-meta-value { font-size: 15px; font-weight: 800; color: var(--navy); }
.stat-meta-label { font-size: 10px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; margin-top: 2px; }

/* ─── TABLOLAR ─── */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  white-space: nowrap;
}

.data-table tbody td {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

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

/* ─── SEKMELER (TABS) ─── */
.tabs-container { margin-bottom: 20px; }

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  transition: var(--transition);
}
.tab:hover { color: var(--navy); }
.tab.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.tab-count {
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-500);
}
.tab.active .tab-count {
  background: var(--navy);
  color: var(--white);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── MODAL ─── */
.modal {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,37,64,0.5);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal.active { display: flex; }

.modal-content {
  background: var(--white);
  border-radius: var(--radius-2xl);
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid var(--gray-200);
}
.modal-title { font-size: 18px; font-weight: 700; color: var(--navy); }
.modal-close {
  width: 32px; height: 32px; border: none; background: var(--gray-100);
  border-radius: var(--radius); cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: var(--transition);
}
.modal-close:hover { background: var(--gray-200); }

.modal-body { padding: 28px; overflow-y: auto; max-height: 60vh; }
.modal-footer {
  padding: 16px 28px; border-top: 1px solid var(--gray-200);
  background: var(--gray-50); display: flex; justify-content: flex-end; gap: 8px;
}

/* ─── DRAWER (YAN PANEL) ─── */
.drawer-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(10,37,64,0.4); backdrop-filter: blur(2px);
}
.drawer-overlay.active { display: block; }

.drawer {
  position: fixed; top: 0; right: -100%; bottom: 0; z-index: 1000;
  background: var(--white); box-shadow: var(--shadow-xl);
  transition: right 0.3s ease; display: flex; flex-direction: column;
}
.drawer.active { right: 0; }
.drawer-md { width: 480px; }
.drawer-lg { width: 640px; }

.drawer-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid var(--gray-200);
}
.drawer-title { font-size: 18px; font-weight: 700; color: var(--navy); }
.drawer-subtitle { font-size: 12px; color: var(--gray-500); font-weight: 500; margin-top: 4px; }
.drawer-close {
  width: 32px; height: 32px; border: none; background: var(--gray-100);
  border-radius: var(--radius); cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0;
}
.drawer-close:hover { background: var(--gray-200); }

.drawer-body { flex: 1; overflow-y: auto; padding: 24px 28px; }
.drawer-footer {
  padding: 16px 28px; border-top: 1px solid var(--gray-200);
  background: var(--gray-50); display: flex; justify-content: flex-end; gap: 8px;
}

.drawer-section { margin-bottom: 28px; }
.drawer-section-title {
  font-size: 12px; font-weight: 700; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-200);
}

/* Info Grid (drawer içi) */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-item { display: flex; flex-direction: column; gap: 3px; }
.info-label { font-size: 11px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.3px; }
.info-value { font-size: 14px; font-weight: 600; color: var(--navy); }

/* Route Display */
.route-display { position: relative; padding-left: 20px; }
.route-point { display: flex; align-items: flex-start; gap: 14px; position: relative; }
.route-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 4px;
  border: 2.5px solid;
}
.route-dot.start { border-color: var(--success); background: var(--success-light); }
.route-dot.end   { border-color: var(--danger); background: var(--danger-light); }
.route-city { font-size: 15px; font-weight: 700; color: var(--navy); }
.route-detail { font-size: 12px; color: var(--gray-500); font-weight: 500; }
.route-time { font-size: 11px; color: var(--gray-400); font-weight: 600; margin-top: 2px; }
.route-line {
  width: 2px; height: 32px; background: var(--gray-200); margin: 4px 0 4px 5px;
}

/* ─── UYARILAR (ALERT) ─── */
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius-lg);
}
.alert-content { flex: 1; }
.alert-title { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.alert-text { font-size: 12px; font-weight: 500; opacity: 0.85; }

.alert-info    { background: var(--info-light); color: var(--info); }
.alert-success { background: var(--success-light); color: #15803D; }
.alert-warning { background: var(--warning-light); color: #B45309; }
.alert-error   { background: var(--danger-light); color: #DC2626; }

/* ─── AVATARLAR ─── */
.avatar {
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); border-radius: 50%;
  color: #fff; font-weight: 700; flex-shrink: 0;
  position: relative; overflow: hidden;
}
.avatar img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
}
.avatar-sm { width: 32px; height: 32px; font-size: 11px; }
.avatar-md { width: 44px; height: 44px; font-size: 14px; }
.avatar-lg { width: 56px; height: 56px; font-size: 18px; }
.avatar-xl { width: 80px; height: 80px; font-size: 28px; }

/* ─── SAYFA DÜZENİ ─── */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.page-header h1 { font-size: 24px; margin: 0; }
.page-header .actions { display: flex; gap: 8px; }

/* ─── SIDEBAR ─── */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 260px; background: var(--white);
  border-right: 1.5px solid var(--gray-200);
  display: flex; flex-direction: column;
  z-index: 100; transition: width 0.3s ease;
  overflow: hidden;
}
.sidebar.collapsed { width: 68px; }

.sidebar-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 20px; border-bottom: 1.5px solid var(--gray-100);
}
.sidebar-brand .logo-mark { background: var(--navy); border: none; }
.sidebar-brand-text { font-size: 16px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.sidebar-brand-text span { color: var(--orange); }
.sidebar.collapsed .sidebar-brand-text { display: none; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 0; }

.sidebar-group-label {
  padding: 16px 20px 8px;
  font-size: 10px; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.sidebar.collapsed .sidebar-group-label { display: none; }

.sidebar-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; margin: 2px 8px;
  border-radius: var(--radius); color: var(--gray-500);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: var(--transition); text-decoration: none;
  position: relative;
}
.sidebar-item:hover { background: var(--gray-50); color: var(--navy); }
.sidebar-item.active {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius);
}
.sidebar-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-item span { white-space: nowrap; }
.sidebar.collapsed .sidebar-item span { display: none; }
.sidebar.collapsed .sidebar-item { justify-content: center; padding: 10px; }

.sidebar-item .badge {
  margin-left: auto; padding: 2px 7px; font-size: 10px;
  background: var(--orange); color: var(--white);
}
.sidebar.collapsed .sidebar-item .badge { display: none; }

.sidebar-footer {
  padding: 16px 20px; border-top: 1.5px solid var(--gray-100);
}

/* Sidebar toggle */
.sidebar-toggle {
  width: 28px; height: 28px; border: none; background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm); cursor: pointer; display: flex;
  align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.sidebar-toggle:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ─── ANA İÇERİK ─── */
.main-content {
  margin-left: 260px;
  padding: 28px 32px;
  min-height: 100vh;
  box-sizing: border-box;
  transition: margin-left 0.3s ease;
}
.sidebar.collapsed ~ .main-content { margin-left: 68px; }

/* ─── ÜST BAR ─── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}

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

.topbar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); cursor: pointer; transition: var(--transition);
}
.topbar-user:hover { border-color: var(--gray-300); }
.topbar-user-wrap { position: relative; }
.topbar-user-chevron { transition: transform 0.15s; }
.topbar-user-wrap.open .topbar-user-chevron { transform: rotate(180deg); }
.topbar-user-wrap.open .topbar-user { border-color: var(--navy); }

.topbar-user-menu {
  display: none;
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 180px; background: var(--white);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); z-index: 500; padding: 4px;
  animation: dyDropIn 0.15s ease;
}
.topbar-user-wrap.open .topbar-user-menu { display: block; }

.topbar-user-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-size: 13px; font-weight: 500;
  color: var(--gray-600); text-decoration: none;
  border-radius: var(--radius-sm); transition: all 0.1s; cursor: pointer;
}
.topbar-user-menu-item svg {
  width: 16px; height: 16px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.topbar-user-menu-item:hover {
  background: var(--gray-50); color: var(--navy);
}
.topbar-user-menu-danger:hover {
  background: var(--danger-light); color: var(--danger);
}
.topbar-user-menu-divider {
  height: 1px; background: var(--gray-100); margin: 4px 0;
}

/* Bildirim ikonu */
.notification-btn {
  position: relative; width: 40px; height: 40px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  background: var(--white); cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: var(--transition);
}
.notification-btn:hover { border-color: var(--gray-300); background: var(--gray-50); }
.notification-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}

/* Bildirim dropdown */
.notif-wrap { position: relative; }
.notif-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  width: 380px; max-height: 480px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); box-shadow: 0 12px 32px rgba(10,37,64,0.12);
  overflow: hidden; z-index: 1001;
}
.notif-wrap.open .notif-dropdown { display: flex; flex-direction: column; }
.notif-dropdown-header {
  padding: 14px 16px; border-bottom: 1px solid var(--gray-100);
  display: flex; justify-content: space-between; align-items: center;
}
.notif-mark-all {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: none; color: var(--info);
  font-size: 11px; font-weight: 600; cursor: pointer; padding: 4px 6px;
  border-radius: 4px;
}
.notif-mark-all:hover { background: var(--info-light); }
.notif-dropdown-body {
  flex: 1; overflow-y: auto; max-height: 380px;
}
.notif-dropdown-footer {
  border-top: 1px solid var(--gray-100); text-align: center; padding: 10px;
}
.notif-dropdown-footer a {
  font-size: 12px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.notif-dropdown-footer a:hover { color: var(--orange); }

.notif-item {
  display: flex; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100); cursor: pointer;
  transition: background 0.15s; position: relative;
}
.notif-item:hover { background: var(--gray-50); }
.notif-item.unread { background: #F0F9FF; }
.notif-item.unread::before {
  content: ''; position: absolute; left: 6px; top: 50%;
  transform: translateY(-50%); width: 6px; height: 6px;
  background: var(--info); border-radius: 50%;
}
.notif-item-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.notif-item-icon.type-info    { background: var(--info-light); color: var(--info); }
.notif-item-icon.type-success { background: var(--success-light); color: #15803D; }
.notif-item-icon.type-warning { background: var(--warning-light); color: #B45309; }
.notif-item-icon.type-danger  { background: var(--danger-light); color: var(--danger); }
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-title {
  font-size: 13px; font-weight: 600; color: var(--navy);
  margin-bottom: 2px;
}
.notif-item-message {
  font-size: 12px; color: var(--gray-600); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.notif-item-time {
  font-size: 10px; color: var(--gray-400); margin-top: 4px;
}

/* Misafir teklif hızlı iletişim */
.notif-guest-actions {
  display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap;
}
.notif-ga {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 700; text-decoration: none;
  transition: var(--transition); border: 1px solid transparent;
}
.notif-ga svg { width: 13px !important; height: 13px !important; max-width: 13px; max-height: 13px; flex-shrink: 0; }
.notif-guest-actions svg { width: 13px !important; height: 13px !important; max-width: 13px; max-height: 13px; }
.notif-ga-call {
  background: var(--navy); color: #fff;
}
.notif-ga-call:hover { background: #061A2E; }
.notif-ga-call svg { stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notif-ga-wa {
  background: #25D366; color: #fff;
}
.notif-ga-wa:hover { background: #1DA851; }
.notif-ga-wa svg { fill: #fff; }
.notif-ga-label { line-height: 1; font-family: ui-monospace, 'Menlo', monospace; letter-spacing: 0.2px; }
@media (max-width: 560px) {
  .notif-ga-label { display: none; }
  .notif-ga { padding: 7px 9px; }
}

/* ─── YARDIMCI SINIFLAR ─── */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.p-0   { padding: 0; }
.p-16  { padding: 16px; }
.p-24  { padding: 24px; }
.w-full { width: 100%; }

/* ─── LOADING SPINNER ─── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.spinner.sm { width: 16px; height: 16px; }
.spinner.lg { width: 28px; height: 28px; border-width: 2.5px; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── EMPTY STATE ─── */
.empty-state {
  text-align: center; padding: 60px 20px;
}
.empty-icon {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--gray-400);
}
.empty-icon svg { width: 36px; height: 36px; }
.empty-state h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.empty-state p { font-size: 13px; color: var(--gray-500); margin-bottom: 20px; }

/* ─── TOAST BİLDİRİM ─── */
.toast-container {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 14px 20px; border-radius: var(--radius-lg);
  font-size: 13px; font-weight: 600; color: #fff;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  animation: toastIn 0.3s ease;
  min-width: 280px;
}
.toast-success { background: #15803D; }
.toast-error   { background: #DC2626; }
.toast-warning { background: #B45309; }
.toast-info    { background: var(--info); }

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

/* ─── RESPONSİVE ─── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid  { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .drawer-md  { width: 90vw; }
  .drawer-lg  { width: 94vw; }
}

/* ─── CONFIRM MODAL (Global Onay Diyaloğu) ─── */
.confirm-modal {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,37,64,0.55);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.confirm-modal.active { display: flex; }

.confirm-box {
  background: var(--white);
  border-radius: var(--radius-2xl);
  width: 90%; max-width: 420px;
  box-shadow: var(--shadow-xl);
  animation: confirmIn 0.2s ease;
  overflow: hidden;
}

@keyframes confirmIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.confirm-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.confirm-icon svg {
  width: 28px; height: 28px; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; fill: none;
}
.confirm-icon.danger  { background: var(--danger-light); }
.confirm-icon.danger svg  { stroke: var(--danger); }
.confirm-icon.warning { background: var(--warning-light); }
.confirm-icon.warning svg { stroke: var(--warning); }
.confirm-icon.info    { background: var(--info-light); }
.confirm-icon.info svg    { stroke: var(--info); }
.confirm-icon.success { background: var(--success-light); }
.confirm-icon.success svg { stroke: var(--success); }

.confirm-body {
  padding: 32px 28px 24px;
  text-align: center;
}
.confirm-title {
  font-size: 17px; font-weight: 700; color: var(--navy);
  margin-bottom: 8px;
}
.confirm-message {
  font-size: 13px; color: var(--gray-500); line-height: 1.6;
}

.confirm-footer {
  padding: 16px 28px 24px;
  display: flex; justify-content: center; gap: 10px;
}
.confirm-footer .btn { min-width: 110px; justify-content: center; }

/* btn-danger, btn-warning, btn-success, btn-info — üstteki buton grubunda tanımlı */

/* ─── CROPPER.JS TEMA ÖZELLEŞTİRME ─── */
.cropper-view-box { outline: 2px solid var(--orange); outline-color: rgba(255,107,26,0.75); }
.cropper-line { background-color: var(--orange); }
.cropper-point { background-color: var(--orange); width: 8px; height: 8px; opacity: 1; }
.cropper-modal { background-color: var(--navy); opacity: 0.6; }

/* ─── PROFİL DÜZENLEME SEKMELERİ ─── */
.profile-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; border: none; background: transparent;
  font-family: var(--font); font-size: 12px; font-weight: 600;
  color: var(--gray-500); cursor: pointer; transition: all 0.15s;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.profile-tab:hover { color: var(--navy); }
.profile-tab.active {
  color: var(--navy); border-bottom-color: var(--navy);
}
.profile-edit-panel { display: none; }
.profile-edit-panel.active { display: block; }

/* ─── HARİTA (Leaflet / OpenStreetMap) ─── */

/* Container */
.dy-map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  margin-top: 14px;
  overflow: hidden;
  z-index: 0;
  position: relative;
  background: var(--gray-100);
}
.dy-map-lg { height: 260px; }

/* Harita tile'larını soft renk tonuna çevir — CRM look */
.dy-map .leaflet-tile-pane {
  filter: saturate(0.35) brightness(1.05) contrast(0.95);
}

/* Marker ikonları — reset */
.dy-map-icon {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Zoom kontrolleri */
.dy-map .leaflet-control-zoom {
  border: none !important;
  box-shadow: var(--shadow) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  margin: 10px !important;
}
.dy-map .leaflet-control-zoom a {
  background: var(--white) !important;
  color: var(--navy) !important;
  border: none !important;
  border-bottom: 1px solid var(--gray-100) !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  font-size: 14px !important;
  font-weight: 700;
  transition: var(--transition);
}
.dy-map .leaflet-control-zoom a:last-child { border-bottom: none !important; }
.dy-map .leaflet-control-zoom a:hover {
  background: var(--gray-50) !important;
  color: var(--orange) !important;
}

/* Tooltip (hover durumunda) */
.dy-map .leaflet-tooltip {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  box-shadow: var(--shadow);
}
.dy-map .leaflet-tooltip-top::before    { border-top-color: var(--gray-200); }
.dy-map .leaflet-tooltip-bottom::before { border-bottom-color: var(--gray-200); }

/* Attribution gizle */
.dy-map .leaflet-control-attribution { display: none !important; }

/* Popup */
.dy-map .leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  font-family: var(--font);
  font-size: 12px;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--gray-100);
}
.dy-map .leaflet-popup-tip {
  box-shadow: none;
  border: 1px solid var(--gray-100);
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); width: 260px; }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 20px 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .info-grid { grid-template-columns: 1fr; }
  .modal-content { width: 96%; }
  .confirm-box { width: 96%; }
  .dy-map { height: 180px; }
  .dy-map-lg { height: 220px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ─── SETTINGS / PROFILE DESENİ — Sol sticky sidebar + sağ content ─── */
.profile-settings-layout { display:grid; grid-template-columns:240px 1fr; gap:24px; align-items:start; margin-top:8px; }
.profile-settings-nav {
    position:sticky; top:24px;
    background:var(--white);
    border:1px solid var(--gray-200);
    border-radius:var(--radius-lg);
    padding:8px;
    display:flex; flex-direction:column; gap:14px;
    box-shadow:var(--shadow-sm);
}
.ps-nav-section { display:flex; flex-direction:column; gap:2px; }
.ps-nav-section-title {
    font-size:10px; color:var(--gray-400); text-transform:uppercase;
    font-weight:700; letter-spacing:.6px;
    padding:6px 12px 4px; margin:0;
}
.ps-nav-item {
    display:flex !important; align-items:center; gap:10px;
    padding:9px 12px !important; width:100%; min-height:0 !important;
    border:none !important; background:transparent !important;
    border-radius:var(--radius) !important;
    cursor:pointer; text-align:left;
    font-family:var(--font); font-size:13px;
    color:var(--gray-600); font-weight:500;
    transition:all .15s;
    position:relative;
}
.ps-nav-item svg {
    width:16px !important; height:16px !important;
    stroke:var(--gray-400); fill:none;
    stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
    flex-shrink:0;
}
.ps-nav-item span:first-of-type, .ps-nav-item > span:not([class]) { flex:1; min-width:0; }
.ps-nav-item:hover { background:var(--gray-50) !important; color:var(--navy); }
.ps-nav-item:hover svg { stroke:var(--navy); }
.ps-nav-item.active {
    background:var(--navy) !important; color:var(--white) !important;
    font-weight:600;
    box-shadow:var(--shadow-sm);
}
.ps-nav-item.active svg { stroke:var(--white); }
.ps-nav-count {
    margin-left:auto;
    background:var(--gray-100); color:var(--gray-600);
    font-size:10px; font-weight:700;
    padding:2px 8px; border-radius:10px;
    min-width:22px; text-align:center;
}
.ps-nav-item.active .ps-nav-count { background:rgba(255,255,255,0.18); color:var(--white); }
.ps-nav-badge {
    margin-left:auto;
    background:var(--danger); color:#fff;
    font-size:10px; font-weight:700;
    width:18px; height:18px; border-radius:50%;
    display:inline-flex; align-items:center; justify-content:center;
}
.profile-settings-content { min-width:0; }

@media (max-width: 900px) {
    .profile-settings-layout { grid-template-columns:1fr; }
    .profile-settings-nav { position:static; flex-direction:row; gap:8px; padding:6px; overflow-x:auto; }
    .ps-nav-section { flex-direction:row; gap:4px; }
    .ps-nav-section-title { display:none; }
    .ps-nav-item { white-space:nowrap; flex-shrink:0; }
    .ps-nav-count { display:none; }
}

/* ─── Ayar satırı (setting row) — tek seçim satırı deseni ─── */
.setting-row {
    display:flex; align-items:center; gap:16px;
    padding:14px 20px;
    border-bottom:1px solid var(--gray-100);
}
.setting-row:last-child { border-bottom:none; }
.setting-row-label {
    flex:1; min-width:0;
}
.setting-row-label .srl-title {
    font-size:13px; font-weight:600; color:var(--navy); margin:0 0 2px;
}
.setting-row-label .srl-desc {
    font-size:11px; color:var(--gray-500); line-height:1.5; margin:0;
}
.setting-row-action {
    flex-shrink:0; display:flex; align-items:center; gap:8px;
}

/* Arayüz yoğunluğu compact modu (body.density-compact) */
body.density-compact .card-body { padding:14px 18px; }
body.density-compact .card-header { padding:12px 18px; }
body.density-compact .page-header { margin-bottom:14px; }
body.density-compact .sidebar-item { padding:7px 12px; }
body.density-compact .data-table th,
body.density-compact .data-table td { padding:8px 12px; font-size:12px; }
body.density-compact .field { margin-bottom:10px; }
body.density-compact .btn { padding:6px 14px; font-size:12px; }
body.density-compact .btn-sm { padding:4px 10px; font-size:11px; }

/* Bildirim tercih matrisi tablosu */
.notif-pref-table { width:100%; border-collapse:collapse; }
.notif-pref-table th {
    background:var(--gray-50); color:var(--gray-600);
    font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.4px;
    padding:10px 14px; text-align:left; border-bottom:1px solid var(--gray-200);
}
.notif-pref-table th.col-center { text-align:center; width:80px; }
.notif-pref-table td {
    padding:12px 14px; border-bottom:1px solid var(--gray-100);
    font-size:13px; color:var(--navy);
    vertical-align:middle;
}
.notif-pref-table td.col-center { text-align:center; }
.notif-pref-table tr:hover td { background:var(--gray-50); }
.notif-pref-table .np-evt-name { font-weight:600; }
.notif-pref-table .np-evt-desc { font-size:11px; color:var(--gray-500); margin-top:2px; }

/* Toggle switch (native checkbox görüntü) */
.dy-switch { position:relative; display:inline-block; width:36px; height:20px; }
.dy-switch input { opacity:0; width:0; height:0; }
.dy-switch .dy-switch-slider {
    position:absolute; inset:0; cursor:pointer;
    background:var(--gray-300); transition:.2s; border-radius:20px;
}
.dy-switch .dy-switch-slider::before {
    position:absolute; content:""; height:14px; width:14px;
    left:3px; top:3px; background:#fff; transition:.2s; border-radius:50%;
    box-shadow:0 1px 2px rgba(0,0,0,0.15);
}
.dy-switch input:checked + .dy-switch-slider { background:var(--navy); }
.dy-switch input:checked + .dy-switch-slider::before { transform:translateX(16px); }
.dy-switch input:disabled + .dy-switch-slider { opacity:.5; cursor:not-allowed; }

/* Seçim kartı (radio chunk — Tema/Yoğunluk/Başlangıç Sayfası) */
.choice-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); gap:10px; }
.choice-card {
    border:1.5px solid var(--gray-200); border-radius:var(--radius);
    padding:14px; cursor:pointer; transition:all .15s;
    background:var(--white); position:relative;
}
.choice-card:hover { border-color:var(--gray-300); background:var(--gray-50); }
.choice-card.active {
    border-color:var(--navy); background:#F8FAFC;
    box-shadow:0 0 0 3px rgba(10,37,64,0.06);
}
.choice-card.disabled { opacity:.5; cursor:not-allowed; }
.choice-card input { display:none; }
.choice-card-title { font-size:13px; font-weight:700; color:var(--navy); margin-bottom:2px; }
.choice-card-desc  { font-size:11px; color:var(--gray-500); line-height:1.4; }
.choice-card-badge {
    position:absolute; top:8px; right:8px;
    font-size:9px; font-weight:700; text-transform:uppercase;
    padding:2px 6px; border-radius:4px;
    background:var(--orange); color:#fff;
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER + TERCIH MERKEZİ MODALI
   Eklenme: 16 Nis 2026 — KVKK/ePrivacy uyumu
   ═══════════════════════════════════════════════════════════════ */

#dy-cookie-banner {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 12px 40px rgba(10,37,64,0.18);
    padding: 18px 22px;
    z-index: 9998;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 13px;
    color: var(--gray-800);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s;
    max-width: 980px;
    margin: 0 auto;
}
#dy-cookie-banner.dy-cb-show {
    opacity: 1;
    transform: translateY(0);
}
.dy-cb-inner {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.dy-cb-text {
    flex: 1 1 420px;
    min-width: 0;
}
.dy-cb-text strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}
.dy-cb-text p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--gray-600);
}
.dy-cb-text a {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 600;
}
.dy-cb-text a:hover { color: var(--orange); }

.dy-cb-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.dy-cb-btn {
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.dy-cb-btn:active { transform: scale(0.97); }

.dy-cb-btn-primary {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}
.dy-cb-btn-primary:hover { background: #E55A0A; border-color: #E55A0A; }

.dy-cb-btn-secondary {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.dy-cb-btn-secondary:hover { background: #143554; }

.dy-cb-btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-200);
}
.dy-cb-btn-ghost:hover {
    background: var(--gray-50);
    color: var(--navy);
    border-color: var(--gray-300);
}

@media (max-width: 720px) {
    #dy-cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
    .dy-cb-inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .dy-cb-actions { justify-content: space-between; }
    .dy-cb-actions .dy-cb-btn { flex: 1; min-width: 0; padding: 10px 8px; font-size: 12px; }
}

/* ─── Modal (Tercih Merkezi) ─── */

#dy-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
    font-family: 'Montserrat', system-ui, sans-serif;
}
#dy-cookie-modal.dy-cm-show { opacity: 1; }

.dy-cm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.dy-cm-box {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg, 12px);
    width: 560px;
    max-width: calc(100% - 24px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    transform: scale(0.96);
    transition: transform .2s;
    overflow: hidden;
}
#dy-cookie-modal.dy-cm-show .dy-cm-box { transform: scale(1); }

.dy-cm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
}
.dy-cm-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
}
.dy-cm-close {
    background: transparent;
    border: none;
    width: 32px; height: 32px;
    border-radius: 8px;
    font-size: 24px;
    line-height: 1;
    color: var(--gray-500);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.dy-cm-close:hover { background: var(--gray-100); color: var(--navy); }

.dy-cm-body {
    padding: 18px 22px;
    overflow-y: auto;
    flex: 1;
}
.dy-cm-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--gray-700);
    margin: 0 0 18px;
    padding: 12px 14px;
    background: #F8FAFC;
    border-left: 3px solid var(--navy);
    border-radius: 0 6px 6px 0;
}
.dy-cm-desc em {
    display: inline-block;
    margin-top: 6px;
    color: #B45309;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
}

.dy-cm-row {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.dy-cm-row:hover { border-color: var(--gray-300); box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.dy-cm-row-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}
.dy-cm-row-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    flex: 1;
}
.dy-cm-row-title em {
    color: var(--gray-500);
    font-style: normal;
    font-weight: 500;
    font-size: 11px;
    margin-left: 4px;
}
.dy-cm-row-desc {
    font-size: 12px;
    line-height: 1.55;
    color: var(--gray-600);
    padding-left: 56px;
}

/* Toggle switch */
.dy-cm-toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.dy-cm-toggle input {
    opacity: 0;
    width: 0; height: 0;
    position: absolute;
}
.dy-cm-switch {
    position: absolute;
    inset: 0;
    background: var(--gray-300);
    border-radius: 24px;
    transition: background .2s;
}
.dy-cm-switch::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.dy-cm-toggle input:checked + .dy-cm-switch { background: var(--orange); }
.dy-cm-toggle input:checked + .dy-cm-switch::before { transform: translateX(18px); }
.dy-cm-toggle input:disabled + .dy-cm-switch { background: #CBD5E1; cursor: not-allowed; opacity: 0.75; }
.dy-cm-toggle input:disabled:checked + .dy-cm-switch { background: var(--navy); opacity: 0.65; }

.dy-cm-links {
    margin-top: 14px;
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
}
.dy-cm-links a {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 600;
}
.dy-cm-links a:hover { color: var(--orange); }

.dy-cm-footer {
    display: flex;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    flex-wrap: wrap;
    justify-content: flex-end;
}
@media (max-width: 600px) {
    .dy-cm-box { width: auto; }
    .dy-cm-footer { flex-direction: column-reverse; }
    .dy-cm-footer .dy-cb-btn { width: 100%; }
    .dy-cm-row-desc { padding-left: 0; margin-top: 4px; }
}

/* Dark tema desteği (ileride theme-dark aktif olursa) */
.theme-dark #dy-cookie-banner,
.theme-dark .dy-cm-box { background: #1E293B; color: #E2E8F0; border-color: #334155; }
.theme-dark .dy-cb-text strong, .theme-dark .dy-cm-title { color: #F8FAFC; }
.theme-dark .dy-cm-row { background: #0F172A; border-color: #334155; }
.theme-dark .dy-cm-desc { background: #0F172A; color: #CBD5E1; }


/* ═══════════════════════════════════════════════════════════════
   Uygulama Alt Bilgisi (Yasal Linkler)
   ═══════════════════════════════════════════════════════════════ */
.app-legal-footer {
    margin-top: 40px;
    padding: 18px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    font-size: 12px;
    color: var(--gray-500);
}
.app-legal-footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.app-legal-footer-brand strong { color: var(--navy); font-weight: 700; }
.app-legal-footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.app-legal-footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
}
.app-legal-footer-links a:hover {
    color: var(--navy);
    text-decoration: underline;
}
@media (max-width: 720px) {
    .app-legal-footer-inner { flex-direction: column; align-items: flex-start; }
    .app-legal-footer-links { gap: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL HARİTA MARKER SİSTEMİ (Leaflet divIcon)
   Kullanım: window.dyMakePin({ variant, shape, label, icon, bubble, size })
   Şekiller:
     - pin   (default, sabit nokta — drop silüeti 28×38)
     - round (araç/hareketli — yuvarlak badge 30×30)
   Varyantlar:
     - navy / load / unload / truck / active / warn / idle
   ═══════════════════════════════════════════════════════════ */
.dy-map-pin {
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(10, 37, 64, 0.30));
    user-select: none;
    pointer-events: auto;
}
.dy-map-pin svg { display: block; overflow: visible; }

/* Label (A/B) */
.dy-map-pin-label {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: var(--font), Montserrat, sans-serif;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    letter-spacing: 0.2px;
}

/* Icon slot — JS'den position hesaplanır */
.dy-map-pin-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dy-map-pin-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Pin şekli (drop) — label/icon koyu renkli (beyaz arka planda) */
.dy-map-pin.pin-shape-pin .dy-map-pin-label,
.dy-map-pin.pin-shape-pin .dy-map-pin-icon svg {
    stroke: var(--icon-color, var(--navy));
    color: var(--icon-color, var(--navy));
}

/* Round şekli (daire dolgulu) — label/icon BEYAZ (renkli daire üzerinde) */
.dy-map-pin.pin-shape-round .dy-map-pin-label,
.dy-map-pin.pin-shape-round .dy-map-pin-icon svg {
    stroke: #fff;
    color: #fff;
}

/* Varyant renkleri — homojen LACİVERT paleti (tüm harita tek renk ailesi)
   Koyu → açık: truck/navy (ana) → unload (orta) → load (orta-açık) → active → warn → idle */
.dy-map-pin.pin-navy   .pin-body { fill: #0A2540; }   /* ana navy — generic A/B */
.dy-map-pin.pin-navy   { --icon-color: #0A2540; }

.dy-map-pin.pin-load   .pin-body { fill: #3B6CA0; }   /* açık-orta — yükleme */
.dy-map-pin.pin-load   { --icon-color: #3B6CA0; }

.dy-map-pin.pin-unload .pin-body { fill: #1E4E7B; }   /* orta — varış */
.dy-map-pin.pin-unload { --icon-color: #1E4E7B; }
/* Unload özel: beyaz iç daire gizli, bayrak ikonu BEYAZ (pin gövdesine direkt oturur) */
.dy-map-pin.pin-unload.pin-shape-pin .pin-body-svg > circle { display: none; }
.dy-map-pin.pin-unload.pin-shape-pin .dy-map-pin-icon svg { stroke: #fff; color: #fff; }
.dy-map-pin.pin-unload.pin-shape-pin .dy-map-pin-label { color: #fff; }

.dy-map-pin.pin-truck  .pin-body { fill: #0A2540; }   /* ana navy — araç (en belirgin) */
.dy-map-pin.pin-truck  { --icon-color: #0A2540; }

.dy-map-pin.pin-active .pin-body { fill: #2E6FA8; }   /* aktif — canlı ton */
.dy-map-pin.pin-active { --icon-color: #2E6FA8; }

.dy-map-pin.pin-warn   .pin-body { fill: #4A7FB8; }   /* uyarı — hafif ton */
.dy-map-pin.pin-warn   { --icon-color: #4A7FB8; }

.dy-map-pin.pin-idle   .pin-body { fill: #7B97BD; }   /* pasif — soluk navy */
.dy-map-pin.pin-idle   { --icon-color: #7B97BD; }

/* Aktif (seçili) — hafif büyüme + daha güçlü navy gölge */
.dy-map-pin.is-active {
    filter: drop-shadow(0 3px 6px rgba(10, 37, 64, 0.55));
    transform: scale(1.1);
    transform-origin: center bottom;
    z-index: 1;
    transition: transform .2s cubic-bezier(0.25, 0.8, 0.4, 1);
}
.dy-map-pin.pin-shape-round.is-active {
    transform-origin: center center;
}

/* Bubble (pin altında etiket/plaka — fleet) */
.dy-map-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    pointer-events: auto;
}
.dy-map-bubble-label {
    margin-top: 2px;
    padding: 2px 7px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-family: var(--font), Montserrat, sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(10, 37, 64, 0.18);
    letter-spacing: 0.3px;
}
