/* ==========================================================================
   bulut-ticari-erp — KURUMSAL PETROL YEŞİLİ & ZÜMRÜT SHELL MİMARİSİ
   Modular grid, accessible focus states, responsive cards & V13.2 engine
   ========================================================================== */
:root {
  --bt-bg: #F3F6F7;
  --bt-surface: #ffffff;
  --bt-subtle: #F6FAFA;
  --bt-brand: #0F4C5C;
  --bt-brand-dark: #0A3642;
  --bt-brand-title: #09323E;
  --bt-brand-caption: #0F5B6D;
  --bt-sidebar: #132A33;
  --bt-sidebar-hover: #1B3A46;
  --bt-sidebar-active: #0D1F26;
  --bt-sidebar-text: #C5D5DA;
  --bt-sidebar-chevron: #9CB6BF;
  --bt-coral: #0F4C5C;
  --bt-accent: #0EA5A4;
  --bt-accent-hover: #0D9488;
  --bt-accent-active: #0B7A75;
  --bt-success: #10B981;
  --bt-success-hover: #059669;
  --bt-warning: #D97706;
  --bt-border: #ddd;
  --bt-card-border: #e3e8ef;
  --bt-ink: #333333;
  --bt-ink-strong: #1f2937;
  --bt-muted: #64748b;
  --bt-light-muted: #94a3b8;
  --bt-chart-cyan: #0EA5A4;
  --bt-chart-red: #E05A47;
  --bt-chart-gray: #CBD5E1;
  --bt-chart-sky: #14B8A6;
  --vk-kirmizi: #DC2626;
  --vk-turuncu: #D97706;
  --vk-mavi: #0284C7;
  --vk-yesil: #059669;
  --vk-mor: #0F4C5C;
  --font-main: "Helvetica Neue", "Segoe UI", helvetica, verdana, sans-serif;
  --font-light: "Segoe UI Light", "Helvetica Neue Light", "Segoe UI", "Helvetica Neue", "Trebuchet MS", Verdana, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--bt-bg);
  color: var(--bt-ink);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35715;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

:focus-visible {
  outline: 2px solid var(--bt-accent);
  outline-offset: 2px;
}

.num, .mono {
  font-variant-numeric: tabular-nums;
}

.num {
  text-align: right;
  white-space: nowrap;
}

/* ==========================================================================
   APP SHELL & TOP HEADER (#0F4C5C, height 52px)
   ========================================================================== */
.bt-app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: 100%;
  background-color: var(--bt-bg);
}

