/* Viorasoft dashboard — Soft UI Dashboard dili, Viorasoft paleti.
   Palet: primary/accent #ff6b1a, secondary/metin #111111, zemin #fafafa.
   app.css'ten sonra yüklenir. */

/* ── Tokenlar ───────────────────────────────────────── */
[data-theme="light"] .dashboard-shell {
  --dashboard-canvas: #fafafa;
  --dashboard-paper: #ffffff;
  --dashboard-ink: #111111;
  --dashboard-muted: #6b6b6b;
  --dashboard-faint: #9a9a9a;
  --dashboard-line: #ececec;
  --dashboard-line-strong: #d9d9d9;
  --dashboard-hover: #f3f3f3;
  --dashboard-shadow: 0 0 0 1px #ececec, 0 1px 2px rgba(17, 17, 17, 0.04);
  --dashboard-shadow-sm: 0 0 0 1px #e4e4e4, 0 1px 2px rgba(17, 17, 17, 0.04);
  --dashboard-ring: rgba(255, 107, 26, 0.28);
  --dashboard-dark-a: #111111;
  --dashboard-dark-b: #3a3a3a;
  --color-primary: #ff6b1a;
  --color-primary-content: #ffffff;
}

[data-theme="dark"] .dashboard-shell {
  --dashboard-canvas: #17181a;
  --dashboard-paper: #212326;
  --dashboard-ink: #eef0f2;
  --dashboard-muted: #a9adb3;
  --dashboard-faint: #7d828a;
  --dashboard-line: #2f3236;
  --dashboard-line-strong: #41454b;
  --dashboard-hover: #2a2d31;
  --dashboard-shadow: 0 0 0 1px #2f3236;
  --dashboard-shadow-sm: 0 0 0 1px #373b40;
  --dashboard-ring: rgba(255, 107, 26, 0.4);
  --dashboard-dark-a: #212326;
  --dashboard-dark-b: #2a2d31;
  --color-base-100: #212326;
  --color-base-200: #2a2d31;
  --color-base-300: #2f3236;
  --color-base-content: #eef0f2;
  --color-primary: #ff6b1a;
  --color-primary-content: #ffffff;
}

.dashboard-shell {
  --dashboard-grad: #ff6b1a;
  --dashboard-grad-dark: #111111;
  background-color: var(--dashboard-canvas);
  color: var(--dashboard-ink);
  -webkit-font-smoothing: antialiased;
}

.dashboard-shell :focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.dashboard-shell .dashboard-surface {
  background-color: var(--dashboard-paper);
  background-image: none;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--dashboard-shadow);
}

.dashboard-shell :where(input, select, textarea) {
  border-color: var(--dashboard-line-strong);
  background-color: var(--dashboard-paper);
  border-radius: 8px;
}

.dashboard-shell :where(input, select, textarea):focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--dashboard-ring);
  outline: none;
}

.dashboard-shell :where(th) {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ── Kenar çubuğu: yüzen kart ───────────────────────── */
.dashboard-shell #dashboard-sidebar {
  top: 16px;
  height: calc(100vh - 32px);
  margin: 16px 0 16px 16px;
  padding: 20px 14px 16px;
  border: 0;
  border-radius: 12px;
  background-color: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow);
}

.dashboard-shell .dashboard-mobile-panel aside {
  background-color: var(--dashboard-paper);
  border: 0;
  padding: 20px 14px 16px;
}

.dashboard-shell aside nav {
  margin-top: 16px;
  padding-top: 16px;
  gap: 4px;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--dashboard-line-strong), transparent) 1;
}

.dashboard-shell .dashboard-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--dashboard-muted);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

/* Soft UI ikon kutusu: Lucide svg'si 32px kutu içinde */
.dashboard-shell .dashboard-nav-item > svg {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: 8px;
  border-radius: 10px;
  background: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow-sm);
  color: var(--dashboard-ink);
  flex-shrink: 0;
  transition: background 150ms ease, color 150ms ease;
}

.dashboard-shell .dashboard-nav-item:hover {
  color: var(--dashboard-ink);
}

.dashboard-shell .dashboard-nav-item--active,
.dashboard-shell .dashboard-nav-item[aria-current="page"] {
  background-color: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow);
  color: var(--dashboard-ink);
  font-weight: 700;
}

[data-theme="dark"] .dashboard-shell .dashboard-nav-item--active,
[data-theme="dark"] .dashboard-shell .dashboard-nav-item[aria-current="page"] {
  background-color: var(--dashboard-hover);
}

.dashboard-shell .dashboard-nav-item--active > svg,
.dashboard-shell .dashboard-nav-item[aria-current="page"] > svg {
  background: var(--dashboard-grad);
  color: #ffffff;
  box-shadow: none;
}

.dashboard-shell .dashboard-nav-item--sub {
  min-height: 38px;
  font-size: 12.5px;
}

.dashboard-shell .dashboard-nav-item--sub > svg {
  padding: 6px;
  width: 14px;
  height: 14px;
}

.dashboard-shell .dashboard-nav-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.dashboard-shell .dashboard-nav-row > .dashboard-nav-item {
  flex: 1;
  min-width: 0;
}

.dashboard-shell .dashboard-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 44px;
  border-radius: 10px;
  color: var(--dashboard-faint);
}

.dashboard-shell .dashboard-nav-toggle:hover {
  color: var(--dashboard-ink);
}

.dashboard-shell .dashboard-nav-sub {
  display: grid;
  gap: 2px;
  margin: 2px 0 6px 22px;
  padding-left: 10px;
  border-left: 1px solid var(--dashboard-line);
}

.dashboard-shell .dashboard-nav-group {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--dashboard-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-shell #dashboard-sidebar > a:last-child {
  margin: auto 0 0;
  padding: 14px 8px 0;
  border-top: 1px solid var(--dashboard-line);
}

.dashboard-shell [role="img"].rounded-\[10px\] {
  background: var(--dashboard-grad);
  color: #ffffff;
  border-radius: 10px;
}

/* ── Üst çubuk ──────────────────────────────────────── */
.dashboard-shell > div > header {
  background-color: color-mix(in srgb, var(--dashboard-canvas) 85%, transparent);
  border-bottom: 0;
}

.dashboard-shell header button,
.dashboard-shell header a.rounded-lg {
  border: 0;
  border-radius: 10px;
  background: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow-sm);
}

/* ── Genel bakış ────────────────────────────────────── */
.dpro-page {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.dpro-crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  color: var(--dashboard-faint);
  font-size: 13px;
}

.dpro-crumbs b {
  color: var(--dashboard-ink);
  font-weight: 600;
}

.dpro-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.dpro-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.dpro-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dpro-sync {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dashboard-muted);
  font-size: 12px;
}

.dpro-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #17ad37;
}

.dpro-dot--error {
  background: #ea0606;
}

.dpro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow-sm);
  color: var(--dashboard-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.dpro-btn:hover {
  transform: translateY(-1px);
}

.dpro-btn--solid {
  background: var(--dashboard-grad);
  color: #ffffff;
  box-shadow: none;
}

.dpro-btn:disabled {
  opacity: 0.5;
  transform: none;
}

.dpro-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: color-mix(in srgb, #ea0606 10%, var(--dashboard-paper));
  color: #ea0606;
  font-size: 13px;
  font-weight: 600;
}

/* Kart tabanı */
.dpro-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow);
}

/* İstatistik kartları */
.dpro-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 1100px) {
  .dpro-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .dpro-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dpro-kpi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow);
  color: inherit;
  transition: transform 150ms ease;
}

.dpro-kpi:hover {
  transform: translateY(-2px);
}

.dpro-kpi-label {
  display: block;
  color: var(--dashboard-muted);
  font-size: 12px;
  font-weight: 600;
}