.layout-header {
  position: sticky;
  top: 0;
  z-index: 1501;
  flex: 0 0 auto;
  height: 52px;
  background-color: var(--bt-brand);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.header-toolbar {
  height: 52px;
  padding: 6px 0;
  background-color: var(--bt-brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dx-toolbar-before {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 40px;
}

.menu-button {
  width: 60px;
  height: 40px;
  flex: 0 0 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0;
  border-radius: 4px;
}

.menu-button:hover {
  background: rgba(255, 255, 255, 0.10);
}

.brandLogo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 0;
  margin: 0;
  height: 40px;
  max-width: 350px;
  cursor: pointer;
  background: transparent;
  border: none;
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-decoration: none;
}

.brandLogo svg {
  display: block;
  height: 26px;
  width: 26px;
  flex-shrink: 0;
}

.dx-toolbar-center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.sirketTanim {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 4px 12px;
  cursor: pointer;
}

.sirketTanim:hover {
  background: rgba(255, 255, 255, 0.16);
}

.sirketTanim-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #ffd000;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  font-family: var(--font-main);
}

.dx-toolbar-after {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 5px;
  flex-shrink: 0;
  height: 40px;
}

/* bulut-ticari-erp AI White Pill */
.headerAiButton {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px 0 11px;
  margin-right: 4px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #ddd;
  color: var(--bt-brand);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.headerAiButton:hover {
  background: #f8fbff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.ai-dugme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  white-space: nowrap;
}

.ai-yildiz {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.ai-yazi {
  color: var(--bt-brand);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* 5 Circular White Header Buttons with #0F4C5C Icons */
.headerButton {
  width: 36px;
  height: 36px;
  border-radius: 50px;
  background: #ffffff;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--bt-coral);
  position: relative;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.headerButton:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

.headerButton .iconStil {
  color: var(--bt-coral);
  display: flex;
  align-items: center;
  justify-content: center;
}

.headerButton .hb-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 10px;
  background: #DC2626;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* User Menu Button */
.user-button-wrap {
  position: relative;
}

.user-button {
  background: transparent;
  border: none;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 13.5px;
  min-height: 32px;
  white-space: nowrap;
}

.user-button img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.user-label {
  white-space: nowrap;
}

.user-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.user-menu-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 220px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  padding: 4px 0;
  z-index: 1600;
}

.user-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 15px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 13.5px;
  color: #333;
}

.user-menu-item:hover {
  background: #f3f5f8;
  color: var(--bt-brand);
}

.user-menu-item svg {
  width: 16px;
  height: 16px;
  color: var(--bt-brand);
  flex-shrink: 0;
}

.mobile-overflow-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #ddd;
  align-items: center;
  justify-content: center;
  color: var(--bt-coral);
}

/* ==========================================================================
   BODY LAYOUT & COLLAPSIBLE CHARCOAL SIDEBAR (#132A33, 60px -> 250px)
   ========================================================================== */
.layout-body {
  display: flex;
  flex: 1 1 auto;
  min-height: calc(100dvh - 52px);
  position: relative;
}

.bt-drawer-nav {
  width: 60px;
  flex: 0 0 60px;
  background-color: var(--bt-sidebar);
  color: var(--bt-sidebar-text);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 52px;
  height: calc(100dvh - 52px);
  z-index: 1400;
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1), flex-basis 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  user-select: none;
}

.bt-app-shell.sidebar-open .bt-drawer-nav {
  width: 250px;
  flex: 0 0 250px;
}

.menu-container {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  background-color: var(--bt-sidebar);
}

.dx-treeview-search-wrap {
  padding: 10px;
  flex-shrink: 0;
}

.dx-treeview-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  height: 34px;
  overflow: hidden;
}

.dx-treeview-search-icon {
  width: 36px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex-shrink: 0;
}

.dx-treeview-search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #333;
  font-size: 13.5px;
  padding: 4px 8px 4px 0;
}

.bt-app-shell:not(.sidebar-open) .dx-treeview-search-input {
  opacity: 0;
  width: 0;
  padding: 0;
}

.dx-treeview-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.dx-treeview-node-container {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dx-treeview-node {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dx-treeview-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0 28px 0 0;
  color: var(--bt-sidebar-text);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.dx-treeview-item:hover {
  background-color: var(--bt-sidebar-hover);
  color: #ffffff;
}

.dx-treeview-node.is-active > .dx-treeview-item {
  background-color: var(--bt-sidebar-active);
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--bt-chart-cyan);
}

.dx-treeview-item .dx-icon-slot {
  width: 60px;
  flex: 0 0 60px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.dx-treeview-item .dx-icon-slot svg {
  width: 18px;
  height: 18px;
}

.dx-treeview-label {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bt-app-shell:not(.sidebar-open) .dx-treeview-label,
.bt-app-shell:not(.sidebar-open) .dx-treeview-toggle,
.bt-app-shell:not(.sidebar-open) .menu-fav-yildiz {
  display: none;
}

.badge-yeni {
  color: #ffd000;
  font-size: 11px;
  font-weight: 700;
  vertical-align: super;
  margin-left: 3px;
}

.badge-dot-yellow {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffff00;
  margin-left: 4px;
  vertical-align: super;
}

.dx-treeview-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bt-sidebar-chevron);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}

.dx-treeview-node.is-expanded > .dx-treeview-item .dx-treeview-toggle {
  transform: translateY(-50%) rotate(90deg);
}

.dx-treeview-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #252734;
}

.bt-app-shell:not(.sidebar-open) .dx-treeview-sublist {
  display: none !important;
}

.dx-treeview-subitem {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0 34px 0 40px;
  color: var(--bt-sidebar-text);
  font-size: 13.5px;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
  gap: 12px;
}

.dx-treeview-subitem:hover {
  background-color: var(--bt-sidebar-hover);
  color: #ffffff;
}

.dx-treeview-subitem.is-active {
  background-color: #1f212d;
  color: #ffffff;
  font-weight: 600;
}

.dx-treeview-subitem svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.dx-treeview-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 4px 16px;
}