.dpro-kpi-value {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.dpro-kpi-note {
  margin-left: 6px;
  color: var(--dashboard-faint);
  font-size: 12px;
  font-weight: 600;
}

.dpro-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--dashboard-grad);
  box-shadow: none;
  color: #ffffff;
}

.dpro-icon--dark {
  background: var(--dashboard-grad-dark);
  box-shadow: none;
}

/* Hero satırı */
.dpro-hero-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 1100px) {
  .dpro-hero-row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.dpro-hero {
  display: grid;
  gap: 20px;
  padding: 24px;
}

@media (min-width: 700px) {
  .dpro-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.dpro-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.dpro-eyebrow {
  margin: 0;
  color: var(--dashboard-muted);
  font-size: 13px;
  font-weight: 600;
}

.dpro-hero h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.dpro-hero p.dpro-text {
  margin: 0 0 12px;
  color: var(--dashboard-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dpro-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--dashboard-ink);
}

.dpro-link:hover {
  color: var(--color-primary);
}

.dpro-hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--dashboard-grad);
  color: #ffffff;
}

.dpro-hero-art::before,
.dpro-hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.dpro-hero-art::before {
  width: 220px;
  height: 220px;
}

.dpro-hero-art::after {
  width: 140px;
  height: 140px;
}

.dpro-hero-art svg {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
}

.dpro-dark {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 12px;
  background: var(--dashboard-grad-dark);
  box-shadow: var(--dashboard-shadow);
  color: #ffffff;
}

.dpro-dark h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.dpro-dark p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  line-height: 1.55;
}

.dpro-dark .dpro-link {
  color: #ffffff;
}

.dpro-dark .dpro-link:hover {
  color: #ff9a5c;
}

/* Koyu çubuk kartı */
.dpro-bars-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 1100px) {
  .dpro-bars-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: stretch;
  }
}

.dpro-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--dashboard-grad-dark);
  box-shadow: var(--dashboard-shadow);
  color: #ffffff;
}

.dpro-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 12px;
  height: 180px;
  padding: 12px 8px 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.dpro-bar {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
  max-width: 56px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.dpro-bar i {
  display: block;
  width: 10px;
  min-height: 4px;
  border-radius: 6px;
  background: #ffffff;
}

.dpro-bar:first-child i {
  background: #ff6b1a;
}

.dpro-chart h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.dpro-chart p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

/* Liste panelleri */
.dpro-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 1100px) {
  .dpro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dpro-panel {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow);
}

.dpro-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 14px;
}

.dpro-panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dpro-panel-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--dashboard-grad);
  box-shadow: none;
  color: #ffffff;
}

.dpro-panel h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.dpro-panel-title p {
  margin: 2px 0 0;
  color: var(--dashboard-muted);
  font-size: 12.5px;
}

.dpro-list {
  margin: 0;
  padding: 0 10px;
  list-style: none;
  max-height: 360px;
  overflow: auto;
}

.dpro-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  color: inherit;
  transition: background-color 120ms ease;
}

.dpro-row:hover {
  background: var(--dashboard-hover);
}

.dpro-row-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dpro-row-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.dpro-row-copy span,
.dpro-row time {
  color: var(--dashboard-muted);
  font-size: 12px;
}

.dpro-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--dashboard-hover);
  color: var(--dashboard-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dpro-badge--solid {
  background: var(--dashboard-grad);
  color: #ffffff;
}

.dpro-empty,
.dpro-loading {
  margin: 0;
  padding: 28px 20px;
  color: var(--dashboard-muted);
  font-size: 13px;
  text-align: center;
}

.dpro-panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 22px 20px;
}

.dpro-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 12px;
  background: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow);
}

@media (prefers-reduced-motion: reduce) {
  .dpro-kpi,
  .dpro-row,
  .dpro-btn,
  .dashboard-shell .dashboard-nav-item {
    transition: none;
  }

  .dpro-kpi:hover,
  .dpro-btn:hover {
    transform: none;
  }
}

/* ════════════════════════════════════════════════════════
   Tüm dashboard sayfaları (sol menü) için ortak Soft UI katmanı
   Sayfalar mevcut Tailwind desenlerini kullandığı için bu desenler
   hedeflenir; sayfa işlevleri ve markup'ı değişmez.
   ════════════════════════════════════════════════════════ */


/* Kartlar */
.dashboard-shell main :is(div, section, article, form, details)[class*="bg-[var(--dashboard-paper)]"],
.dashboard-shell main :is(div, section, article, form, details)[class*="bg-base-100"][class*="border"] {
  border: 0;
  border-radius: 12px;
  background-color: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow);
}

/* Kart içindeki kartlar: gölge yok, ince çizgi */
.dashboard-shell main :is(div, section, article, form, details)[class*="bg-[var(--dashboard-paper)]"] :is(div, section, article, form, details)[class*="bg-[var(--dashboard-paper)]"],
.dashboard-shell main .dashboard-surface :is(div, section, article)[class*="bg-[var(--dashboard-paper)]"],
.dashboard-shell main :is(div, section, article, form, details)[class*="bg-base-100"] :is(div, section, article, form, details)[class*="bg-base-100"] {
  border: 1px solid var(--dashboard-line);
  border-radius: 12px;
  box-shadow: none;
}

.dashboard-shell main :is(div, section, article)[class*="bg-base-200"],
.dashboard-shell main :is(div, section, article)[class*="bg-base-300"] {
  border-radius: 12px;
}

/* Sayfa başlığı bölümü */
.dashboard-shell main section[class*="border-b"][class*="pb-"] {
  border-bottom-color: var(--dashboard-line);
}

.dashboard-shell main h1 {
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--dashboard-ink);
}

.dashboard-shell main h2,
.dashboard-shell main h3 {
  color: var(--dashboard-ink);
}

/* Birincil butonlar: turuncu gradyan */
.dashboard-shell main :is(a, button)[class*="bg-[var(--dashboard-ink)]"],
.dashboard-shell main :is(a, button)[class*="bg-primary"]:not([class*="bg-primary/"]),
.dashboard-shell main :is(a, button).btn-primary {
  border: 0;
  border-radius: 10px;
  background: var(--dashboard-grad);
  box-shadow: none;
  color: #ffffff;
  font-weight: 700;
}

.dashboard-shell main :is(a, button)[class*="bg-[var(--dashboard-ink)]"]:hover,
.dashboard-shell main :is(a, button)[class*="bg-primary"]:not([class*="bg-primary/"]):hover {
  opacity: 1;
  filter: brightness(1.06);
}

.dashboard-shell main :is(a, button)[class*="bg-[var(--dashboard-ink)]"]:disabled,
.dashboard-shell main :is(a, button)[class*="bg-primary"]:disabled {
  background: var(--dashboard-line-strong);
  box-shadow: none;
  color: var(--dashboard-muted);
}

/* İlerleme çubukları ve nokta göstergeleri */
.dashboard-shell main :is(div, span, i)[class*="bg-[var(--dashboard-ink)]"] {
  background: var(--dashboard-grad);
  color: #ffffff;
}

/* İkincil butonlar */
.dashboard-shell main :is(a, button)[class*="border-[var(--dashboard-line)]"][class*="rounded"]:not([class*="bg-[var(--dashboard-ink)]"]):not([class*="bg-primary"]),
.dashboard-shell main :is(a, button)[class*="border-base-300"][class*="rounded"]:not([class*="bg-primary"]) {
  border: 0;
  border-radius: 10px;
  background-color: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow-sm);
  font-weight: 700;
}

.dashboard-shell main :is(a, button)[class*="border-[var(--dashboard-line)]"][class*="rounded"]:not([class*="bg-[var(--dashboard-ink)]"]):hover {
  background-color: var(--dashboard-hover);
}

/* İkon kutuları: Soft UI gradyan kare */
.dashboard-shell main span[class*="size-"][class*="justify-center"][class*="border-[var(--dashboard-line)]"],
.dashboard-shell main span[class*="size-"][class*="justify-center"][class*="bg-primary/10"] {
  border: 0;
  border-radius: 12px;
  background: var(--dashboard-grad);
  box-shadow: none;
  color: #ffffff;
}

/* Tablolar */
.dashboard-shell main table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.dashboard-shell main thead th {
  padding-block: 12px;
  border-bottom: 1px solid var(--dashboard-line);
  background: transparent;
  color: var(--dashboard-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-shell main tbody tr {
  transition: background-color 120ms ease;
}

.dashboard-shell main tbody tr:hover {
  background-color: var(--dashboard-hover);
}

.dashboard-shell main tbody td {
  border-bottom: 1px solid var(--dashboard-line);
}

.dashboard-shell main tbody tr:last-child td {
  border-bottom: 0;
}

/* Form alanları */
.dashboard-shell main :where(input, select, textarea) {
  min-height: 40px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 10px;
  background-color: var(--dashboard-paper);
  color: var(--dashboard-ink);
}

.dashboard-shell main :where(input, select, textarea)::placeholder {
  color: var(--dashboard-faint);
}

.dashboard-shell main :where(input, select, textarea):focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--dashboard-ring);
}

.dashboard-shell main label {
  font-weight: 600;
}

/* Rozetler */
.dashboard-shell main span[class*="rounded-full"][class*="border"] {
  border-color: var(--dashboard-line-strong);
  font-weight: 700;
}

/* Alt bilgi */
.dashboard-shell main footer {
  border-top-color: var(--dashboard-line);
}

/* Bağlantılar */
.dashboard-shell main a[class*="text-primary"]:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sayfa girişinde ince hareket */
@media (prefers-reduced-motion: no-preference) {
  .dashboard-shell main > * {
    animation: dpro-in 220ms ease-out both;
  }
}

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

/* ════════════════════════════════════════════════════════
   Sadeleştirme: daha kurumsal, daha az "şablon" görünümü
   ════════════════════════════════════════════════════════ */