.menu-fav-yildiz {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7a7d95;
  opacity: 0.25;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 2;
}

.dx-treeview-item:hover .menu-fav-yildiz,
.dx-treeview-subitem:hover .menu-fav-yildiz,
.menu-fav-yildiz.fav-secili {
  opacity: 1;
}

.menu-fav-yildiz.fav-secili {
  color: #ffd000;
}

/* Collapsed 60px Hover/Click Flyout Submenu */
.rail-flyout {
  position: fixed;
  left: 60px;
  min-width: 230px;
  max-height: 75vh;
  overflow-y: auto;
  background: var(--bt-sidebar);
  border: 1px solid #3f4257;
  border-radius: 0 6px 6px 0;
  box-shadow: 4px 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 1550;
  padding: 6px 0;
}

.rail-flyout-title {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rail-flyout-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: transparent;
  border: none;
  color: var(--bt-sidebar-text);
  font-size: 13.5px;
  text-align: left;
}

.rail-flyout-item:hover,
.rail-flyout-item.is-active {
  background: var(--bt-sidebar-hover);
  color: #ffffff;
}

/* ==========================================================================
   MAIN CONTENT AREA & DX-CARD
   ========================================================================== */
.bt-content-wrap {
  flex: 1 1 auto;
  min-width: 0;
  padding: 2px;
}

.dx-card.content-block.responsive-paddings {
  background: var(--bt-surface);
  border: 1px solid var(--bt-border);
  border-radius: 4px;
  padding: 10px;
  min-height: calc(100dvh - 58px);
}

/* ==========================================================================
   HOME DASHBOARD (#/home) EXACT GRID & WIDGETS
   ========================================================================== */
.home-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
  gap: 16px;
  align-items: start;
}

.home-left-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.home-right-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 5 KPI / Vade Kartları */
.vade-kartlari-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.vade-kart {
  --vk-renk: #0284C7;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 130px;
  padding: 10px 10px 10px 12px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--bt-card-border);
  border-left: 6px solid var(--vk-renk);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
  color: #1f2937;
  text-align: left;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.vade-kart:hover {
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.12);
  transform: translateY(-2px);
}