/* İkon kutuları: dolgulu gradyan yerine yumuşak vurgu zemini */
.dpro-icon,
.dpro-panel-icon,
.dpro-row-icon,
.dashboard-shell main span[class*="size-"][class*="justify-center"][class*="border-[var(--dashboard-line)]"],
.dashboard-shell main span[class*="size-"][class*="justify-center"][class*="bg-primary/10"] {
  background: color-mix(in srgb, #ff6b1a 12%, var(--dashboard-paper));
  box-shadow: none;
  color: #e85a0c;
}

[data-theme="dark"] .dpro-icon,
[data-theme="dark"] .dpro-panel-icon,
[data-theme="dark"] .dpro-row-icon,
[data-theme="dark"] .dashboard-shell main span[class*="size-"][class*="justify-center"][class*="border-[var(--dashboard-line)]"] {
  color: #ff8a4d;
}

.dpro-icon {
  border-radius: 10px;
  width: 42px;
  height: 42px;
}

.dpro-row-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.dpro-list--flush {
  padding: 0 10px 12px;
}

/* Hareketleri sakinleştir */
.dpro-kpi:hover,
.dpro-btn:hover {
  transform: none;
}

.dpro-kpi:hover {
  box-shadow: 0 0 0 1px var(--dashboard-line-strong), 0 2px 6px rgba(17, 17, 17, 0.06);
}

@media (prefers-reduced-motion: no-preference) {
  .dashboard-shell main > * {
    animation: none;
  }
}

/* Başlık alanı */
.dpro-sub {
  margin: 6px 0 0;
  color: var(--dashboard-muted);
  font-size: 14px;
}

.dpro-title {
  font-size: 24px;
}

/* Birincil buton: düz turuncu */
.dpro-btn--solid,
.dashboard-shell main :is(a, button)[class*="bg-[var(--dashboard-ink)]"],
.dashboard-shell main :is(a, button)[class*="bg-primary"]:not([class*="bg-primary/"]) {
  background: #ff6b1a;
  box-shadow: none;
}

.dpro-btn--solid:hover,
.dashboard-shell main :is(a, button)[class*="bg-[var(--dashboard-ink)]"]:hover {
  background: #e85a0c;
  filter: none;
}

/* Kenar çubuğu: logo ortada */
.dashboard-shell aside > a:first-child {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.dashboard-shell aside > a:first-child > span {
  margin-inline: auto;
}

.dashboard-shell .dashboard-nav-item--active > svg,
.dashboard-shell .dashboard-nav-item[aria-current="page"] > svg {
  background: #ff6b1a;
  box-shadow: none;
}

.dashboard-shell .dashboard-nav-item > svg {
  box-shadow: 0 0 0 1px var(--dashboard-line);
}

/* Dil seçici: aktif dil turuncu, pasif dil nötr */
.dashboard-shell header [role="group"] {
  padding: 3px;
  border: 0;
  border-radius: 10px;
  background: var(--dashboard-paper);
  box-shadow: var(--dashboard-shadow-sm);
}

.dashboard-shell header [role="group"] > a {
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: var(--dashboard-muted);
  font-weight: 700;
}

.dashboard-shell header [role="group"] > a:hover {
  background: var(--dashboard-hover);
  color: var(--dashboard-ink);
}

.dashboard-shell header [role="group"] > a[aria-current="true"] {
  background: #ff6b1a;
  color: #ffffff;
}

/* Sayfa geçişi: içerik yumuşakça belirir */
@media (prefers-reduced-motion: no-preference) {
  .dashboard-shell main > * {
    animation: dpro-page-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .dashboard-shell .dashboard-nav-item,
  .dashboard-shell .dashboard-nav-item > svg {
    transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  }
}

@keyframes dpro-page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animasyon artık yol değişince yeniden oluşturulan sarmalayıcıda çalışır */
@media (prefers-reduced-motion: no-preference) {
  .dashboard-shell main > * {
    animation: none;
  }

  .dashboard-shell main > .dpro-view {
    animation: dpro-page-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

/* Veri yüklenirken ve içerik geldikçe yeni öğeler yumuşakça belirir.
   Yalnızca opaklık: yerleşimi ve konumlu öğeleri etkilemez. */
@media (prefers-reduced-motion: no-preference) {
  .dashboard-shell .dpro-view :is(section, article, form, table, tbody tr, ul > li, [role="status"], [role="alert"]) {
    animation: dpro-fade 300ms ease-out both;
  }

  .dashboard-shell .dpro-view :is(section, article, form, table, tbody tr, ul > li) :is(section, article, form, table, tbody tr, ul > li) {
    animation-duration: 240ms;
  }

  .dashboard-shell .dpro-view [class*="animate-spin"] {
    animation: spin 1s linear infinite;
  }
}

@keyframes dpro-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dashboard-shell main {
  transition: opacity 200ms ease;
}

/* Koyu tema: serin lacivert-gri zemin; turuncu yalnızca vurgu.
   Turuncu tonlu zeminler koyu zeminde kahverengiye kaçtığı için nötr tutulur. */
[data-theme="dark"] .dpro-icon,
[data-theme="dark"] .dpro-panel-icon,
[data-theme="dark"] .dpro-row-icon,
[data-theme="dark"] .dashboard-shell main span[class*="size-"][class*="justify-center"][class*="border-[var(--dashboard-line)]"],
[data-theme="dark"] .dashboard-shell main span[class*="size-"][class*="justify-center"][class*="bg-primary/10"] {
  background: var(--dashboard-hover);
  color: #ff7a33;
}

[data-theme="dark"] .dashboard-shell .dashboard-nav-item--active,
[data-theme="dark"] .dashboard-shell .dashboard-nav-item[aria-current="page"] {
  background-color: var(--dashboard-hover);
}

[data-theme="dark"] .dashboard-shell .dashboard-nav-item > svg {
  background: var(--dashboard-hover);
  color: var(--dashboard-ink);
  box-shadow: none;
}

[data-theme="dark"] .dashboard-shell .dashboard-nav-item--active > svg,
[data-theme="dark"] .dashboard-shell .dashboard-nav-item[aria-current="page"] > svg {
  background: #ff6b1a;
  color: #ffffff;
}

[data-theme="dark"] .dashboard-shell > div > header {
  background-color: color-mix(in srgb, #17181a 88%, transparent);
}

[data-theme="dark"] .dpro-alert {
  background: #2a1f1f;
}

[data-theme="dark"] .dashboard-shell ::selection {
  background: rgba(255, 107, 26, 0.35);
}

/* İstatistik kartları dar genişlikte sıkışmasın */
.dpro-kpis {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

@media (min-width: 1100px) {
  .dpro-kpis {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
}

.dpro-kpi-value {
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════
   Genel bakış v3 — Soft UI düzeni, sade ve gerçek veriyle
   ════════════════════════════════════════════════════════ */

/* Marka alanı: düz koyu zemin + logo (süs yok) */
.dpro-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 24px;
  border-radius: 10px;
  background: #111111;
}

.dpro-brand img {
  width: min(220px, 80%);
  height: auto;
}

/* Turuncu vurgu kartı */
.dpro-accent {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 12px;
  background: #ff6b1a;
  color: #ffffff;
}

.dpro-accent h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.dpro-accent p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.dpro-accent .dpro-link {
  color: #ffffff;
}

.dpro-accent .dpro-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Tablo + zaman çizgisi */
.dpro-split {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 1100px) {
  .dpro-split {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.dpro-table-wrap {
  overflow-x: auto;
  padding: 0 22px 8px;
}

.dpro-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dpro-table th {
  padding: 10px 8px 10px 0;
  border-bottom: 1px solid var(--dashboard-line);
  color: var(--dashboard-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

.dpro-table td {
  padding: 14px 8px 14px 0;
  border-bottom: 1px solid var(--dashboard-line);
  color: var(--dashboard-muted);
}

.dpro-table tbody tr:last-child td {
  border-bottom: 0;
}

.dpro-cell-link {
  color: var(--dashboard-ink);
  font-weight: 700;
}

.dpro-cell-link:hover {
  color: var(--color-primary);
}

.dpro-timeline {
  position: relative;
  margin: 0;
  padding: 4px 22px 8px 38px;
  list-style: none;
}

.dpro-tl {
  position: relative;
  padding: 10px 0 14px;
}

.dpro-tl::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dashboard-line-strong);
  box-shadow: 0 0 0 3px var(--dashboard-paper);
  z-index: 1;
}

.dpro-tl::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 26px;
  bottom: -10px;
  width: 1px;
  background: var(--dashboard-line);
}

.dpro-tl:last-child::after {
  display: none;
}

.dpro-tl--open::before {
  background: #ff6b1a;
}

.dpro-tl a {
  display: grid;
  gap: 2px;
  color: inherit;
}

.dpro-tl strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.dpro-tl a:hover strong {
  color: var(--color-primary);
}

.dpro-tl span {
  color: var(--dashboard-muted);
  font-size: 12px;
}

/* Koyu temada marka alanı kart tonlarıyla uyumlu (saf siyah kutu yok) */
[data-theme="dark"] .dpro-brand {
  background: var(--dashboard-hover);
  box-shadow: inset 0 0 0 1px var(--dashboard-line);
}

/* Grafikler */
.dpro-legend {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--dashboard-muted);
  font-size: 12px;
  font-weight: 600;
}

.dpro-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dpro-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.dpro-swatch--open,
.dpro-bar-open {
  background: #ff6b1a;
  fill: #ff6b1a;
}

.dpro-swatch--closed {
  background: var(--dashboard-ink);
  opacity: 0.8;
}

.dpro-bar-closed {
  fill: var(--dashboard-ink);
  opacity: 0.8;
}

.dpro-chart-box {
  position: relative;
  padding: 4px 22px 20px;
}

.dpro-svg {
  display: block;
  width: 100%;
  height: auto;
}

.dpro-grid {
  stroke: var(--dashboard-line);
  stroke-dasharray: 3 5;
}

.dpro-axis {
  fill: var(--dashboard-faint);
  font-size: 11px;
  font-weight: 600;
}

.dpro-chart-note {
  position: absolute;
  inset: 0 22px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--dashboard-muted);
  font-size: 13px;
  pointer-events: none;
}

.dpro-meter-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 8px 22px 22px;
  list-style: none;
}

.dpro-meter-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
}

.dpro-meter-top strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.dpro-meter-top span {
  flex-shrink: 0;
  color: var(--dashboard-muted);
  font-size: 12px;
  font-weight: 600;
}

.dpro-meter-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--dashboard-hover);
}

.dpro-meter-track > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #ff6b1a;
}

[data-theme="light"] .dpro-swatch--closed,
[data-theme="light"] .dpro-bar-closed {
  background: #111111;
  fill: #111111;
  opacity: 1;
}

/* ════════════════════════════════════════════════════════
   Yönetim paneli düzeni (T-Soft tarzı): düz, yoğun, ince çizgili.
   Gölge ve yüzen kart yok; ayrım 1px çizgi ve zemin tonuyla yapılır.
   ════════════════════════════════════════════════════════ */

[data-theme="light"] .dashboard-shell {
  --dashboard-canvas: #fafafa;
  --dashboard-line: #e6e6e8;
  --dashboard-line-strong: #d4d4d8;
  --dashboard-hover: #f1f1f3;
  --dashboard-shadow: 0 0 0 1px #e6e6e8;
  --dashboard-shadow-sm: 0 0 0 1px #e6e6e8;
}

/* Yan menü: tam yükseklik, düz */
.dashboard-shell #dashboard-sidebar,
.dashboard-shell .dashboard-mobile-panel aside {
  top: 0;
  height: 100vh;
  margin: 0;
  padding: 12px 10px 14px;
  border: 0;
  border-right: 1px solid var(--dashboard-line);
  border-radius: 0;
  background: var(--dashboard-paper);
  box-shadow: none;
}

.dashboard-shell .dashboard-mobile-panel aside {
  height: 100dvh;
}

.dashboard-shell aside nav {
  margin-top: 12px;
  padding-top: 12px;
  gap: 2px;
  border: 0;
  border-top: 1px solid var(--dashboard-line);
  border-image: none;
}

.dashboard-shell .dashboard-nav-item {
  min-height: 40px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--dashboard-ink);
  font-size: 13.5px;
  font-weight: 500;
}

.dashboard-shell .dashboard-nav-item > svg,
[data-theme="dark"] .dashboard-shell .dashboard-nav-item > svg {
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--dashboard-ink);
}

.dashboard-shell .dashboard-nav-item:hover {
  background: var(--dashboard-hover);
}

.dashboard-shell .dashboard-nav-item--active,
.dashboard-shell .dashboard-nav-item[aria-current="page"],
[data-theme="dark"] .dashboard-shell .dashboard-nav-item--active,
[data-theme="dark"] .dashboard-shell .dashboard-nav-item[aria-current="page"] {
  background: var(--dashboard-hover);
  box-shadow: none;
  font-weight: 600;
}

.dashboard-shell .dashboard-nav-item--active > svg,
.dashboard-shell .dashboard-nav-item[aria-current="page"] > svg,
[data-theme="dark"] .dashboard-shell .dashboard-nav-item--active > svg,
[data-theme="dark"] .dashboard-shell .dashboard-nav-item[aria-current="page"] > svg {
  background: transparent;
  box-shadow: none;
  color: #ff6b1a;
}