.vk-kirmizi { --vk-renk: #DC2626; }
.vk-turuncu { --vk-renk: #D97706; }
.vk-mavi    { --vk-renk: #0284C7; }
.vk-yesil   { --vk-renk: #059669; }
.vk-mor     { --vk-renk: #0F4C5C; }

.vk-ust {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-width: 0;
}

.vk-ikon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vk-renk);
}

.vk-baslik {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  line-height: 1.25;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
}

.vk-bos {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 13px;
}

.vk-icerik {
  margin-top: 6px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.vk-tutar {
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 700;
  color: #1f2937;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.vk-alt {
  font-size: 11.5px;
  color: #64748b;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Divider line below cards */
.home-divider {
  border-top: 1px solid #ddd;
  margin: 4px 0 8px;
}

/* Satışlarınız (Son 24 Ay) Chart + .satis-ozet */
.satis-grafik-kapsayici {
  position: relative;
  width: 100%;
}

.satis-ozet {
  position: absolute;
  top: 10px;
  right: 8px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto auto auto;
  column-gap: 4px;
  align-items: baseline;
  line-height: 1.35;
  pointer-events: none;
}

.satis-ozet-toplam {
  font-size: 15px;
  font-weight: 600;
  color: #263238;
}

.satis-ozet-onceki {
  font-size: 15px;
  font-weight: 600;
  color: #78909c;
}

.satis-ozet-tutar {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.satis-ozet-degisim {
  align-self: center;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #059669;
}

.satis-ozet-degisim.neg {
  background: #DC2626;
}

.dx-chart-wrap {
  position: relative;
  width: 100%;
}

.satis-grafik-kapsayici .dx-chart-title-light {
  text-align: left;
  padding-left: 14px;
  font-size: clamp(20px, 1.9vw, 26px);
}

.dx-chart-title-light {
  font-family: var(--font-light);
  font-size: 28px;
  font-weight: 200;
  color: #232323;
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.25;
}

.dx-chart-subtitle {
  font-family: var(--font-light);
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  text-align: center;
  margin: 2px 0 6px;
}

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

.dx-export-btn-box {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
}

.dx-export-menu-btn {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.dx-export-menu-btn:hover {
  background: #f5f5f5;
}

/* 11-Button Segmented Period Filter (.donem-butonlari) */
.donem-butonlari {
  margin-top: 28px;
  margin-bottom: 12px;
}

.dx-buttongroup-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.dx-buttongroup-item {
  flex: 1 1 auto;
  min-height: 36px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #ddd;
  margin-left: -1px;
  color: #333;
  font-size: 13.5px;
  font-weight: 400;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.12s ease;
}

.dx-buttongroup-item:first-child {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.dx-buttongroup-item:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.dx-buttongroup-item:hover {
  background: #f5f5f5;
  z-index: 1;
}

.dx-buttongroup-item.dx-item-selected {
  background: #dcdcdc;
  border-color: #c2c2c2;
  font-weight: 600;
  z-index: 2;
}

/* Side-by-Side Comparison Charts (Gelir/Gider & Alış/Satış) */
.charts-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

/* Right Column Financial Panels (.itemGroupBaslik) */
.itemGroupBaslik {
  display: flex;
  flex-direction: column;
}

.dx-form-group-caption {
  font-size: 12pt;
  font-weight: 700;
  color: var(--bt-brand-title);
  padding-bottom: 6px;
  border-bottom: 1px solid #e3e8ef;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dx-list-panel {
  min-height: 82px;
}

.dx-list-panel-tall {
  min-height: 400px;
}

.dx-empty-message {
  padding: 12px 7px;
  color: #767676;
  font-size: 13.5px;
}

.dx-list-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 6px;
  border-bottom: 1px solid #f1f3f7;
  font-size: 13px;
}

.dx-list-item-row:hover {
  background: #f8fafd;
}

.iconGelir { color: #059669; padding-right: 6px; font-weight: 700; }
.iconGider { color: #E05A47; padding-right: 6px; font-weight: 700; }

/* Chart Legend */
.dx-chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 4px;
  font-size: 12px;
  color: #767676;
}

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

.dx-legend-swatch {
  width: 12px;
  height: 12px;
  display: inline-block;
}

/* ==========================================================================
   FLOATING ACTION BUTTON (+ FAB, 48x48px #0EA5A4 + 8 Speed-Dial Items)
   ========================================================================== */
.dx-fa-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  z-index: 1490;
}

.dx-fa-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.dx-fa-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.dx-fa-row {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: bt-fade-up 0.14s ease-out;
}

.dx-fa-label {
  background: #ffffff;
  color: #333;
  border: 1px solid #e3e8ef;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  white-space: nowrap;
}

.dx-fa-mini-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.dx-fa-mini-btn:hover {
  background: #eef4fb;
  color: var(--bt-brand);
}

.dx-fa-main-btn {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background-color: var(--bt-accent);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.dx-fa-main-btn:hover {
  background-color: var(--bt-accent-hover);
}

.dx-fa-main-btn:active {
  background-color: var(--bt-accent-active);
}

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

/* ==========================================================================
   FLOATING AI CHAT WINDOW (.chatboot-container, 630x760px)
   ========================================================================== */
.chatboot-container {
  position: fixed;
  right: 84px;
  bottom: 24px;
  width: 630px;
  max-width: calc(100vw - 24px);
  height: 760px;
  max-height: calc(100dvh - 40px);
  min-width: 340px;
  min-height: 360px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e0e6ef;
  box-shadow: 0 12px 40px rgba(15, 76, 92, 0.45), 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1650;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: bt-fade-up 0.2s ease-out;
}

.chatboot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  background: linear-gradient(135deg, #0F4C5C, #0A3642);
  color: #ffffff;
  cursor: move;
  user-select: none;
}

.chatboot-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatboot-title {
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
}

.chatboot-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.35);
}

.chatboot-icon-btn {
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chatboot-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.sekmeler {
  display: flex;
  gap: 4px;
  padding: 6px 10px 0;
  background: #0A3642;
}

.sekme {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px 8px 0 0;
}

.sekme:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

.sekme.aktif {
  background: #f5f7fa;
  color: #0F4C5C;
}

.chatboot-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  background: #f5f7fa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.message-row.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e0e6ef;
}

.message-row.user .chat-avatar {
  background: #e3eafc;
  color: #0F4C5C;
}

.bubble-wrap {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  min-width: 0;
}

.message-row.user .bubble-wrap {
  align-items: flex-end;
}

.bubble {
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  color: #222;
  border-bottom-left-radius: 4px;
  white-space: pre-line;
}

.message-row.user .bubble {
  background: linear-gradient(135deg, #0F4C5C, #0D9488);
  color: #ffffff;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: 11px;
  color: #8a96a3;
  margin: 2px 6px 0;
}

.chatboot-input-area {
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid #eef1f5;
}

.chatboot-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  background: #f5f7fa;
  border: 1px solid #e0e6ef;
  border-radius: 22px;
  padding: 4px 4px 4px 14px;
}

.chatboot-input-wrapper:focus-within {
  border-color: #0F4C5C;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.12);
}

.chatboot-textarea {
  flex: 1;
  min-height: 32px;
  max-height: 100px;
  resize: none;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  padding: 6px 4px;
  line-height: 1.4;
}

.chatboot-send-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  border: none;
  background: #0F4C5C;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chatboot-send-btn:hover:not(:disabled) {
  background: #0A3642;
}

.chatboot-send-btn:disabled {
  background: #c5cdd6;
}

/* ==========================================================================
   SUBPAGE TOOLBAR, DATAGRID, FORMS & PRODUCTION DASHBOARD (.ud-*)
   ========================================================================== */
.subpage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.subpage-toolbar-left,
.subpage-toolbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.subpage-toolbar-title {
  font-size: 17px;
  font-weight: 500;
  color: #333;
  text-align: center;
  flex: 1 1 auto;
}

.dx-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #ddd;
  background: #ffffff;
  color: #333;
  white-space: nowrap;
}

.dx-btn:hover { background: #f5f5f5; }
.dx-btn-w65 { min-width: 65px; }
.dx-btn-sq { width: 36px; padding: 0; }
.dx-btn-success { background: var(--bt-success); border-color: var(--bt-success); color: #ffffff; }
.dx-btn-success:hover { background: var(--bt-success-hover); border-color: var(--bt-success-hover); }
.dx-btn-default { background: var(--bt-accent); border-color: var(--bt-accent); color: #ffffff; }
.dx-btn-default:hover { background: var(--bt-accent-hover); border-color: var(--bt-accent-hover); }
.dx-btn-danger { background: var(--bt-coral); border-color: var(--bt-coral); color: #ffffff; }
.dx-btn-danger:hover { background: #c53d3d; }
.dx-btn-warning { background: var(--bt-warning); border-color: var(--bt-warning); color: #ffffff; }

/* Üretim Özeti */
.ud-kartlar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ud-kart {
  min-height: 108px;
}

.ud-sayi {
  font-size: 18pt;
  font-weight: 700;
  color: #1f2937;
}

.ud-satir {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.ud-satir-genis {
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
}

.ud-panel {
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
  padding: 12px 14px;
  min-width: 0;
  margin-bottom: 16px;
}

.ud-satir .ud-panel {
  margin-bottom: 0;
}

.ud-panel-baslik {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 32px;
  margin-bottom: 8px;
  font-size: 11pt;
  font-weight: 600;
  color: #1f2937;
}

.ud-panel-baslik small {
  font-weight: 400;
  color: #64748b;
}

.ud-bos {
  padding: 32px 8px;
  text-align: center;
  font-size: 10pt;
  color: #94a3b8;
}

.ud-rozet {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 8.5pt;
  font-weight: 600;
  white-space: nowrap;
}

.rozet-kirmizi { background: rgba(229, 57, 53, 0.12); color: #c62828; }
.rozet-turuncu { background: rgba(251, 140, 0, 0.14); color: #e65100; }
.rozet-yesil   { background: rgba(67, 160, 71, 0.13); color: #2e7d32; }
.rozet-mavi    { background: rgba(30, 136, 229, 0.12); color: #1565c0; }

/* DataGrid Filter & Toolbar */
.grid-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  padding: 6px 2px;
}

.grid-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.grid-filter-label {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.grid-filter-label .req {
  color: #d9534f;
}

.dx-radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 13px;
}

.dx-datagrid-header-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.dx-searchbox-wrap {
  position: relative;
  width: 400px;
  max-width: 100%;
}

.dx-searchbox-wrap svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #767676;
  pointer-events: none;
}

.dx-input {
  width: 100%;
  height: 34px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #ffffff;
  color: #333;
  outline: none;
}

.dx-input:focus {
  border-color: var(--bt-accent);
}

.dx-searchbox-wrap .dx-input {
  padding-left: 32px;
}

.dx-datagrid-box {
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #ffffff;
  overflow: hidden;
}

.dx-datagrid-scroll {
  width: 100%;
  overflow-x: auto;
}

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

.dx-datagrid-table thead th {
  background: #ffffff;
  color: var(--bt-brand);
  font-weight: 600;
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ececec;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.dx-datagrid-table thead th.num {
  text-align: right;
}

.dx-datagrid-table tbody td {
  padding: 7px 10px;
  border-bottom: 1px solid #ececec;
  border-right: 1px solid #F3F6F7;
  vertical-align: middle;
}

.dx-datagrid-table tbody tr:hover {
  background: #f5f8fc;
}

.dx-datagrid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 100px 8px 12px;
  border-top: 1px solid #ddd;
  background: #fafafa;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  min-height: 38px;
  flex-wrap: wrap;
  gap: 8px;
}

/* 3-Column Invoice / Document Form (dx-form) */
.dx-tabpanel-bar {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 12px;
  background: #f7f7f7;
}

.dx-tab-btn {
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}

.dx-tab-btn.active {
  background: #ffffff;
  color: #0F4C5C;
  border-bottom-color: #0EA5A4;
  font-weight: 600;
}

.dx-form-3col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin-bottom: 10px;
}

.dx-field-row {
  display: grid;
  grid-template-columns: 99px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.dx-field-label {
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dx-field-label .req {
  color: #d9534f;
}

.dx-input-group {
  display: flex;
  align-items: stretch;
  gap: 4px;
  min-width: 0;
}

.dx-summary-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 14px;
  padding: 10px 6px;
  border-top: 1px solid #ddd;
}

.AltToplamRow {
  display: grid;
  grid-template-columns: 110px 12px 1fr;
  align-items: center;
  padding: 4px 0;
  font-size: 14px;
}

.AltToplamBaslik { font-weight: 700; color: #333; }
.AltToplamDeger { font-weight: 700; color: #1f2937; font-variant-numeric: tabular-nums; }

/* Slide-Over Drawer (.sheet) & Modals */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 45, 0.45);
  z-index: 1620;
  display: flex;
  justify-content: flex-end;
}

.sheet {
  width: 530px;
  max-width: 100vw;
  height: 100dvh;
  background: #ffffff;
  box-shadow: -20px 0 50px rgba(15, 25, 45, 0.22);
  display: flex;
  flex-direction: column;
}

.sheet-head,
.dx-popup-title {
  background: var(--bt-brand);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14pt;
  font-weight: 600;
}

.dx-closebutton {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #d2691e;
  border: 1px solid transparent;
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sheet-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
}

.sheet-foot {
  padding: 12px 16px;
  border-top: 1px solid #e3e8ef;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: #fafafa;
}

.bt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1680;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.bt-modal {
  width: 680px;
  max-width: 100%;
  max-height: 90dvh;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bt-modal-lg {
  width: 960px;
}

.bt-modal-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1 1 auto;
}

.bt-modal-foot {
  padding: 10px 16px;
  border-top: 1px solid #e3e8ef;
  background: #f8fafc;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Bildirim Kartları */
.bildirim-kart {
  --bildirim-renk: #546e7a;
  --bildirim-zemin: #eceff1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid #e6e9ef;
  border-left: 3px solid var(--bildirim-renk);
  border-radius: 8px;
  background: #ffffff;
}

.bildirim-kart.tur-fatura { --bildirim-renk: #2e7d32; --bildirim-zemin: #e8f5e9; }
.bildirim-kart.tur-banka  { --bildirim-renk: #00796b; --bildirim-zemin: #e0f2f1; }
.bildirim-kart.tur-b2b    { --bildirim-renk: #6a1b9a; --bildirim-zemin: #f3e5f5; }
.bildirim-kart.tur-tahsilat { --bildirim-renk: #e65100; --bildirim-zemin: #fff3e0; }

.bildirim-ikon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bildirim-zemin);
  color: var(--bildirim-renk);
  flex-shrink: 0;
}

/* Toast Host */
.bt-toast-host {
  position: fixed;
  top: 64px;
  right: 16px;
  z-index: 1800;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}

.bt-toast {
  background: #1f2937;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  border-left: 4px solid #0EA5A4;
  animation: bt-fade-up 0.16s ease-out;
}

.bt-toast.ok  { border-left-color: #059669; }
.bt-toast.err { border-left-color: #DC2626; }
.bt-toast.warn { border-left-color: #D97706; }

/* Mobile Record Cards (<900px V13.2-DUAL-CARD) */
.mobile-cards-list {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
}

.mobile-record-card {
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-left: 4px solid var(--bt-brand);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}

.mrc-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.mrc-title {
  font-weight: 700;
  font-size: 14px;
  color: #111827;
}

.mrc-amount {
  font-weight: 700;
  font-size: 14px;
  color: var(--bt-brand);
  font-variant-numeric: tabular-nums;
}

.mrc-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 8px;
}

.mrc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Mobile Bottom Document Bar (.belge-alt-cubuk) */
.belge-alt-cubuk {
  display: none;
}

/* Mobile Quick Grid (.mobil-menu-grid) */
.mobil-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
  margin: 4px 0 18px;
}

.mobil-menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px 12px;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(17, 38, 73, 0.08);
  cursor: pointer;
}

.mmc-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.mmc-text {
  font-size: 12px;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
  line-height: 1.25;
}

/* Print Host */
.bt-print-host {
  display: none;
}

@media print {
  body > *:not(#printHost) { display: none !important; }
  .bt-print-host { display: block !important; background: #fff; color: #000; padding: 12mm; }
  table thead { display: table-header-group; }
  tr, .print-sign-box { break-inside: avoid; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Zero Horizontal Overflow 320px-1920px)
   ========================================================================== */
@media (max-width: 1180px) {
  .home-split-grid {
    grid-template-columns: 1fr;
  }
  .vade-kartlari-grid,
  .ud-kartlar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ud-satir,
  .ud-satir-genis {
    grid-template-columns: 1fr;
  }
  .dx-form-3col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dx-datagrid-scroll {
    display: none;
  }
  .mobile-cards-list {
    display: flex;
  }
  .dx-datagrid-footer {
    padding-right: 12px;
  }
}

@media (max-width: 768px) {
  .brandLogo,
  .sirketTanim,
  .headerButton,
  .headerButton-desktop,
  .user-button-wrap,
  .ai-yazi {
    display: none !important;
  }
  .headerAiButton {
    padding: 0 9px;
    margin-right: 2px;
  }
  .mobile-overflow-btn {
    display: inline-flex;
  }
  .bt-drawer-nav {
    position: fixed;
    left: -260px;
    top: 52px;
    width: 250px !important;
    flex: none !important;
    height: calc(100dvh - 52px);
    transition: left 0.2s ease;
  }
  .bt-app-shell.sidebar-open .bt-drawer-nav {
    left: 0;
  }
  .bt-app-shell.sidebar-open .dx-treeview-label,
  .bt-app-shell.sidebar-open .dx-treeview-toggle,
  .bt-app-shell.sidebar-open .menu-fav-yildiz {
    display: inline-flex;
  }
  .bt-app-shell.sidebar-open .dx-treeview-search-input {
    opacity: 1;
    width: 100%;
    padding: 4px 8px 4px 0;
  }
  .vade-kartlari-grid,
  .ud-kartlar,
  .charts-two-col,
  .dx-form-3col,
  .dx-summary-2col {
    grid-template-columns: 1fr;
  }
  .satis-ozet {
    position: static;
    justify-content: end;
    margin-bottom: 6px;
  }
  .dx-field-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .dx-input, select, textarea, input {
    font-size: 16px !important;
  }
  .chatboot-container {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    inset: 0 !important;
    border-radius: 0;
  }
  .belge-alt-cubuk {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1510;
    display: flex;
    gap: 6px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid #e3e5e8;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  }
  .belge-alt-buton {
    flex: 1;
    min-width: 0;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: none;
    border-radius: 8px;
    background: #f1f4f8;
    color: #0F4C5C;
    font-size: 12px;
    font-weight: 500;
  }
  .belge-alt-buton.stok-ekle { background: #10B981; color: #fff; }
  .belge-alt-buton.kaydet { background: #0F4C5C; color: #fff; }
}