.dashboard-shell .dashboard-nav-item--sub > svg {
  width: 16px;
  height: 16px;
}

.dashboard-shell .dashboard-nav-toggle {
  height: 40px;
  border-radius: 6px;
}

.dashboard-shell .dashboard-nav-toggle:hover {
  background: var(--dashboard-hover);
}

/* Üst çubuk: düz beyaz bar */
.dashboard-shell > div > header,
[data-theme="dark"] .dashboard-shell > div > header {
  background: var(--dashboard-paper);
  border-bottom: 1px solid var(--dashboard-line);
  backdrop-filter: none;
}

.dashboard-shell header button,
.dashboard-shell header a.rounded-lg {
  border: 1px solid var(--dashboard-line);
  border-radius: 6px;
  background: var(--dashboard-paper);
  box-shadow: none;
}

.dashboard-shell header [role="group"] {
  border: 1px solid var(--dashboard-line);
  border-radius: 6px;
  box-shadow: none;
}

.dashboard-shell header [role="group"] > a {
  border-radius: 4px;
}

/* Kartlar: 1px çizgi, 8px köşe, gölge yok */
.dashboard-shell .dashboard-surface,
.dashboard-shell main :is(div, section, article, form, details)[class*="bg-[var(--dashboard-paper)]"],
.dashboard-shell main :is(div, section, article, form, details)[class*="bg-base-100"][class*="border"],
.dpro-card,
.dpro-panel,
.dpro-kpi,
.dpro-account {
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--dashboard-line);
}

.dpro-kpi:hover {
  box-shadow: 0 0 0 1px var(--dashboard-line-strong);
}

/* Buton ve alanlar: 6px */
.dpro-btn,
.dashboard-shell main :is(a, button)[class*="bg-[var(--dashboard-ink)]"],
.dashboard-shell main :is(a, button)[class*="bg-primary"]:not([class*="bg-primary/"]),
.dashboard-shell main :is(a, button)[class*="border-[var(--dashboard-line)]"][class*="rounded"],
.dashboard-shell main :is(a, button)[class*="border-base-300"][class*="rounded"] {
  border-radius: 6px;
}

.dpro-btn,
.dashboard-shell main :is(a, button)[class*="border-[var(--dashboard-line)]"][class*="rounded"]:not([class*="bg-[var(--dashboard-ink)]"]):not([class*="bg-primary"]) {
  border: 1px solid var(--dashboard-line-strong);
  box-shadow: none;
  font-weight: 600;
}

.dpro-btn--solid {
  border-color: #ff6b1a;
}

.dashboard-shell main :where(input, select, textarea) {
  border-radius: 6px;
}

/* İkon kutuları: sadece ikon, zemin yok */
.dpro-icon,
.dpro-panel-icon,
.dpro-row-icon,
.dashboard-shell main span[class*="size-"][class*="justify-center"][class*="border-[var(--dashboard-line)]"],
.dashboard-shell main span[class*="size-"][class*="justify-center"][class*="bg-primary/10"],
[data-theme="dark"] .dpro-icon,
[data-theme="dark"] .dpro-panel-icon,
[data-theme="dark"] .dpro-row-icon,
[data-theme="dark"] .dashboard-shell main span[class*="size-"][class*="justify-center"][class*="border-[var(--dashboard-line)]"] {
  border-radius: 6px;
  background: var(--dashboard-hover);
  color: #ff6b1a;
}

/* Tablolar: gri başlık bandı, normal harf, ince satır çizgisi */
.dashboard-shell main thead th,
.dpro-table th {
  padding: 13px 14px;
  border-bottom: 1px solid var(--dashboard-line);
  background: var(--dashboard-hover);
  color: var(--dashboard-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.dashboard-shell main thead th:first-child,
.dpro-table th:first-child {
  border-top-left-radius: 6px;
}

.dashboard-shell main thead th:last-child,
.dpro-table th:last-child {
  border-top-right-radius: 6px;
}

.dashboard-shell main tbody td,
.dpro-table td {
  padding: 14px;
  border-bottom: 1px solid var(--dashboard-line);
  color: var(--dashboard-ink);
  font-size: 13.5px;
}

.dpro-table-wrap {
  padding: 0 22px 14px;
}

.dpro-badge {
  border-radius: 4px;
}

/* Sayfa başlığı: başlık + ince alt çizgi */
.dpro-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dashboard-line);
}

.dpro-title {
  font-size: 20px;
}

.dpro-crumbs {
  display: none;
}

/* ════════════════════════════════════════════════════════
   T-Soft düzeni: gri çalışma alanı, beyaz kenar çubuğu ve kartlar,
   turuncu çizgi ikonlar, aktif öğede turuncu sol çizgi
   ════════════════════════════════════════════════════════ */

[data-theme="light"] .dashboard-shell {
  --dashboard-canvas: #f3f3f5;
  --dashboard-hover: #ececef;
}

/* Menü ikonları turuncu çizgi; aktif öğe turuncu yazı + sol çizgi */
.dashboard-shell .dashboard-nav-item > svg,
[data-theme="dark"] .dashboard-shell .dashboard-nav-item > svg {
  color: #ff6b1a;
}

.dashboard-shell .dashboard-nav-item {
  font-weight: 500;
}

.dashboard-shell .dashboard-nav-item:hover {
  background: var(--dashboard-hover);
}

.dashboard-shell .dashboard-nav-item--active,
.dashboard-shell .dashboard-nav-item[aria-current="page"],
[data-theme="dark"] .dashboard-shell .dashboard-nav-item--active,
[data-theme="dark"] .dashboard-shell .dashboard-nav-item[aria-current="page"] {
  background: transparent;
  color: #ff6b1a;
  font-weight: 600;
}

.dashboard-shell .dashboard-nav-item--active::before,
.dashboard-shell .dashboard-nav-item[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #ff6b1a;
}

.dashboard-shell .dashboard-nav-item--active:hover,
.dashboard-shell .dashboard-nav-item[aria-current="page"]:hover {
  background: var(--dashboard-hover);
}

/* Kartlar ve başlıklar: T-Soft'taki gibi küçük köşe, beyaz kart gri zeminde */
.dashboard-shell .dashboard-surface,
.dashboard-shell main :is(div, section, article, form, details)[class*="bg-[var(--dashboard-paper)]"],
.dashboard-shell main :is(div, section, article, form, details)[class*="bg-base-100"][class*="border"],
.dpro-card,
.dpro-panel,
.dpro-kpi,
.dpro-account {
  border-radius: 6px;
}

.dpro-panel-head {
  padding: 16px 20px 12px;
}

.dpro-panel h2 {
  font-size: 15px;
  font-weight: 600;
}

/* Üst çubuk ve sayfa başlığı */
.dashboard-shell > div > header {
  border-bottom-color: var(--dashboard-line);
}

.dashboard-shell main h1 {
  font-size: 20px;
}

/* ════════════════════════════════════════════════════════
   Genel bakış — T-Soft düzeni (ana sütun + sağ sütun)
   ════════════════════════════════════════════════════════ */

.dpro-layout {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 1200px) {
  .dpro-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

.dpro-main,
.dpro-rail {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.dpro-pair {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .dpro-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dpro-panel > h2 {
  padding: 16px 20px 0;
}

.dpro-btn--block {
  width: 100%;
}

/* Aktif hizmetler: solda açıklama, sağda mini kartlar */
.dpro-services {
  display: grid;
}

@media (min-width: 900px) {
  .dpro-services {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: stretch;
  }
}

.dpro-services-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.dpro-services-intro h2 {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
}

.dpro-services-intro p {
  margin: 0 0 8px;
  color: var(--dashboard-muted);
  font-size: 13px;
  line-height: 1.5;
}

.dpro-services-intro .dpro-btn {
  margin-top: auto;
}

.dpro-minis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 16px 16px 16px 4px;
  list-style: none;
}

.dpro-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 16px 12px;
  border: 1px solid var(--dashboard-line);
  border-radius: 6px;
  background: var(--dashboard-paper);
  color: inherit;
  text-align: center;
  transition: border-color 120ms ease;
}

.dpro-mini:hover {
  border-color: #ff6b1a;
}

.dpro-mini-icon {
  color: #ff6b1a;
}

.dpro-mini strong {
  font-size: 13.5px;
  font-weight: 600;
}

.dpro-mini small {
  color: var(--dashboard-muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Genel durum */
.dpro-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 6px;
  background: var(--dashboard-paper);
  color: var(--dashboard-muted);
}

.dpro-iconbtn:hover {
  border-color: #ff6b1a;
  color: #ff6b1a;
}

.dpro-iconbtn:disabled {
  opacity: 0.5;
}

.dpro-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 4px 20px 20px;
}

.dpro-stat {
  display: grid;
  gap: 6px;
  padding: 14px 12px;
  border: 1px solid var(--dashboard-line);
  margin: -1px 0 0 -1px;
}

.dpro-stat dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dashboard-muted);
  font-size: 12.5px;
}

.dpro-stat dd {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  padding-left: 18px;
}

.dpro-sq {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.dpro-sq--orange {
  background: #ff6b1a;
}

.dpro-sq--ink {
  background: var(--dashboard-ink);
}

/* Boş durum */
.dpro-blank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 20px 28px;
  color: var(--dashboard-muted);
  font-size: 13px;
  text-align: center;
}

.dpro-blank-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1.5px solid var(--dashboard-ink);
  color: var(--dashboard-ink);
}

/* Hızlı erişim */
.dpro-quick {
  margin: 0;
  min-width: 0;
  padding: 0 16px 16px;
  border: 1px solid var(--dashboard-line);
  border-radius: 6px;
}

.dpro-quick legend {
  padding: 0 8px;
  font-size: 13.5px;
  font-weight: 600;
}

.dpro-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
}

.dpro-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  padding: 14px 8px;
  border-radius: 6px;
  background: var(--dashboard-paper);
  box-shadow: 0 0 0 1px var(--dashboard-line);
  color: var(--dashboard-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: box-shadow 120ms ease;
}

.dpro-tile svg {
  color: #ff6b1a;
}

.dpro-tile:hover {
  box-shadow: 0 0 0 1px #ff6b1a;
}

/* Sağ sütun */
.dpro-account-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.dpro-account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dpro-account-top strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
}

.dpro-expiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--dashboard-line);
  color: var(--dashboard-muted);
  font-size: 12.5px;
}

.dpro-expiry b {
  color: var(--dashboard-ink);
  font-weight: 600;
}

.dpro-note {
  display: flex;
  gap: 14px;
  padding: 16px;
}

.dpro-note-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--dashboard-hover);
  color: #ff6b1a;
}

.dpro-note strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.dpro-note p {
  margin: 4px 0 10px;
  color: var(--dashboard-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════
   Yan boşluklar: içerik alanı kenarlara yakın, tüm sayfalarda aynı
   ════════════════════════════════════════════════════════ */

.dashboard-shell main {
  max-width: none;
  padding: 16px 16px 8px;
}

/* Sayfaların kendi ortalayan/dolgulu kapsayıcıları ikinci kez boşluk bırakıyordu */
.dashboard-shell main .dpro-view > :is(div, section)[class*="max-w-"] {
  max-width: none;
  padding-inline: 0;
  padding-block: 8px;
}

.dashboard-shell main .dpro-view > :is(div, section)[class*="mx-auto"] {
  margin-inline: 0;
}

@media (min-width: 1200px) {
  .dashboard-shell main {
    padding: 20px 20px 8px;
  }
}

/* ── Tüm sayfalarda sayı kartları ve küçük etiketler dashboard diline uysun ── */
.dashboard-shell main :not(th):not(button):not(a)[class*="uppercase"][class*="tracking-"] {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--dashboard-muted);
}

.dashboard-shell main :is(div, section, article)[class*="bg-[var(--dashboard-paper)]"] > :is(strong, span)[class*="text-2xl"],
.dashboard-shell main :is(div, section, article)[class*="bg-[var(--dashboard-paper)]"] strong[class*="text-2xl"] {
  font-weight: 600;
  letter-spacing: 0;
}

/* Sayfa başlık bölümü: dashboard başlığıyla aynı ölçü */
.dashboard-shell main section[class*="border-b"][class*="pb-"] {
  padding-bottom: 14px;
}

/* ── Hızlı erişim kareleri: yazı kenara değmesin ── */
.dpro-quick {
  padding: 4px 16px 16px;
}

.dpro-tiles {
  grid-template-columns: repeat(auto-fill, minmax(144px, 1fr));
  padding-top: 8px;
}

.dpro-tile {
  min-height: 116px;
  padding: 16px 14px;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* Orantı düzeltmeleri */
.dpro-services-intro h2,
.dpro-panel h2,
.dpro-panel-head h2 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

/* Hızlı erişim: kareler satırı doldurur, sola yığılmaz */
.dpro-tiles {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: 4px 20px 20px;
}

.dpro-tile {
  min-height: 108px;
}

/* Tek ürün kartı devasa uzamasın */
.dpro-minis {
  grid-template-columns: repeat(auto-fill, minmax(180px, 240px));
}

.dpro-pair {
  align-items: stretch;
}

.dpro-head {
  padding-top: 4px;
}

/* Kenar çubuğunu daraltma: kenar çubuğunun içinde, sağ üstte ince çift ok */
.dashboard-shell #dashboard-sidebar {
  position: sticky;
}

.dashboard-sidebar-collapse {
  position: absolute;
  top: 18px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--dashboard-faint);
}

.dashboard-sidebar-collapse svg {
  stroke-width: 1.75;
}

.dashboard-sidebar-collapse:hover {
  background: var(--dashboard-hover);
  color: var(--dashboard-ink);
}

/* Üst çubuktaki aç düğmesi (kenar çubuğu kapalıyken): sade, çerçevesiz */
.dashboard-shell header button[aria-controls="dashboard-sidebar"] svg {
  stroke-width: 1.75;
}

/* Menü aç/kapat düğmeleri çerçevesiz */
.dashboard-shell header button[aria-controls="dashboard-sidebar"],
.dashboard-shell header button[aria-controls="dashboard-mobile-navigation"] {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-shell header button[aria-controls="dashboard-sidebar"]:hover,
.dashboard-shell header button[aria-controls="dashboard-mobile-navigation"]:hover {
  background: var(--dashboard-hover);
}

/* Sayfa içi sekmeler (T-Soft): açılır menü yerine grup içi gezinme */
.dpro-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--dashboard-line);
}

.dpro-tab {
  position: relative;
  padding: 12px 18px;
  color: var(--dashboard-muted);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 120ms ease;
}

.dpro-tab:hover {
  color: var(--dashboard-ink);
}

.dpro-tab--active {
  color: #ff6b1a;
  font-weight: 600;
}

.dpro-tab--active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: #ff6b1a;
}

/* Sekme şeridinde kaydırma çubuğu görünmesin */
.dpro-tabs {
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dpro-tabs::-webkit-scrollbar {
  display: none;
}

.dpro-tab--active::after {
  bottom: 0;
}

/* ── Üst çubuk: çerçevesiz, sıkı yan boşluk, kullanıcı açılır menüsü ── */
.dashboard-shell > div > header > div:first-child {
  padding-inline: 16px;
  gap: 8px;
}

.dashboard-shell header button,
.dashboard-shell header a.rounded-lg,
.dashboard-shell header [role="group"],
.dashboard-shell header [role="group"] > a {
  border: 0;
  box-shadow: none;
}

.dashboard-shell header button:not(.dpro-usermenu-trigger):not(.dpro-usermenu-backdrop):not(.dpro-usermenu-item),
.dashboard-shell header [role="group"] {
  background: transparent;
}

.dashboard-shell header [role="group"] {
  padding: 2px;
  background: var(--dashboard-hover);
}

.dashboard-shell header [role="group"] > a:not([aria-current="true"]) {
  background: transparent;
}

.dashboard-shell header button:not(.dpro-usermenu-trigger):hover {
  background: var(--dashboard-hover);
}

.dpro-usermenu {
  position: relative;
}

.dpro-usermenu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 8px 4px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--dashboard-ink);
  text-align: left;
}

.dpro-usermenu-trigger:hover,
.dpro-usermenu-trigger[aria-expanded="true"] {
  background: var(--dashboard-hover);
}

.dpro-usermenu-text {
  display: none;
  min-width: 0;
}

@media (min-width: 1280px) {
  .dpro-usermenu-text {
    display: block;
  }
}

.dpro-usermenu-text strong,
.dpro-usermenu-text span {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dpro-usermenu-text strong {
  font-size: 13px;
  font-weight: 600;
}

.dpro-usermenu-text span {
  margin-top: 1px;
  color: var(--dashboard-faint);
  font-size: 11px;
}

.dpro-usermenu-caret {
  color: var(--dashboard-faint);
}

.dpro-usermenu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: default;
}

.dpro-usermenu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 61;
  display: grid;
  min-width: 240px;
  padding: 6px;
  border-radius: 8px;
  background: var(--dashboard-paper);
  box-shadow: 0 0 0 1px var(--dashboard-line), 0 10px 24px rgba(17, 17, 17, 0.12);
}

.dpro-usermenu-head {
  display: grid;
  gap: 2px;
  padding: 10px 12px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--dashboard-line);
}

.dpro-usermenu-head strong {
  font-size: 13.5px;
  font-weight: 600;
}

.dpro-usermenu-head span {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--dashboard-muted);
  font-size: 12px;
}

.dashboard-shell .dpro-usermenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--dashboard-ink);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.dashboard-shell .dpro-usermenu-item:hover {
  background: var(--dashboard-hover);
}

.dashboard-shell .dpro-usermenu-item svg {
  color: var(--dashboard-muted);
}

.dashboard-shell .dpro-usermenu-item--danger:hover,
.dashboard-shell .dpro-usermenu-item--danger:hover svg {
  color: #d92d20;
}

/* Kullanıcı menüsü: ikon + ad, e-posta yok; menü öğeleri turuncu ikonlu */
.dpro-usermenu-trigger {
  padding: 4px 12px;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.dpro-usermenu-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dpro-usermenu-text {
  display: none !important;
}

.dpro-usermenu-head {
  padding: 10px 12px;
}

.dpro-usermenu-head strong {
  font-size: 13px;
}

.dashboard-shell .dpro-usermenu-item svg {
  color: #ff6b1a;
}

.dashboard-shell .dpro-usermenu-item--danger {
  margin-top: 6px;
  color: #e5484d;
  box-shadow: 0 0 0 1px color-mix(in srgb, #e5484d 25%, transparent);
}

.dashboard-shell .dpro-usermenu-item--danger svg {
  color: #e5484d;
}

.dashboard-shell .dpro-usermenu-item--danger:hover,
.dashboard-shell .dpro-usermenu-item--danger:hover svg {
  background: color-mix(in srgb, #e5484d 10%, transparent);
  color: #e5484d;
}

/* Menü dışına tıklamayı yakalayan görünmez katman hiçbir durumda boyanmasın
   (üst çubuk düğmeleri için yazılan hover kuralı buna da uygulanıp sayfayı örtüyordu) */
.dashboard-shell header .dpro-usermenu-backdrop,
.dashboard-shell header .dpro-usermenu-backdrop:hover,
.dashboard-shell header .dpro-usermenu-backdrop:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
}

/* Önceki kural özgüllükte (specificity) yeniliyordu: görünmez katman her durumda saydam kalsın */
.dashboard-shell header button.dpro-usermenu-backdrop,
.dashboard-shell header button.dpro-usermenu-backdrop:hover,
.dashboard-shell header button.dpro-usermenu-backdrop:focus,
.dashboard-shell header button.dpro-usermenu-backdrop:active {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Kenar çubuğu: kalın yazı yok; ikonlar varsayılan siyah, aktif öğede turuncu */
.dashboard-shell aside .dashboard-nav-item,
.dashboard-shell aside .dashboard-nav-item--active,
.dashboard-shell aside .dashboard-nav-item[aria-current="page"],
.dashboard-shell aside .dashboard-nav-group,
.dashboard-shell aside .dashboard-nav-item--sub {
  font-weight: 400;
}

.dashboard-shell aside .dashboard-nav-item > svg,
[data-theme="dark"] .dashboard-shell aside .dashboard-nav-item > svg {
  color: var(--dashboard-ink);
}

.dashboard-shell aside .dashboard-nav-item--active > svg,
.dashboard-shell aside .dashboard-nav-item[aria-current="page"] > svg,
[data-theme="dark"] .dashboard-shell aside .dashboard-nav-item--active > svg,
[data-theme="dark"] .dashboard-shell aside .dashboard-nav-item[aria-current="page"] > svg {
  color: #ff6b1a;
}

.dashboard-shell aside strong {
  font-weight: 500;
}

/* Kenar çubuğu alt satırı: sürüm bilgisi + dil seçici */
.dpro-side-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 12px 6px 0;
  border-top: 1px solid var(--dashboard-line);
}

.dpro-version {
  color: var(--dashboard-faint);
  font-size: 12px;
}

.dpro-side-foot [role="group"] {
  height: 34px;
}

/* Dil seçici: çerçevesiz "TR / EN" (ana sitedeki ile aynı) */
.dpro-lang-sep {
  color: color-mix(in srgb, var(--color-base-content, currentColor) 25%, transparent);
  user-select: none;
}

.dpro-lang-idle {
  background: transparent;
  color: color-mix(in srgb, var(--color-base-content, currentColor) 50%, transparent);
}

.dpro-lang-idle:hover {
  background: transparent;
  color: var(--color-base-content, currentColor);
}

.dpro-lang-active,
.dashboard-shell .dpro-lang > a[aria-current="true"] {
  background: transparent;
  color: #ff6b1a;
}

.dashboard-shell .dpro-lang,
.dpro-lang {
  height: 34px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

/* ── Özellik seçim kartları (ürün oluştur / düzenle) ─────────────────────
   Gerçek <input type="checkbox"> kartın içinde görsel olarak gizlenir; durum özel onay kutusuyla gösterilir. */
.dpro-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 12px;
}

.dpro-feature {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 20px;
  align-items: center;
  column-gap: 12px;
  min-height: 68px;
  padding: 14px 16px;
  border: 1px solid var(--dashboard-line);
  border-radius: 12px;
  background: var(--dashboard-paper);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dpro-feature:hover {
  border-color: var(--dashboard-line-strong);
  background: var(--dashboard-hover);
}

.dpro-feature--on,
.dpro-feature--on:hover {
  border-color: #ff6b1a;
  background: rgba(255, 107, 26, 0.06);
}

.dpro-feature:focus-within {
  outline: 2px solid var(--dashboard-ring);
  outline-offset: 2px;
}

.dpro-feature__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--dashboard-hover);
  color: #ff6b1a;
}

.dpro-feature--on .dpro-feature__icon {
  background: #ff6b1a;
  color: #ffffff;
}

.dpro-feature__body {
  min-width: 0;
}

.dpro-feature__name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dashboard-ink);
}

.dpro-feature__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--dashboard-muted);
}

.dpro-feature__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.dpro-feature__check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--dashboard-line-strong);
  border-radius: 6px;
  background: var(--dashboard-paper);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dpro-feature__check::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.12s ease;
}

.dpro-feature--on .dpro-feature__check {
  border-color: #ff6b1a;
  background: #ff6b1a;
}

.dpro-feature--on .dpro-feature__check::after {
  transform: rotate(45deg) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .dpro-feature,
  .dpro-feature__check,
  .dpro-feature__check::after {
    transition: none;
  }
}

/* ── Müşteri Excel içe aktarma ──────────────────────────────────────────── */
.dpro-import-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 14px;
}

.dpro-import-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--dashboard-line);
  border-radius: 12px;
  background: var(--dashboard-paper);
}

.dpro-import-card strong {
  display: block;
  font-size: 13px;
  color: var(--dashboard-ink);
}

.dpro-import-card p,
.dpro-import-banner p {
  margin: 4px 0 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--dashboard-muted);
}

.dpro-import-step {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ff6b1a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.dpro-import-muted {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dashboard-muted);
}

.dpro-import-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  margin-right: 8px;
  padding: 0 16px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 10px;
  background: var(--dashboard-paper);
  color: var(--dashboard-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.dpro-import-button:hover:not(:disabled) {
  background: var(--dashboard-hover);
}

.dpro-import-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dpro-import-button:focus-visible,
.dpro-import-file:focus-within {
  outline: 2px solid var(--dashboard-ring);
  outline-offset: 2px;
}

.dpro-import-button--primary {
  border-color: #ff6b1a;
  background: #ff6b1a;
  color: #fff;
}

.dpro-import-button--primary:hover:not(:disabled) {
  background: #e85f12;
}

.dpro-import-file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 0 18px;
  border: 1.5px dashed var(--dashboard-line-strong);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dashboard-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dpro-import-file:hover {
  border-color: #ff6b1a;
  background: rgba(255, 107, 26, 0.04);
}

.dpro-import-file--busy {
  cursor: progress;
  opacity: 0.7;
}

.dpro-import-file input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dpro-import-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 12px;
}

.dpro-import-tiles > div {
  padding: 14px 16px;
  border: 1px solid var(--dashboard-line);
  border-radius: 12px;
  background: var(--dashboard-paper);
}

.dpro-import-tiles span {
  display: block;
  font-size: 11px;
  color: var(--dashboard-muted);
}

.dpro-import-tiles strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--dashboard-ink);
}

.dpro-import-tile--ok { border-color: rgba(22, 163, 74, 0.45) !important; }
.dpro-import-tile--ok strong { color: #16a34a; }
.dpro-import-tile--warn { border-color: rgba(217, 119, 6, 0.5) !important; }
.dpro-import-tile--warn strong { color: #d97706; }
.dpro-import-tile--bad { border-color: rgba(220, 38, 38, 0.45) !important; }
.dpro-import-tile--bad strong { color: #dc2626; }

.dpro-import-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--dashboard-line);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.55;
}

.dpro-import-banner > svg { flex-shrink: 0; margin-top: 2px; }
.dpro-import-banner strong { display: block; margin-bottom: 8px; color: var(--dashboard-ink); }
.dpro-import-banner--ok { border-color: rgba(22, 163, 74, 0.35); background: rgba(22, 163, 74, 0.06); }
.dpro-import-banner--ok > svg { color: #16a34a; }
.dpro-import-banner--warn { border-color: rgba(217, 119, 6, 0.45); background: rgba(217, 119, 6, 0.07); }
.dpro-import-banner--warn > svg { color: #d97706; }
.dpro-import-banner--error { border-color: rgba(220, 38, 38, 0.35); background: rgba(220, 38, 38, 0.06); }
.dpro-import-banner--error > svg { color: #dc2626; }

.dpro-import-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--dashboard-line);
  border-radius: 12px;
  background: var(--dashboard-paper);
  font-size: 12px;
}

.dpro-import-columns strong { display: block; margin-bottom: 8px; color: var(--dashboard-ink); }
.dpro-import-columns ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.dpro-import-columns li { padding: 4px 10px; border-radius: 999px; background: var(--dashboard-hover); color: var(--dashboard-ink); }
.dpro-import-ignored li { color: var(--dashboard-muted); text-decoration: line-through; }

.dpro-import-table-wrap {
  overflow: hidden;
  border: 1px solid var(--dashboard-line);
  border-radius: 12px;
  background: var(--dashboard-paper);
}

.dpro-import-table-title {
  padding: 12px 16px;
  border-bottom: 1px solid var(--dashboard-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--dashboard-ink);
}

.dpro-import-scroll { max-height: 22rem; overflow: auto; }

.dpro-import-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.dpro-import-table th,
.dpro-import-table td { padding: 9px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--dashboard-line); }
.dpro-import-table th { position: sticky; top: 0; background: var(--dashboard-paper); font-weight: 600; color: var(--dashboard-muted); }
.dpro-import-table td { color: var(--dashboard-ink); overflow-wrap: anywhere; }

.dpro-import-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(217, 119, 6, 0.12); color: #b45309; font-weight: 600; }
.dpro-import-tag--bad { background: rgba(220, 38, 38, 0.1); color: #b91c1c; }

.dpro-import-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Sidebar notification badge (unread contact messages, open support tickets). */
.dashboard-shell .dashboard-nav-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.375rem;
  border-radius: 999px;
  background: #ff6b1a;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Daraltılmış kenar çubuğu: yalnızca ikonlardan oluşan dar şerit */
.dashboard-shell #dashboard-sidebar.dashboard-sidebar--rail {
  padding: 12px 10px 14px;
  align-items: center;
  overflow: visible;
  z-index: 60;
}

.dashboard-sidebar--rail .dashboard-sidebar-collapse {
  position: static;
  margin-bottom: 8px;
}

.dashboard-sidebar--rail .dashboard-sidebar-logo,
.dashboard-sidebar--rail .dashboard-nav-label,
.dashboard-sidebar--rail .dashboard-nav-group > span:last-child,
.dashboard-sidebar--rail .dpro-version,
.dashboard-sidebar--rail .dpro-side-foot [role="group"] {
  display: none;
}

.dashboard-sidebar--rail nav {
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  align-items: center;
}

.dashboard-sidebar--rail .dashboard-nav-item,
.dashboard-sidebar--rail .dashboard-nav-group {
  justify-content: center;
  width: 100%;
  padding: 0;
  gap: 0;
}

.dashboard-sidebar--rail .dashboard-nav-sub {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.dashboard-sidebar--rail .dashboard-nav-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  font-size: 0.625rem;
  margin: 0;
}

.dashboard-sidebar--rail .dpro-side-foot {
  display: none;
}

@media (min-width: 1024px) {
  .dashboard-shell.dashboard-shell--open,
  .dashboard-shell.dashboard-shell--rail {
    display: grid;
    grid-template-columns: 17rem minmax(0, 1fr);
  }

  .dashboard-shell.dashboard-shell--rail {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }
}

/* Daraltılmış şeritte ikon üzerine gelince turuncu ipucu */
.dashboard-sidebar--rail [data-tip] {
  position: relative;
}

.dashboard-sidebar--rail [data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  z-index: 70;
  padding: 6px 10px;
  border-radius: 6px;
  background: #ff6b1a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-4px, -50%);
  transition: opacity 120ms ease, transform 120ms ease;
}

.dashboard-sidebar--rail [data-tip]:hover::after,
.dashboard-sidebar--rail [data-tip]:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}
