:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --sidebar: #0b1220;
  --sidebar-2: #111b2e;
  --text: #182033;
  --muted: #7d879c;
  --border: #e8edf5;
  --blue: #2878ff;
  --purple: #8b5cf6;
  --green: #22c77a;
  --orange: #ff8a24;
  --red: #ff5364;
  --cyan: #27b8e8;
  --shadow: 0 8px 30px rgba(32, 51, 89, .07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.app {
  min-height: 100vh;
}

/* =========================
   SOL MENÜ
========================= */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 250px;
  background:
    radial-gradient(circle at 20% 0%, rgba(40, 120, 255, .15), transparent 25%),
    linear-gradient(180deg, #0a1120 0%, #101a2b 100%);
  color: #d9e1ef;
  padding: 22px 14px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 8px 0 30px rgba(7, 13, 25, .08);
}

.sidebar::-webkit-scrollbar {
  width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.12);
  border-radius: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 22px;
}

.brand-logo {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  font-size: 26px;
  border-radius: 13px;
  background: linear-gradient(135deg, #ff55a8, #9c67ff);
  box-shadow: 0 8px 24px rgba(191, 83, 255, .25);
}

.brand h2 {
  margin: 0;
  color: white;
  font-size: 19px;
  letter-spacing: -.5px;
}

.brand span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #78869f;
}

.store-mini {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 3px 22px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.045);
  border-radius: 14px;
}

.store-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2878ff, #8259f5);
}

.store-mini strong,
.store-mini span {
  display: block;
}

.store-mini strong {
  color: #fff;
  font-size: 12px;
}

.store-mini span {
  margin-top: 3px;
  color: #77859d;
  font-size: 10px;
}

.online-dot {
  position: absolute;
  right: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2bd77d;
  box-shadow: 0 0 0 4px rgba(43,215,125,.10);
}

.menu-title {
  margin: 20px 11px 7px;
  color: #66758d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.menu-item {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 3px 0;
  padding: 8px 11px;
  border-radius: 10px;
  color: #aeb9ca;
  font-size: 12px;
  transition: .2s ease;
}

.menu-item:hover {
  color: #fff;
  background: rgba(255,255,255,.055);
  transform: translateX(2px);
}

.menu-item.active {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(90deg, #164ca9, #153a82);
  box-shadow: 0 6px 20px rgba(23, 87, 193, .22);
}

.menu-icon {
  width: 22px;
  text-align: center;
  color: #b7c5da;
  font-size: 17px;
}

.menu-count {
  margin-left: auto;
  color: #73839a;
  font-size: 10px;
}

.badge-red {
  margin-left: auto;
  min-width: 22px;
  padding: 4px 7px;
  border-radius: 20px;
  background: #ff445a;
  color: #fff;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
}

.market-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: white;
  font-size: 10px;
  font-weight: 800;
}

.market-icon.trendyol {
  background: #f56620;
}

.market-icon.cicek {
  background: linear-gradient(135deg, #2ebf71, #2878ff);
}

.connected-dot {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #22c77a;
  box-shadow: 0 0 0 4px rgba(34,199,122,.08);
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 26px 5px 4px;
  padding: 14px 9px 3px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.mini-logo {
  font-size: 19px;
}

.sidebar-footer strong,
.sidebar-footer span {
  display: block;
}

.sidebar-footer strong {
  color: #dce5f3;
  font-size: 10px;
}

.sidebar-footer span {
  margin-top: 3px;
  color: #63728a;
  font-size: 9px;
}

/* =========================
   ANA ALAN
========================= */

.main {
  min-height: 100vh;
  margin-left: 250px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
}

.search {
  width: min(440px, 42vw);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #e5eaf2;
  border-radius: 13px;
  background: #f6f8fc;
  color: #8791a3;
}

.search > span {
  font-size: 21px;
  color: #303a4e;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}

.search input::placeholder {
  color: #9aa4b5;
}

.search kbd {
  white-space: nowrap;
  padding: 4px 7px;
  border: 0;
  border-radius: 6px;
  background: #e9edf5;
  color: #8993a5;
  font-size: 9px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button {
  position: relative;
  width: 39px;
  height: 39px;
  border: 1px solid #e7ebf2;
  border-radius: 50%;
  background: white;
  color: #394357;
  cursor: pointer;
  transition: .2s;
}

.icon-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.notification span {
  position: absolute;
  right: -2px;
  top: -3px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 20px;
  background: #ff445a;
  color: white;
  font-size: 8px;
  font-weight: 800;
}

.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 5px;
  padding-left: 13px;
  border-left: 1px solid #edf0f5;
}

.profile-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #121a2a;
  color: white;
  font-weight: 700;
}

.profile strong,
.profile span {
  display: block;
}

.profile strong {
  font-size: 11px;
}

.profile span {
  margin-top: 2px;
  color: #8c96a8;
  font-size: 9px;
}

.profile b {
  margin-left: 5px;
  font-size: 11px;
}

.content {
  max-width: 1650px;
  margin: 0 auto;
  padding: 28px;
}

.welcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}

.eyebrow,
.panel-label {
  margin: 0 0 6px;
  color: #8a5cf6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.welcome-row h1 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -.8px;
}

.subtitle {
  margin: 7px 0 0;
  color: #8993a6;
  font-size: 12px;
}

.date-box {
  min-width: 195px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: white;
  box-shadow: 0 5px 18px rgba(37,53,83,.03);
}

.date-box > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f0f4fb;
}

.date-box small,
.date-box strong {
  display: block;
}

.date-box small {
  color: #98a1b2;
  font-size: 8px;
  font-weight: 800;
}

.date-box strong {
  margin-top: 3px;
  font-size: 10px;
}

/* =========================
   İSTATİSTİK KARTLARI
========================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 108px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 5px 20px rgba(27, 45, 78, .035);
  transition: .25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  font-size: 21px;
  font-weight: 700;
}

.stat-icon.green {
  background: linear-gradient(135deg, #20ca78, #43d898);
}

.stat-icon.blue {
  background: linear-gradient(135deg, #2878ff, #5194ff);
}

.stat-icon.orange {
  background: linear-gradient(135deg, #ffa329, #ffbd46);
}

.stat-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #ae6df8);
}

.stat-info {
  min-width: 0;
  flex: 1;
}

.stat-info > span {
  color: #7f899b;
  font-size: 10px;
}

.stat-info > div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
}

.stat-info strong {
  color: #182033;
  font-size: 21px;
  letter-spacing: -.5px;
}

.stat-info em {
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.up {
  color: #1cb86d;
}

.stat-info small {
  color: #a1a9b8;
  font-size: 9px;
}

/* =========================
   DASHBOARD
========================= */

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, .75fr);
  gap: 16px;
}

.dashboard-main,
.dashboard-side {
  min-width: 0;
}

.dashboard-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--panel);
  box-shadow: 0 5px 22px rgba(30, 46, 78, .035);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 18px 12px;
}

.panel-header h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -.25px;
}

.panel-header a {
  color: #2878ff;
  font-size: 9px;
  font-weight: 700;
}

.panel-header select {
  padding: 7px 10px;
  border: 1px solid #e4e9f1;
  border-radius: 9px;
  outline: 0;
  background: white;
  color: #4e586b;
  font-size: 9px;
}

/* =========================
   GRAFİK
========================= */

.chart-panel {
  min-height: 330px;
}

.chart {
  position: relative;
  height: 255px;
  margin: 0 18px 17px;
  padding: 18px 5px 30px;
}

.chart-lines {
  position: absolute;
  inset: 15px 0 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.chart-lines span {
  display: block;
  border-top: 1px solid #edf0f5;
}

.bars {
  position: absolute;
  inset: 20px 8px 43px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 10px;
}

.bar-group {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  position: relative;
}

.bar {
  width: 18%;
  min-width: 8px;
  max-width: 20px;
  border-radius: 5px 5px 2px 2px;
  transition: .25s;
}

.bar:hover {
  filter: brightness(1.07);
  transform: scaleY(1.03);
  transform-origin: bottom;
}

.blue-bar {
  background: linear-gradient(180deg, #36a2ff, #2878ff);
}

.purple-bar {
  background: linear-gradient(180deg, #a769f6, #8454e8);
}

.bar-group small {
  position: absolute;
  bottom: -25px;
  color: #8f98aa;
  white-space: nowrap;
  font-size: 8px;
}

.chart-legend {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  color: #6f798c;
  font-size: 8px;
}

.chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chart-legend i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
}

.legend-blue {
  background: var(--blue);
}

.legend-purple {
  background: var(--purple);
}

/* =========================
   ALT PANELLER
========================= */

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.order-list,
.product-list {
  padding: 0 17px 13px;
}

.order {
  display: grid;
  grid-template-columns: 32px 1.15fr 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 61px;
  border-top: 1px solid #f0f2f6;
}

.market-logo {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-size: 9px;
  font-weight: 800;
}

.market-logo.ty,
.integration-logo.ty {
  background: #f56620;
}

.market-logo.cs,
.integration-logo.cs {
  background: linear-gradient(135deg, #31be6d, #2986f3);
}

.order-id strong,
.order-id span,
.customer strong,
.customer span {
  display: block;
}

.order-id strong,
.customer strong {
  font-size: 9px;
}

.order-id span,
.customer span {
  margin-top: 3px;
  color: #929bad;
  font-size: 8px;
}

.status {
  padding: 5px 7px;
  border-radius: 20px;
  font-size: 7px;
  font-weight: 700;
  white-space: nowrap;
}

.status.preparing {
  color: #2878ff;
  background: #edf4ff;
}

.status.new {
  color: #16a663;
  background: #eafaf2;
}

.status.packed {
  color: #8b5cf6;
  background: #f3edff;
}

.status.delivered {
  color: #16a663;
  background: #eafaf2;
}

.product {
  display: grid;
  grid-template-columns: 18px 35px 1fr auto auto;
  align-items: center;
  gap: 8px;
  min-height: 61px;
  border-top: 1px solid #f0f2f6;
}

.product > b {
  font-size: 9px;
}

.product-photo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7f1e8, #fff);
  font-size: 16px;
}

.product-info strong,
.product-info span {
  display: block;
}

.product-info strong {
  font-size: 9px;
}

.product-info span {
  margin-top: 3px;
  color: #919bad;
  font-size: 8px;
}

.product > strong {
  font-size: 9px;
  white-space: nowrap;
}

.product > em {
  padding: 4px 6px;
  border-radius: 12px;
  background: #eafaf2;
  color: #16a663;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

/* =========================
   ENTEGRASYONLAR
========================= */

.integrations {
  overflow: hidden;
}

.integration-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  margin: 0 16px;
  border-top: 1px solid #f0f2f6;
}

.integration-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  font-size: 10px;
  font-weight: 800;
}

.integration-logo.hb {
  background: linear-gradient(135deg, #ff8a22, #ffae35);
}

.integration-logo.n11 {
  background: linear-gradient(135deg, #6436d8, #8d5ce8);
}

.integration-row strong,
.integration-row span {
  display: block;
}

.integration-row strong {
  font-size: 10px;
}

.integration-row > div:nth-child(2) span {
  margin-top: 3px;
  color: #929cad;
  font-size: 8px;
}

.connection {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 20px;
  font-size: 7px;
  font-weight: 700;
  white-space: nowrap;
}

.connection.active {
  color: #169c5d;
  background: #e9faf1;
}

.connection.active i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1ac06e;
}

.connection.waiting {
  color: #d98613;
  background: #fff5df;
}

.connection.passive {
  color: #7d8798;
  background: #f0f2f6;
}

.add-integration {
  width: calc(100% - 32px);
  margin: 6px 16px 16px;
  padding: 10px;
  border: 1px solid #cfe0ff;
  border-radius: 9px;
  background: #edf4ff;
  color: #2878ff;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.add-integration:hover {
  background: #e3eeff;
}

/* =========================
   PAZAR DAĞILIMI
========================= */

.donut-wrap {
  display: flex;
  justify-content: center;
  padding: 3px 0 13px;
}

.donut {
  width: 125px;
  height: 125px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf0f5;
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: white;
}

.donut-center {
  position: relative;
  z-index: 2;
  text-align: center;
}

.donut-center strong,
.donut-center span {
  display: block;
}

.donut-center strong {
  font-size: 19px;
}

.donut-center span {
  margin-top: 2px;
  color: #8d96a7;
  font-size: 8px;
}

.market-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 18px;
  padding: 8px 0;
  border-top: 1px solid #f1f3f7;
  font-size: 9px;
}

.market-stat span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.orange-dot {
  background: #ff7425;
}

.blue-dot {
  background: #2878ff;
}

.gray-dot {
  background: #d8dee8;
}

/* =========================
   HIZLI İŞLEMLER
========================= */

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 16px;
}

.quick-grid button {
  min-height: 78px;
  padding: 8px 4px;
  border: 1px solid #edf0f5;
  border-radius: 11px;
  background: #fafbfe;
  color: #525c6e;
  font-size: 8px;
  cursor: pointer;
  transition: .2s;
}

.quick-grid button:hover {
  transform: translateY(-3px);
  background: white;
  box-shadow: 0 8px 20px rgba(32,51,89,.08);
}

.quick-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin: 0 auto 7px;
  border-radius: 9px;
  font-size: 17px;
}

.quick-icon.blue {
  color: #2878ff;
  background: #edf4ff;
}

.quick-icon.purple {
  color: #8b5cf6;
  background: #f3edff;
}

.quick-icon.cyan {
  color: #1aa9dc;
  background: #e9f9ff;
}

.quick-icon.red {
  color: #f04f62;
  background: #fff0f2;
}

.quick-icon.orange {
  color: #ee8a18;
  background: #fff5e8;
}

.quick-icon.green {
  color: #17a765;
  background: #eafaf2;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1250px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .quick {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .sidebar {
    width: 76px;
    padding-left: 9px;
    padding-right: 9px;
  }

  .main {
    margin-left: 76px;
  }

  .brand {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .brand > div:last-child,
  .store-mini > div:not(.store-avatar):not(.online-dot),
  .online-dot,
  .menu-title,
  .menu-item > span:not(.menu-icon):not(.market-icon),
  .sidebar-footer > div:last-child {
    display: none;
  }

  .store-mini {
    justify-content: center;
    padding: 8px;
  }

  .menu-item {
    justify-content: center;
  }

  .menu-icon {
    font-size: 19px;
  }

  .market-icon {
    width: 28px;
    height: 28px;
  }

  .sidebar-footer {
    justify-content: center;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .content {
    padding: 18px;
  }

  .topbar {
    padding: 0 16px;
  }

  .search {
    width: 55%;
  }

  .profile > div:not(.profile-avatar),
  .profile > b {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-side {
    display: flex;
  }

  .welcome-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .date-box {
    width: 100%;
  }

  .order {
    grid-template-columns: 32px 1fr auto;
  }

  .customer {
    display: none;
  }

  .product {
    grid-template-columns: 18px 35px 1fr auto;
  }

  .product > em {
    display: none;
  }
}

/* =========================
   ÜRÜN YÖNETİMİ
========================= */

.product-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.product-search {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.product-search input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 42px;
    border: 1px solid #e4e9f2;
    border-radius: 10px;
    background: #fff;
    outline: none;
    font-size: 13px;
}

.product-search input:focus {
    border-color: #377dff;
    box-shadow: 0 0 0 3px rgba(55, 125, 255, 0.08);
}

.product-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-filter {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e4e9f2;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    font-size: 12px;
    cursor: pointer;
}

.product-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fff;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.product-table th {
    padding: 13px 14px;
    text-align: left;
    background: #f8faff;
    color: #7c879d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #edf0f5;
}

.product-table td {
    padding: 14px;
    border-bottom: 1px solid #f0f2f6;
    color: #26334d;
    font-size: 12px;
    vertical-align: middle;
}

.product-table tbody tr:hover {
    background: #fafbff;
}

.product-table tbody tr:last-child td {
    border-bottom: none;
}

.product-name {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
}

.product-thumb {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: #f1f4f9;
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.product-name strong {
    display: block;
    font-size: 12px;
    color: #18243d;
    margin-bottom: 3px;
}

.product-name small {
    color: #98a2b3;
    font-size: 10px;
}

.marketplaces {
    display: flex;
    gap: 5px;
}

.market {
    display: inline-grid;
    place-items: center;
    min-width: 25px;
    height: 25px;
    padding: 0 6px;
    border-radius: 6px;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.market.ty {
    background: #f27a1a;
}

.market.cs {
    background: #16b6b2;
}

.status-stock {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 20px;
    background: #eafaf2;
    color: #12a66a;
    font-size: 10px;
    font-weight: 700;
}

.status-stock.out {
    background: #fff1f0;
    color: #ef4444;
}

.product-action {
    border: none;
    background: #f2f5fa;
    color: #526079;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 800;
}

.product-action:hover {
    background: #e8efff;
    color: #2563eb;
}

/* ÜRÜN TABLOSU - DIV YAPISI DÜZELTMESİ */

.product-table {
    width: 100%;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    overflow: hidden;
}

.product-table-head,
.product-row {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr .7fr 1fr 1.2fr 1fr .5fr;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.product-table-head {
    background: #f8faff;
    color: #8792a8;
    font-size: 11px;
    font-weight: 700;
    border-bottom: 1px solid #edf0f5;
}

.product-row {
    min-height: 70px;
    border-bottom: 1px solid #f0f2f6;
    font-size: 12px;
    color: #26334d;
}

.product-row:last-child {
    border-bottom: none;
}

.product-row:hover {
    background: #fafbff;
}
.product-image {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================================
   ZİHİN - TOPLU EŞLEŞTİRME PREMIUM UI
   ===================================================== */

#bulkAttributesSection {
  margin-top: 24px !important;
}

/* ANA BÖLÜM KARTLARI */
.zihin-mapping-section {
  background: #ffffff;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  padding: 20px;
  margin-top: 18px;
  box-shadow: 0 4px 18px rgba(22, 45, 85, 0.05);
}

.zihin-mapping-section.required-section {
  border: 1px solid #b9d7ff;
  background: linear-gradient(
    180deg,
    #fbfdff 0%,
    #f4f9ff 100%
  );
}

.zihin-mapping-section.optional-section {
  border: 1px solid #f0d59e;
  background: linear-gradient(
    180deg,
    #fffdf9 0%,
    #fff9ee 100%
  );
}


/* BÖLÜM BAŞLIĞI */
.zihin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.zihin-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zihin-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.required-section .zihin-section-icon {
  background: #ffe7e7;
}

.optional-section .zihin-section-icon {
  background: #fff0cf;
}

.zihin-section-title h3 {
  margin: 0;
  font-size: 17px;
  color: #14213d;
}

.zihin-section-title p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #71809a;
}


/* İLERLEME */
.zihin-required-progress {
  min-width: 220px;
}

.zihin-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #5e6b82;
  margin-bottom: 7px;
}

.zihin-progress-bar {
  height: 7px;
  background: #e4eaf2;
  border-radius: 20px;
  overflow: hidden;
}

.zihin-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #16a34a,
    #22c55e
  );
  border-radius: 20px;
  transition: width 0.25s ease;
}


/* ÖZELLİK GRID */
#bulkRequiredAttributeRows,
#bulkOptionalAttributeRows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}


/* ÖZELLİK KARTI */
.bulk-attribute-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #d6deea;
  border-radius: 11px;
  padding: 12px;
  min-width: 0;
  box-sizing: border-box;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.bulk-attribute-card:hover {
  border-color: #9ab7e8;
  box-shadow: 0 5px 14px rgba(34, 73, 130, 0.08);
  transform: translateY(-1px);
}


/* ZORUNLU KART */
.bulk-attribute-card.is-required {
  border-color: #b7c9e8;
}

.bulk-attribute-card.is-required.is-complete {
  border-color: #36b96d;
  box-shadow: 0 0 0 1px rgba(54, 185, 109, 0.08);
}


/* KART ÜSTÜ */
.bulk-attribute-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.bulk-attribute-name {
  font-size: 13px;
  font-weight: 700;
  color: #16213b;
}

.bulk-required-star {
  color: #ef4444;
}

.bulk-attribute-badge {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 20px;
  background: #eef3fa;
  color: #61708a;
}

.bulk-attribute-badge.variant {
  background: #eee8ff;
  color: #6848c7;
}


/* SELECT / INPUT */
.bulk-attribute-card select,
.bulk-attribute-card input {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 38px;
  box-sizing: border-box;
  border: 1px solid #ccd6e5;
  border-radius: 7px;
  background: #fff;
  padding: 7px 10px;
  font-size: 13px;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.bulk-attribute-card input {
  margin-top: 7px;
}

.bulk-attribute-card select:focus,
.bulk-attribute-card input:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.10);
}


/* TAMAMLANDI İŞARETİ */
.bulk-complete-check {
  display: none;
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #18a957;
  color: white;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.bulk-attribute-card.is-complete .bulk-complete-check {
  display: flex;
}


/* OPSİYONEL AÇ/KAPA */
#bulkOptionalAttributesContent {
  display: none;
  margin-top: 16px;
}

#bulkOptionalAttributesContent.is-open {
  display: block;
}

#bulkOptionalToggle {
  border: 1px solid #b7c9e8;
  background: #ffffff;
  color: #285da8;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.18s ease;
}

#bulkOptionalToggle:hover {
  background: #f2f7ff;
  border-color: #78a7ed;
}


/* ALT SABİT İŞLEM ÇUBUĞU */
.zihin-bulk-actionbar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin-top: 22px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid #dbe4f0;
  border-radius: 13px;
  box-shadow: 0 -5px 22px rgba(31, 53, 85, 0.08);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.zihin-action-info {
  color: #52627c;
  font-size: 13px;
}

.zihin-action-info strong {
  color: #14213d;
}

.zihin-primary-action {
  border: 0;
  background: linear-gradient(
    135deg,
    #2f80ed,
    #1769e0
  );
  color: white;
  border-radius: 9px;
  padding: 11px 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(47, 128, 237, 0.20);
}

.zihin-primary-action:hover {
  transform: translateY(-1px);
}

.zihin-primary-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}


/* RESPONSIVE */
@media (max-width: 1350px) {
  #bulkRequiredAttributeRows,
  #bulkOptionalAttributeRows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  #bulkRequiredAttributeRows,
  #bulkOptionalAttributeRows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zihin-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .zihin-required-progress {
    width: 100%;
  }
}

@media (max-width: 650px) {
  #bulkRequiredAttributeRows,
  #bulkOptionalAttributeRows {
    grid-template-columns: 1fr;
  }

  .zihin-bulk-actionbar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =====================================================
   ZİHİN - PREMIUM MAPPING HEADER + CATEGORY
   ===================================================== */

.zihin-mapping-top {
  background: #ffffff;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(22, 45, 85, 0.05);
}

.zihin-mapping-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.zihin-mapping-heading h2 {
  margin: 0;
  color: #12203b;
  font-size: 21px;
  font-weight: 800;
}

.zihin-mapping-heading p {
  margin: 5px 0 0;
  color: #71809a;
  font-size: 13px;
}

.zihin-selected-products {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f3f8ff;
  border: 1px solid #d9e9ff;
  border-radius: 11px;
}

.zihin-selected-products > span {
  font-size: 20px;
}

.zihin-selected-products div {
  display: flex;
  flex-direction: column;
}

.zihin-selected-products small {
  color: #71809a;
  font-size: 11px;
}

.zihin-selected-products strong {
  color: #15213a;
  font-size: 14px;
}


/* KATEGORİ ANA KARTI */

.zihin-category-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 18px;

  background: linear-gradient(
    180deg,
    #fbfdff,
    #f7faff
  );

  border: 1px solid #cfe0f7;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;

  box-shadow: 0 4px 18px rgba(31, 69, 120, 0.05);
}

.zihin-category-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}

.zihin-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 39px;
  height: 39px;

  border-radius: 10px;
  background: #eee5ff;
  font-size: 18px;
}

.zihin-category-title div {
  display: flex;
  flex-direction: column;
}

.zihin-category-title strong {
  color: #16213b;
  font-size: 15px;
}

.zihin-category-title small {
  color: #71809a;
  margin-top: 2px;
}


/* ARAMA */

.zihin-category-search {
  display: flex;
  align-items: center;
  gap: 8px;

  background: white;
  border: 1.5px solid #cbd8e9;
  border-radius: 10px;

  padding: 0 12px;

  transition: 0.18s ease;
}

.zihin-category-search:focus-within {
  border-color: #4388f5;
  box-shadow: 0 0 0 3px rgba(67, 136, 245, 0.10);
}

.zihin-category-search > span {
  color: #4285f4;
  font-size: 22px;
}

.zihin-category-search input {
  width: 100%;
  height: 44px;
  border: 0 !important;
  outline: 0 !important;
  background: transparent;
  font-size: 14px;
}

.zihin-category-results {
  margin-top: 7px;
  max-height: 240px;
  overflow-y: auto;
}


/* SEÇİLEN KATEGORİ */

.zihin-selected-category {
  display: flex;
  align-items: center;
  gap: 13px;

  min-height: 95px;

  background: #f7f9fc;
  border: 1px dashed #cbd6e6;
  border-radius: 12px;

  padding: 16px;
  box-sizing: border-box;
}

.zihin-category-empty-icon {
  width: 37px;
  height: 37px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #edf2f8;
  color: #8493aa;
  font-size: 20px;
}

.zihin-selected-category strong {
  color: #26354e;
}

.zihin-selected-category p {
  margin: 4px 0;
  color: #71809a;
  font-size: 12px;
}


/* KATEGORİ SEÇİLDİ */

.zihin-selected-category:has(
  .zihin-category-success-icon
) {
  background: linear-gradient(
    135deg,
    #f2fff7,
    #f7fffb
  );

  border: 1px solid #bde8cc;
}

.zihin-category-success-icon {
  width: 39px;
  height: 39px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #17a957;
  color: white;

  font-weight: 900;
  font-size: 18px;

  box-shadow: 0 4px 10px rgba(23, 169, 87, 0.20);
}

.zihin-category-success-info strong {
  color: #168443;
}

.zihin-category-success-info p {
  margin: 5px 0;
  color: #465873;
  line-height: 1.4;
}

.zihin-category-success-info small {
  color: #73839b;
}


/* ALT BAR */

.zihin-secondary-action {
  border: 1px solid #cbd7e7;
  background: white;
  color: #24344e;

  padding: 10px 16px;
  border-radius: 9px;

  font-weight: 650;
  cursor: pointer;
}

.zihin-secondary-action:hover {
  background: #f6f9fd;
}

.zihin-action-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zihin-action-info > div {
  display: flex;
  flex-direction: column;
}

.zihin-action-info small {
  color: #71809a;
  margin-top: 2px;
}

.zihin-action-box {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #eaf8ef;
  border-radius: 9px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

  .zihin-category-panel {
    grid-template-columns: 1fr;
  }

  .zihin-mapping-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =====================================================
   ZİHİN - TOPLU SON KONTROL
   ===================================================== */

.bulk-final-stat {
  padding: 16px 18px;
  background: #f7f9fc;
  border: 1px solid #dce4ef;
  border-radius: 11px;
}

.bulk-final-stat small {
  display: block;
  color: #71809a;
  font-size: 12px;
  margin-bottom: 5px;
}

.bulk-final-stat strong {
  color: #16213b;
  font-size: 23px;
}

.bulk-final-stat.ready {
  background: #f1fff6;
  border-color: #bce8cc;
}

.bulk-final-stat.ready strong {
  color: #159447;
}

.bulk-final-stat.error {
  background: #fff5f5;
  border-color: #f1c5c5;
}

.bulk-final-stat.error strong {
  color: #dc3e3e;
}


/* ÜRÜN SONUÇ KARTI */

.bulk-final-product {
  background: white;
  border: 1.5px solid #dce4ef;
  border-radius: 11px;
  padding: 14px;
  margin-bottom: 10px;
}

.bulk-final-product.is-ready {
  border-color: #9eddb6;
  background: #fbfffc;
}

.bulk-final-product.has-error {
  border-color: #efb7b7;
  background: #fffafa;
}

.bulk-final-product-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bulk-final-status-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  font-weight: 900;
}

.is-ready .bulk-final-status-icon {
  background: #e0f8e9;
  color: #159447;
}

.has-error .bulk-final-status-icon {
  background: #ffe4e4;
  color: #dc3e3e;
}

.bulk-final-product-info {
  flex: 1;

  display: flex;
  flex-direction: column;
}

.bulk-final-product-info strong {
  color: #16213b;
}

.bulk-final-product-info small {
  margin-top: 3px;
  color: #71809a;
}

.bulk-final-status-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.bulk-final-status-text small {
  margin-top: 3px;
  color: #71809a;
}

.ready-text {
  color: #159447;
}

.error-text {
  color: #dc3e3e;
}

.bulk-final-messages {
  margin-top: 11px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
}

.error-message {
  background: #fff0f0;
  color: #b72f2f;
}

.warning-message {
  background: #fff8e8;
  color: #966a12;
}

/* =====================================================
   ZİHİN - SON KONTROL ÜRÜN LİSTESİ
   ===================================================== */

.bulk-final-product-row {
  display: grid;

  grid-template-columns:
    70px
    minmax(280px, 1fr)
    90px
    120px
    190px;

  gap: 16px;

  align-items: center;
}


/* ÜRÜN FOTOĞRAFI */

.bulk-final-image {
  width: 62px;
  height: 62px;

  border-radius: 10px;

  overflow: hidden;

  background: #f4f7fb;

  border: 1px solid #dce5f0;
}

.bulk-final-image img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  background: white;
}

.bulk-final-no-image {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 23px;
}


/* ÜRÜN BİLGİLERİ */

.bulk-final-product-details {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.bulk-final-title {
  color: #14213d;

  font-size: 14px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bulk-final-category {
  margin-top: 4px;

  color: #71809a;

  font-size: 11px;
}

.bulk-final-codes {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 7px;

  font-size: 11px;

  color: #71809a;
}

.bulk-final-codes strong {
  color: #44536c;
}


/* STOK / FİYAT */

.bulk-final-value {
  display: flex;

  flex-direction: column;

  padding-left: 14px;

  border-left: 1px solid #e4eaf2;
}

.bulk-final-value small {
  color: #8995a9;

  font-size: 10px;

  margin-bottom: 4px;
}

.bulk-final-value strong {
  color: #1c2940;

  font-size: 14px;
}


/* SONUÇ */

.bulk-final-result {
  display: flex;

  align-items: center;

  gap: 9px;

  justify-content: flex-end;
}

.bulk-final-result > div:last-child {
  display: flex;

  flex-direction: column;

  text-align: right;
}

.bulk-final-result small {
  color: #71809a;

  font-size: 10px;

  margin-top: 3px;
}

.bulk-final-status-icon.ready-icon {
  background: #dff8e8;

  color: #149447;
}

.bulk-final-status-icon.error-icon {
  background: #ffe5e5;

  color: #d83d3d;
}


/* HOVER */

.bulk-final-product {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.bulk-final-product:hover {
  transform: translateY(-1px);

  box-shadow:
    0 5px 16px
    rgba(31, 53, 85, 0.07);
}


/* RESPONSIVE */

@media (max-width: 1100px) {

  .bulk-final-product-row {
    grid-template-columns:
      60px
      1fr
      80px
      110px;
  }

  .bulk-final-result {
    grid-column:
      2 / -1;

    justify-content:
      flex-start;
  }

  .bulk-final-result > div:last-child {
    text-align: left;
  }
}

/* =====================================================
   ZİHİN - TOPLU GÖNDERİM DURUMLARI
   ===================================================== */

.bulk-sending-icon {
  background: #e8f1ff;
  color: #2478ed;
}

.bulk-sending-text {
  color: #2478ed;
}

.bulk-send-success {
  border-color: #8fddb0 !important;
  background: #f7fff9 !important;
}

.bulk-final-result small {
  max-width: 230px;
  overflow-wrap: anywhere;
}

/* YEREL ÜRÜNLER - YENİ ÜRÜN */

.zihin-add-product-button {
  border: none;
  border-radius: 9px;

  padding: 10px 18px;

  background: #2478ed;
  color: white;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  box-shadow:
    0 4px 12px
    rgba(36, 120, 237, 0.18);

  transition: 0.15s ease;
}

.zihin-add-product-button:hover {
  transform: translateY(-1px);

  box-shadow:
    0 6px 16px
    rgba(36, 120, 237, 0.25);
}

/* =====================================================
   ZİHİN PREMIUM - YENİ ÜRÜN FORMU
   ===================================================== */

/* FORMUN BULUNDUĞU SAYFA */

#mainContent:has(#productCategorySearch) {
  background:
    linear-gradient(
      180deg,
      #f7f9fd 0%,
      #f3f6fb 100%
    );
}


/* FORM KARTLARI */

#mainContent:has(#productCategorySearch) .form-card,
#mainContent:has(#productCategorySearch) .card,
#mainContent:has(#productCategorySearch) .product-form-card {
  background: rgba(255, 255, 255, 0.96);

  border: 1px solid #e5eaf2;

  border-radius: 18px;

  box-shadow:
    0 8px 30px rgba(31, 48, 78, 0.06);

  padding: 24px;
}


/* TÜM LABEL'LAR */

#mainContent:has(#productCategorySearch) label {
  display: block;

  margin-bottom: 7px;

  color: #24324a;

  font-size: 12px;

  font-weight: 650;

  letter-spacing: 0.01em;
}


/* INPUT / SELECT / TEXTAREA */

#mainContent:has(#productCategorySearch) input:not([type="file"]),
#mainContent:has(#productCategorySearch) select,
#mainContent:has(#productCategorySearch) textarea {
  width: 100%;

  border: 1px solid #dfe5ee;

  border-radius: 11px;

  background: #fbfcfe;

  color: #172033;

  font-family: inherit;

  font-size: 13px;

  outline: none;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}


/* INPUT YÜKSEKLİĞİ */

#mainContent:has(#productCategorySearch) input:not([type="file"]),
#mainContent:has(#productCategorySearch) select {
  min-height: 46px;

  padding: 0 14px;
}


/* TEXTAREA */

#mainContent:has(#productCategorySearch) textarea {
  min-height: 130px;

  padding: 14px;

  resize: vertical;

  line-height: 1.6;
}


/* PLACEHOLDER */

#mainContent:has(#productCategorySearch) input::placeholder,
#mainContent:has(#productCategorySearch) textarea::placeholder {
  color: #9ba7b9;
}


/* FOCUS */

#mainContent:has(#productCategorySearch) input:not([type="file"]):focus,
#mainContent:has(#productCategorySearch) select:focus,
#mainContent:has(#productCategorySearch) textarea:focus {
  background: #ffffff;

  border-color: #4d8ff7;

  box-shadow:
    0 0 0 4px rgba(77, 143, 247, 0.10);
}


/* KATEGORİ ARAMA */

#productCategorySearch {
  background:
    #ffffff !important;

  border:
    1px solid #dce4ef !important;

  box-shadow:
    0 3px 10px rgba(35, 54, 88, 0.035);
}


/* MARKA ARAMASI */

#mainContent:has(#productCategorySearch)
input[placeholder*="marka" i] {
  background: #ffffff;
}


/* DOSYA SEÇ */

#mainContent:has(#productCategorySearch)
input[type="file"] {
  width: 100%;

  padding: 11px;

  background: #f8faff;

  border:
    1px dashed #cbd8ea;

  border-radius: 12px;

  color: #64748b;

  cursor: pointer;
}


#mainContent:has(#productCategorySearch)
input[type="file"]::file-selector-button {
  border: none;

  border-radius: 8px;

  padding: 9px 14px;

  margin-right: 12px;

  background: #edf4ff;

  color: #2478ed;

  font-weight: 650;

  cursor: pointer;
}


/* BÖLÜM BAŞLIKLARI */

#mainContent:has(#productCategorySearch) h1 {
  color: #152238;

  letter-spacing: -0.025em;
}


#mainContent:has(#productCategorySearch) h2,
#mainContent:has(#productCategorySearch) h3 {
  color: #17233a;

  letter-spacing: -0.015em;
}


/* KÜÇÜK AÇIKLAMALAR */

#mainContent:has(#productCategorySearch) small {
  color: #8794a8;

  line-height: 1.5;
}


/* TRENDYOL ÖZELLİK KARTLARI */

#mainContent:has(#productCategorySearch)
.trendyol-attribute-row {
  background: #ffffff;

  border: 1px solid #e3e9f2;

  border-radius: 12px;

  padding: 14px;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}


#mainContent:has(#productCategorySearch)
.trendyol-attribute-row:hover {
  border-color: #cbd9ee;

  box-shadow:
    0 5px 16px rgba(33, 55, 90, 0.055);

  transform: translateY(-1px);
}


/* BUTONLAR */

#mainContent:has(#productCategorySearch)
button[type="submit"] {
  min-height: 46px;

  border: none;

  border-radius: 11px;

  padding: 0 22px;

  background:
    linear-gradient(
      135deg,
      #2478ed,
      #1765dc
    );

  color: #ffffff;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 7px 18px rgba(36, 120, 237, 0.22);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}


#mainContent:has(#productCategorySearch)
button[type="submit"]:hover {
  transform: translateY(-1px);

  box-shadow:
    0 10px 24px rgba(36, 120, 237, 0.28);
}


/* SCROLLBAR - PREMIUM DETAY */

#mainContent:has(#productCategorySearch)
::-webkit-scrollbar {
  width: 7px;
}


#mainContent:has(#productCategorySearch)
::-webkit-scrollbar-thumb {
  background: #d4dce8;

  border-radius: 20px;
}


/* MOBİL / DAR EKRAN */

@media (max-width: 900px) {

  #mainContent:has(#productCategorySearch)
  .form-grid {
    grid-template-columns: 1fr !important;
  }

}

/* FORM PLACEHOLDER OKUNAKLILIK */
input::placeholder,
textarea::placeholder {
  color: #8492a6;
  opacity: 1;
  font-weight: 500;
}

/* =====================================================
   YENİ ÜRÜN - TRENDYOL ÖZELLİKLERİ 4'LÜ KART DÜZENİ
   ===================================================== */

#newProductRequiredAttributes,
#newProductOptionalAttributes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

/* Opsiyonel alan JS tarafından açıldığında grid olsun */
#newProductOptionalAttributes[style*="display: block"] {
  display: grid !important;
}

/* Kartlar */
#newProductRequiredAttributes .bulk-attribute-card,
#newProductOptionalAttributes .bulk-attribute-card {
  position: relative;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 12px;
  box-sizing: border-box;
}

/* Select ve özel değer kutuları */
#newProductRequiredAttributes select,
#newProductOptionalAttributes select,
#newProductRequiredAttributes input,
#newProductOptionalAttributes input {
  width: 100%;
  box-sizing: border-box;
}

/* Tablet */
@media (max-width: 1200px) {
  #newProductRequiredAttributes,
  #newProductOptionalAttributes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Telefon */
@media (max-width: 700px) {
  #newProductRequiredAttributes,
  #newProductOptionalAttributes {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   ZİHİN PREMIUM - GÖRSEL YÜKLEME
   ===================================================== */

.zihin-image-upload-section {
  margin-top: 6px;
}

.zihin-image-upload-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.zihin-image-upload-title {
  margin-bottom: 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #17233a !important;
}

.zihin-image-upload-header small {
  display: block;
  color: #8a97aa;
}

.zihin-image-limit {
  flex-shrink: 0;

  padding: 6px 10px;

  border: 1px solid #dce7f6;
  border-radius: 20px;

  background: #f3f7fd;

  color: #5d7291;

  font-size: 10px;
  font-weight: 700;
}


/* GERÇEK INPUT GİZLİ */

.zihin-image-real-input {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  opacity: 0 !important;

  pointer-events: none;
}


/* DROPZONE */

.zihin-image-dropzone {
  min-height: 165px;

  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 7px;

  padding: 25px;

  border: 1.5px dashed #c8d6eb !important;
  border-radius: 15px;

  background:
    linear-gradient(
      180deg,
      #fbfdff,
      #f7faff
    );

  cursor: pointer;

  text-align: center;

  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.zihin-image-dropzone:hover {
  border-color: #6ca2f4 !important;

  background: #f7faff;

  box-shadow:
    0 7px 22px rgba(36, 120, 237, 0.08);

  transform: translateY(-1px);
}


.zihin-upload-icon {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 3px;

  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      #edf4ff,
      #e4efff
    );

  color: #2478ed;

  font-size: 22px;
  font-weight: 700;
}


.zihin-image-dropzone strong {
  color: #1b2940;

  font-size: 14px;
}


.zihin-image-dropzone span {
  color: #7d8ba0;

  font-size: 12px;
  font-weight: 400;
}


.zihin-image-dropzone span b {
  color: #2478ed;
}


.zihin-image-dropzone small {
  color: #a0abba !important;

  font-size: 10px;
}


/* ÖNİZLEMELER */

.zihin-image-preview {
  display: grid;

  grid-template-columns:
    repeat(auto-fill, minmax(110px, 1fr));

  gap: 10px;

  margin-top: 12px;
}

.zihin-image-preview:empty {
  display: none;
}

/* =========================================
   ZİHİN ENTEGRASYON - YENİ ÜRÜN PREMIUM TASARIM
   ========================================= */

.zihin-image-dropzone {
    position: relative;
    min-height: 190px;
    border: 2px dashed #2478ed;
    border-radius: 18px;
    background: linear-gradient(145deg, #f8fbff, #eef5ff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 25px rgba(36, 120, 237, 0.08);
}

.zihin-image-dropzone:hover {
    border-color: #1765dc;
    background: linear-gradient(145deg, #ffffff, #eef6ff);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(36, 120, 237, 0.14);
}

.zihin-image-upload-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}

.zihin-image-upload-title {
    font-size: 15px;
    font-weight: 800;
    color: #172033;
}

.zihin-image-upload-header small {
    color: #718096;
    font-size: 12px;
}

.zihin-image-limit {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2478ed;
    font-size: 11px;
    font-weight: 700;
}

.zihin-upload-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2478ed, #1765dc);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 12px;
    box-shadow: 0 8px 18px rgba(36, 120, 237, 0.25);
}

.zihin-image-dropzone strong {
    color: #172033;
    font-size: 15px;
}

.zihin-image-dropzone span {
    color: #667085;
    font-size: 13px;
    margin-top: 6px;
}

.zihin-image-dropzone span b {
    color: #2478ed;
}

.zihin-image-dropzone small {
    margin-top: 10px;
    color: #98a2b3;
    font-size: 11px;
}

.zihin-image-real-input {
    display: none;
}

.zihin-image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.zihin-image-preview img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #dce5f2;
    background: #ffffff;
    padding: 4px;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.08);
}

/* YENİ ÜRÜN - ÖZELLİKLER ALT ALTA */
#trendyolAttributesContainer {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

#trendyolAttributesContainer > .zihin-mapping-section {
    width: 100% !important;
    box-sizing: border-box !important;
}

#newProductRequiredAttributes,
#newProductOptionalAttributes {
    width: 100% !important;
}

#newProductRequiredAttributes,
#newProductOptionalAttributes {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* =========================================
   ZİHİN - SÜRÜKLENEBİLİR ÜRÜN GÖRSELLERİ
   ========================================= */

.zihin-image-preview-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #dce5f2;
    border-radius: 16px;
    padding: 7px;
    cursor: grab;
    transition: all 0.18s ease;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.07);
}

.zihin-image-preview-card:hover {
    transform: translateY(-2px);
    border-color: #2478ed;
    box-shadow: 0 10px 22px rgba(36, 120, 237, 0.13);
}

.zihin-image-preview-card:active {
    cursor: grabbing;
}

.zihin-image-preview-card.is-dragging {
    opacity: 0.45;
    transform: scale(0.96);
}

.zihin-image-preview-card.drag-over {
    border: 2px solid #2478ed;
    background: #f2f7ff;
}

.zihin-preview-image-wrap {
    position: relative;
}

.zihin-preview-image-wrap img {
    width: 100%;
    height: 125px;
    object-fit: cover;
    border-radius: 11px;
    display: block;
}

.zihin-main-image-badge {
    position: absolute;
    left: 7px;
    bottom: 7px;
    padding: 5px 8px;
    border-radius: 8px;
    background: #172033;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.zihin-image-order-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #ffffff;
    color: #2478ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.15);
}

.zihin-image-drag-text {
    padding: 7px 3px 2px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #7b8798;
}

/* =========================================
   ZİHİN - VARYANT YÖNETİMİ
   ========================================= */

.zihin-variants-section {
    margin-top: 8px;
    padding: 20px;
    border: 1px solid #dbe5f3;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.zihin-variants-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.zihin-variants-header h3 {
    margin: 0 0 4px;
    color: #172033;
    font-size: 16px;
}

.zihin-variants-header small {
    color: #718096;
    font-size: 12px;
}

#productVariantsContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.zihin-variant-row {
    display: grid;
    grid-template-columns:
    minmax(140px, 1.1fr)
    minmax(170px, 1.3fr)
    minmax(90px, .65fr)
    minmax(110px, .75fr)
    minmax(90px, .65fr)
    42px;
    gap: 12px;
    align-items: end;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e3eaf4;
    border-radius: 14px;
}

.zihin-variant-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zihin-variant-field label {
    font-size: 11px;
    font-weight: 700;
    color: #667085;
}

.zihin-variant-field input,
.zihin-variant-field select {
    width: 100%;
    height: 42px;
    padding: 0 11px;
    border: 1px solid #d7dfeb;
    border-radius: 10px;
    background: #ffffff;
    color: #172033;
    box-sizing: border-box;
}

.zihin-variant-field input:focus,
.zihin-variant-field select:focus {
    outline: none;
    border-color: #2478ed;
    box-shadow: 0 0 0 3px rgba(36, 120, 237, .10);
}

.zihin-variant-delete {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: #fff1f2;
    color: #e11d48;
    font-size: 22px;
    cursor: pointer;
}

.zihin-variant-delete:hover {
    background: #ffe4e6;
}

.zihin-variant-group {
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid #dce5f2;
    border-radius: 16px;
    background: #fff;
}

.zihin-variant-group-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.zihin-variant-color-field {
    flex: 1;
}

.zihin-variant-color-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
}

.zihin-variant-color-field select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d7dfeb;
    border-radius: 10px;
}

.zihin-variant-group-delete {
    height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: #fff1f2;
    color: #e11d48;
    cursor: pointer;
}

.zihin-variant-group-images {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 10px;
}

.zihin-variant-group-images small {
    display: block;
    margin-top: 3px;
    color: #7b8798;
}

.zihin-variant-image-button {
    padding: 9px 13px;
    border-radius: 9px;
    background: #eaf2ff;
    color: #2478ed;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.zihin-variant-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.zihin-variant-image-card {
    position: relative;
    width: 95px;
    cursor: grab;
}

.zihin-variant-image-card img {
    width: 95px;
    height: 110px;
    object-fit: cover;
    border-radius: 11px;
    border: 1px solid #dce5f2;
}

.zihin-variant-image-card span {
    position: absolute;
    left: 5px;
    bottom: 7px;
    padding: 4px 6px;
    border-radius: 6px;
    background: #172033;
    color: white;
    font-size: 9px;
    font-weight: 800;
}

.zihin-variant-image-card.is-dragging {
    opacity: .4;
}

.zihin-add-size-button {
    margin-top: 12px;
}

/* =====================================================
   ZİHİN DAĞITIM MERKEZİ - PREMIUM TASARIM
   ===================================================== */

/* PLATFORM KARTI */
.dashboard-card:has(#bulkSourcePlatform) {
  border: 1px solid #e8e9f4;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(98, 76, 255, 0.08), transparent 35%),
    #ffffff;
  box-shadow: 0 12px 35px rgba(30, 34, 90, 0.07);
  overflow: hidden;
}

.dashboard-card:has(#bulkSourcePlatform) h3 {
  font-size: 21px;
  margin: 0 0 6px;
  color: #20243a;
}

/* KAYNAK / HEDEF SELECT */
#bulkSourcePlatform,
#bulkTargetPlatform {
  width: 100% !important;
  height: 52px;
  padding: 0 16px !important;
  margin-top: 9px !important;

  border: 1px solid #e1e3ef !important;
  border-radius: 13px !important;

  background: #fafaff;
  color: #24283b;

  font-size: 14px;
  font-weight: 600;

  outline: none;
  cursor: pointer;

  transition: 0.2s ease;
}

#bulkSourcePlatform:hover,
#bulkTargetPlatform:hover {
  border-color: #a9a0ff !important;
  background: #ffffff;
}

#bulkSourcePlatform:focus,
#bulkTargetPlatform:focus {
  border-color: #6d5dfc !important;
  box-shadow: 0 0 0 4px rgba(109, 93, 252, 0.10);
}

/* ROTA BİLGİSİ */
#bulkRouteInfo {
  margin-top: 22px !important;
  padding: 15px 18px !important;

  border: 1px solid #e5e2ff;
  border-radius: 13px !important;

  background: linear-gradient(
    135deg,
    rgba(109, 93, 252, 0.08),
    rgba(91, 133, 255, 0.05)
  ) !important;

  color: #5146cf;
  font-weight: 700;
  font-size: 14px;
}

/* =====================================================
   ÜRÜN SEÇİM KARTI
   ===================================================== */

.dashboard-card:has(#bulkProductRows) {
  border: 1px solid #e8e9f4;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(30, 34, 90, 0.07);
  overflow: hidden;
}

.dashboard-card:has(#bulkProductRows) h3 {
  margin: 0;
  font-size: 20px;
  color: #20243a;
}

#bulkProductInfo {
  margin: 7px 0 0;
  color: #8a91a8;
  font-size: 13px;
}

/* SEÇİLİ SAYISI */
#bulkSelectedCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 34px;
  height: 28px;
  padding: 0 10px;

  margin-left: 5px;

  border-radius: 20px;

  background: linear-gradient(135deg, #6557f5, #7b68ee);
  color: white;

  font-size: 13px;
  font-weight: 800;

  box-shadow: 0 5px 14px rgba(101, 87, 245, 0.22);
}

/* ARAMA */
#bulkProductSearch {
  height: 46px;
  padding: 0 16px !important;

  border: 1px solid #e3e5ef !important;
  border-radius: 12px !important;

  background: #fafbfe;

  font-size: 14px;
  outline: none;

  transition: 0.2s ease;
}

#bulkProductSearch:focus {
  background: #ffffff;
  border-color: #6d5dfc !important;
  box-shadow: 0 0 0 4px rgba(109, 93, 252, 0.09);
}

/* TÜMÜNÜ SEÇ / TEMİZLE */
#bulkSelectAll,
#bulkClearSelection {
  height: 46px;
  padding: 0 18px;

  border-radius: 11px;
  border: 1px solid #e3e5ef;

  background: #ffffff;
  color: #4c5267;

  font-weight: 700;
  font-size: 13px;

  cursor: pointer;
  transition: 0.2s ease;
}

#bulkSelectAll:hover {
  border-color: #6d5dfc;
  color: #5d50df;
  background: #f8f7ff;
  transform: translateY(-1px);
}

#bulkClearSelection:hover {
  border-color: #ffb6b6;
  color: #d74c4c;
  background: #fff8f8;
  transform: translateY(-1px);
}

/* =====================================================
   TABLO
   ===================================================== */

.dashboard-card:has(#bulkProductRows) .products-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;

  border: 1px solid #edf0f5;
  border-radius: 14px;
}

.dashboard-card:has(#bulkProductRows) .products-table thead th {
  padding: 14px 16px;

  background: #f8f9fc;

  color: #7c849b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  border-bottom: 1px solid #eceef4;
}

.dashboard-card:has(#bulkProductRows) .products-table tbody td {
  padding: 16px;
  border-bottom: 1px solid #f0f1f5;

  color: #44495c;
  font-size: 13px;
}

.dashboard-card:has(#bulkProductRows) .products-table tbody tr {
  transition: 0.18s ease;
}

.dashboard-card:has(#bulkProductRows) .products-table tbody tr:hover {
  background: #fafaff;
}

.dashboard-card:has(#bulkProductRows) .products-table tbody tr:last-child td {
  border-bottom: none;
}

/* CHECKBOX */
.bulk-product-checkbox,
#bulkMasterCheckbox {
  width: 18px;
  height: 18px;
  accent-color: #6758f5;
  cursor: pointer;
}

/* ANA AKSİYON */
#bulkPrepareButton {
  min-width: 240px;

  padding: 14px 24px !important;

  border: none;
  border-radius: 13px;

  background: linear-gradient(135deg, #6657f5, #7665ef);
  color: #ffffff;

  font-size: 14px;
  font-weight: 800 !important;

  cursor: pointer;

  box-shadow: 0 8px 22px rgba(102, 87, 245, 0.25);

  transition: 0.2s ease;
}

#bulkPrepareButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(102, 87, 245, 0.32);
}

#bulkPrepareButton:active {
  transform: translateY(0);
}

/* =====================================================
   TOPLU İŞLEMLER - ÜRÜN GÖRSELLERİ
   ===================================================== */

.bulk-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.bulk-product-image {
  width: 52px;
  height: 52px;
  min-width: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #eceef4;
  border-radius: 11px;

  background: #f8f9fc;
  overflow: hidden;

  box-shadow: 0 3px 10px rgba(30, 34, 90, 0.06);
}

.bulk-product-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
}

.bulk-product-no-image {
  font-size: 20px;
  opacity: 0.45;
}

.bulk-product-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bulk-product-name strong {
  color: #24283b;
  font-size: 13px;
  line-height: 1.4;
}

.bulk-product-name small {
  color: #9aa0b3;
  font-size: 11px;
}

/* =====================================================
   TOPLU AKTARIM ÖN KONTROLÜ - PREMIUM
   ===================================================== */

/* ÜST KONTROL KARTI */
.dashboard-card:has(#bulkCheckTotal) {
  border: 1px solid #e8e9f4;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right,
      rgba(103, 88, 245, 0.08),
      transparent 38%),
    #ffffff;
  box-shadow: 0 12px 35px rgba(30, 34, 90, 0.07);
  overflow: hidden;
}

.dashboard-card:has(#bulkCheckTotal) h3 {
  margin: 0;
  font-size: 20px;
  color: #20243a;
}

.dashboard-card:has(#bulkCheckTotal) p {
  color: #858ca3;
  font-size: 13px;
  margin-top: 8px;
}


/* =====================================================
   TOPLAM / HAZIR / HATALI KARTLARI
   ===================================================== */

.dashboard-card:has(#bulkCheckTotal)
div[style*="grid-template-columns"] > div {
  position: relative;

  padding: 20px !important;

  border: 1px solid #eaebf2 !important;
  border-radius: 16px !important;

  background: #ffffff;

  box-shadow: 0 5px 18px rgba(31, 36, 80, 0.05);

  transition: 0.2s ease;
}

.dashboard-card:has(#bulkCheckTotal)
div[style*="grid-template-columns"] > div:hover {
  transform: translateY(-2px);

  box-shadow:
    0 9px 24px rgba(31, 36, 80, 0.08);
}


/* TOPLAM */
#bulkCheckTotal {
  display: block;

  margin-top: 7px;

  font-size: 30px !important;
  font-weight: 800;

  color: #6557f5;
}


/* HAZIR */
#bulkCheckReady {
  display: block;

  margin-top: 7px;

  font-size: 30px !important;
  font-weight: 800;

  color: #18a66a;
}


/* HATALI */
#bulkCheckFailed {
  display: block;

  margin-top: 7px;

  font-size: 30px !important;
  font-weight: 800;

  color: #ef5261;
}


/* =====================================================
   ÜRÜN KONTROL SONUÇLARI
   ===================================================== */

.dashboard-card:has(#bulkCheckRows) {
  border: 1px solid #e8e9f4;
  border-radius: 22px;

  background: #ffffff;

  box-shadow:
    0 12px 35px rgba(30, 34, 90, 0.07);

  overflow: hidden;
}

.dashboard-card:has(#bulkCheckRows) h3 {
  margin: 0 0 20px;

  font-size: 20px;
  color: #20243a;
}


/* TABLO */
.dashboard-card:has(#bulkCheckRows) .products-table {
  width: 100%;

  border-collapse: separate;
  border-spacing: 0;

  border: 1px solid #eceef4;
  border-radius: 14px;

  overflow: hidden;
}


/* TABLO BAŞLIKLARI */
.dashboard-card:has(#bulkCheckRows)
.products-table thead th {
  padding: 14px 16px;

  background: #f8f9fc;

  border-bottom: 1px solid #e9ebf2;

  color: #7d8499;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.6px;
  text-transform: uppercase;

  text-align: left;
}


/* TABLO SATIRLARI */
.dashboard-card:has(#bulkCheckRows)
.products-table tbody td {
  padding: 17px 16px;

  border-bottom: 1px solid #f0f1f5;

  color: #4a5063;

  font-size: 13px;
  line-height: 1.55;

  vertical-align: middle;
}


/* ÜRÜN ADI */
.dashboard-card:has(#bulkCheckRows)
.products-table tbody td:first-child strong {
  color: #24283b;
  font-weight: 700;
}


/* SATIR HOVER */
.dashboard-card:has(#bulkCheckRows)
.products-table tbody tr {
  transition: 0.18s ease;
}

.dashboard-card:has(#bulkCheckRows)
.products-table tbody tr:hover {
  background: #fafaff;
}

.dashboard-card:has(#bulkCheckRows)
.products-table tbody tr:last-child td {
  border-bottom: none;
}


/* MODEL VE BARKOD */
.dashboard-card:has(#bulkCheckRows)
.products-table tbody td:nth-child(2),
.dashboard-card:has(#bulkCheckRows)
.products-table tbody td:nth-child(3) {
  color: #697086;
  font-weight: 600;
}


/* DURUM SÜTUNU */
.dashboard-card:has(#bulkCheckRows)
.products-table tbody td:nth-child(4) strong {
  display: inline-flex;
  align-items: center;

  padding: 7px 11px;

  border-radius: 20px;

  background: #fff1f2;
  border: 1px solid #ffd9dd;

  color: #d94352;

  font-size: 12px;
  font-weight: 800;
}


/* UYARI / HATA SÜTUNU */
.dashboard-card:has(#bulkCheckRows)
.products-table tbody td:nth-child(5) {
  color: #62697d;

  background:
    linear-gradient(
      90deg,
      rgba(239, 82, 97, 0.025),
      transparent
    );
}


/* =====================================================
   GERİ BUTONU
   ===================================================== */

#bulkCheckBackButton {
  height: 44px;

  padding: 0 18px;

  border: 1px solid #e1e4ed;
  border-radius: 11px;

  background: #ffffff;

  color: #51576b;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.2s ease;
}

#bulkCheckBackButton:hover {
  border-color: #aaa2ff;

  background: #f8f7ff;

  color: #5f52df;

  transform: translateY(-1px);
}


/* =====================================================
   DEVAM BUTONU
   ===================================================== */

#bulkContinueMappingButton {
  min-width: 245px;

  height: 46px;

  padding: 0 22px;

  border: none;
  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      #6657f5,
      #7665ef
    );

  color: #ffffff;

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  box-shadow:
    0 8px 22px rgba(102, 87, 245, 0.23);

  transition: 0.2s ease;
}

#bulkContinueMappingButton:hover:not(:disabled) {
  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(102, 87, 245, 0.30);
}


/* DEVAM BUTONU PASİF */
#bulkContinueMappingButton:disabled {
  background: #eef0f5;

  color: #a7adbb;

  box-shadow: none;

  cursor: not-allowed;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

  .dashboard-card:has(#bulkCheckTotal)
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

}

/* TOPLU İŞLEMLER - ÜRÜN FOTOĞRAFI */

.bulk-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.bulk-product-image {
  width: 52px;
  height: 52px;
  min-width: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #eceef4;
  border-radius: 12px;

  background: #f8f9fc;
  overflow: hidden;

  box-shadow: 0 3px 10px rgba(30, 34, 90, 0.06);
}

.bulk-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bulk-product-no-image {
  font-size: 20px;
  opacity: 0.4;
}

.bulk-product-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bulk-product-name strong {
  color: #24283b;
  font-size: 13px;
  line-height: 1.4;
}

/* =====================================================
   TOPLU AKTARIM - PREMIUM SAYFA BAŞLIĞI
   ===================================================== */

.bulk-check-header {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 30px 20px 28px;
  margin-bottom: 20px;

  text-align: center;
}

.bulk-check-header-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ÜST MİNİ ETİKET */
.bulk-check-header-badge {
  display: inline-flex;
  align-items: center;

  padding: 7px 13px;
  margin-bottom: 10px;

  border: 1px solid #e4e0ff;
  border-radius: 30px;

  background: #f7f5ff;

  color: #6959e8;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}


/* ANA BAŞLIK */
.bulk-check-header h1 {
  margin: 0;

  color: #20243a;

  font-size: 30px;
  font-weight: 800;

  letter-spacing: -0.7px;
}

.bulk-check-header h1 span {
  color: #6959e8;
}


/* PLATFORM ROTASI */
.bulk-check-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  margin-top: 15px;
  padding: 9px 15px;

  border: 1px solid #e8e5ff;
  border-radius: 30px;

  background: #ffffff;

  box-shadow:
    0 5px 18px rgba(55, 48, 120, 0.07);

  color: #50566b;

  font-size: 13px;
  font-weight: 700;
}


/* ORTADAKİ OK */
.bulk-check-route-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #6657f5,
      #7c69f2
    );

  color: white;

  font-size: 15px;

  box-shadow:
    0 4px 12px rgba(102, 87, 245, 0.25);
}
/* Yeni ürün sayfasına özel görünüm */
.zihin-create-product .panel { border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); overflow: visible; }
.zihin-create-product .panel-header { padding: 24px; border-bottom: 1px solid var(--border); }
.zihin-create-product label { font-size: 13px; font-weight: 600; color: var(--text); }
.zihin-create-product input:not([type=file]), .zihin-create-product select, .zihin-create-product textarea { border: 1px solid var(--border); border-radius: 11px; background: #fbfcff; color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.zihin-create-product input:focus, .zihin-create-product select:focus, .zihin-create-product textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,120,255,.1); }
.zihin-create-product .zihin-image-dropzone.drag-over { border-color: var(--blue); background: #eef4ff; }
.zihin-create-product #saveProductButton { padding: 14px 24px; border-radius: 12px; box-shadow: 0 6px 18px rgba(40,120,255,.18); }
.zihin-create-product #saveProductButton:disabled { opacity: .6; cursor: wait; }
.zihin-create-notice { grid-column: 1 / -1; padding: 14px 18px; border: 1px solid #ffd0d6; border-radius: 12px; color: #a6293a; background: #fff3f5; font-size: 14px; }
.zihin-remove-image { position: absolute; right: 6px; top: 6px; border: 0; border-radius: 50%; width: 26px; height: 26px; background: white; color: var(--text); cursor: pointer; box-shadow: var(--shadow); }
.zihin-product-toast { position: fixed; top: 24px; right: 24px; z-index: 10000; display: grid; gap: 6px; max-width: calc(100vw - 32px); padding: 20px 24px; border: 1px solid #cceedd; border-radius: 16px; background: white; box-shadow: 0 12px 40px rgba(24,32,51,.14); animation: zihin-toast-in .25s ease-out; }
.zihin-product-toast strong { color: #16864e; font-size: 14px; }
.zihin-product-toast span { color: var(--muted); font-size: 13px; }
@keyframes zihin-toast-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 850px) { .zihin-create-product .panel > div:nth-child(2) { grid-template-columns: 1fr !important; padding: 18px !important; } }
@media (prefers-reduced-motion: reduce) { .zihin-product-toast { animation: none; } }

/* Yerel katalog işlemleri ve ortak hazırlama ekranı */
#localProductsList .local-actions-button { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 11px; background: white; color: var(--muted); cursor: pointer; font-size: 18px; letter-spacing: 2px; transition: .18s; }
#localProductsList .local-actions-button:hover, #localProductsList .local-actions-button[aria-expanded=true] { color: var(--blue); background: #eef4ff; border-color: #cddfff; }
#localProductsList .local-actions-menu { position: fixed; z-index: 1000; width: 236px; padding: 8px; border: 1px solid var(--border); border-radius: 16px; background: white; box-shadow: 0 14px 44px rgba(24,32,51,.16); }
#localProductsList .local-actions-menu button { display: block; width: 100%; padding: 11px 12px; text-align: left; border: 0; border-radius: 9px; background: transparent; color: var(--text); font-size: 13px; cursor: pointer; transition: background .15s; }
#localProductsList .local-actions-menu button:hover { background: #f0f5ff; color: var(--blue); }
#localProductsList .local-actions-menu .local-delete-button { margin-top: 6px; border-top: 1px solid var(--border); color: #d23c51; }
#localProductsList .local-actions-menu .local-delete-button:hover { background: #fff0f3; color: #b52239; }
.zihin-prepare-dialog { position: fixed; width: min(460px, calc(100vw - 32px)); padding: 32px; border: 1px solid var(--border); border-radius: 24px; color: var(--text); background: white; box-shadow: 0 30px 100px rgba(11,18,32,.24); }
.zihin-prepare-dialog::backdrop { background: rgba(11,18,32,.45); backdrop-filter: blur(5px); }
.zihin-dialog-close { position: absolute; right: 16px; top: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--bg); color: var(--muted); font-size: 24px; cursor: pointer; }
.zihin-dialog-symbol { display: grid; place-items: center; width: 54px; height: 54px; background: #eef4ff; border-radius: 16px; font-size: 24px; }
.zihin-prepare-dialog h2 { margin: 18px 0 8px; font-size: 23px; }
.zihin-prepare-dialog p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.zihin-prepare-dialog .zihin-dialog-product { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.zihin-prepare-dialog label, .zihin-mapping-brand label { display: block; font-weight: 600; font-size: 13px; margin: 18px 0 8px; }
.zihin-prepare-dialog select, .zihin-mapping-brand input { width: 100%; padding: 13px; border: 1px solid var(--border); border-radius: 11px; background: #fbfcff; color: var(--text); }
.zihin-prepare-start { width: 100%; margin-top: 12px; }
.zihin-prepare-start:disabled { opacity: .5; cursor: not-allowed; }
.zihin-mapping-brand { max-width: 560px; margin: 24px 0; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: #fbfcff; }
.zihin-mapping-brand label { margin-top: 0; }
.zihin-mapping-brand label span { color: var(--red); }
.zihin-mapping-brand small { display: block; margin-top: 10px; color: var(--muted); }
.zihin-brand-results { max-height: 240px; overflow: auto; }
.zihin-brand-results button { display: block; width: 100%; text-align: left; padding: 12px; border: 0; border-bottom: 1px solid var(--border); background: white; cursor: pointer; }
.zihin-brand-results button:hover { background: #eef4ff; color: var(--blue); }

/* Sade yerel kayıt ve platforma özel hazırlama içeriği */
.zihin-local-fields { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.zihin-local-fields input { width: 100%; padding: 13px; margin-top: 8px; }
.zihin-field-wide, .zihin-local-form-footer { grid-column: 1 / -1; }
.zihin-local-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; border-top: 1px solid var(--border); }
.zihin-local-form-footer span { max-width: 380px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.zihin-preparation-content { margin-top: 28px; }
.zihin-preparation-content > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.zihin-preparation-product { margin: 18px 0; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: #fbfcff; }
.zihin-preparation-product h4 { margin: 0 0 20px; overflow-wrap: anywhere; }
.zihin-preparation-product label { display: block; font-size: 13px; font-weight: 600; margin: 18px 0 8px; }
.zihin-preparation-product textarea, .zihin-preparation-product select { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 11px; background: white; color: var(--text); font: inherit; }
.zihin-preparation-product textarea { resize: vertical; }
.zihin-preparation-product select { max-width: 220px; }
.zihin-preparation-product input[type=file] { width: 100%; padding: 12px 0; }
.zihin-preparation-dropzone { padding: 22px; border: 1px dashed #b9c9e3; border-radius: 14px; background: white; color: var(--muted); font-size: 13px; line-height: 1.6; }
.zihin-preparation-dropzone.drag-over { border-color: var(--blue); background: #eef4ff; }
.zihin-preparation-product .zihin-remove-image { z-index: 2; }
.zihin-adapter-notice { padding: 28px; }
.zihin-adapter-notice p { color: var(--muted); line-height: 1.7; }
@media (max-width: 850px) { .zihin-local-fields { grid-template-columns: 1fr; } .zihin-local-form-footer { flex-direction: column; align-items: stretch; } .zihin-preparation-product { padding: 18px; } }
.zihin-create-product .welcome-row .add-integration { width: auto; flex: 0 0 auto; padding: 12px 18px; font-size: 13px; font-weight: 600; }
.zihin-create-product #saveProductButton { width: auto; min-width: 240px; padding: 14px 22px; font-size: 14px; font-weight: 600; background: linear-gradient(135deg, var(--blue), #5961ec); border: 0; color: white; }
@media (max-width: 850px) { .zihin-create-product #saveProductButton { width: 100%; min-width: 0; } }
/* Görsel sıra rozeti ve kaldırma düğmesi birbirini örtmesin. */
#productImagePreview .zihin-remove-image { z-index: 2; }
#productImagePreview .zihin-image-order-badge, .zihin-preparation-product .zihin-image-order-badge { left: 7px; right: auto; }
.zihin-local-fields textarea { display: block; width: 100%; padding: 13px; margin-top: 8px; resize: vertical; }
.dashboard-live-selector { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 3px; padding: 7px 11px; border: 1px solid #e6eaf2; border-radius: 12px; background: #fff; box-shadow: 0 3px 12px #263b6010; font-size: 12px; color: #59657b; }
.dashboard-live-selector select { border: 0; background: transparent; color: #283751; font-weight: 600; padding: 5px; max-width: 230px; cursor: pointer; }
.dashboard-live-status { font-size: 11px; color: #319871; margin: 5px 0 10px; }
.dashboard-live-status.has-warning { color: #a07532; }
.dashboard-period, .dashboard-feed-indicator { color: #8b95a7; font-size: 10px; }
.dashboard-feed-indicator { color: #319871; }
.dashboard-feed-panel { margin-top: 16px; }
.dashboard-chart-scope, .dashboard-data-note { color: #8b95a7; font-size: 10px; line-height: 1.6; margin: 9px 4px; }
.dashboard-empty { color: #8b95a7; font-size: 12px; padding: 18px 8px; line-height: 1.6; text-align: center; width: 100%; }
.dashboard-order .customer { min-width: 0; }
.dashboard-order .customer strong, .dashboard-main .product-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; display: block; }
.dashboard-order-total { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 11px; padding: 8px 0; }
.dashboard-order.is-new { background: #ecfbf5; border-radius: 9px; animation: dashboard-arrival 1.3s ease; }
.dashboard-feed-panel .customer strong { max-width: 320px; }
.dashboard-side .integration-row > div:nth-child(2) { min-width: 0; }
.dashboard-side .integration-row > div:nth-child(2) span { font-size: 9px; line-height: 1.5; }
.dashboard-side .connection { white-space: nowrap; }
@keyframes dashboard-arrival { from { background: #cbf4e3; } to { background: #ecfbf5; } }
.connected-dot.ciceksepeti-pending { background: #e4b441; box-shadow: 0 0 8px #e4b44155; }
.zihin-integration-body { padding: 0 24px 24px; color: #6f798c; font-size: 13px; line-height: 1.8; }
@media (max-width: 650px) { .dashboard-live-selector { flex-wrap: wrap; } .dashboard-order { grid-template-columns: 28px 1fr auto; } .dashboard-order .customer { grid-column: 2; grid-row: 2; padding-bottom: 8px; } .dashboard-order-total { grid-column: 3; grid-row: 1 / 3; } .dashboard-feed-indicator { font-size: 8px; } }
/* ÇiçekSepeti target workspace; the shared dashboard and sidebar keep their styles. */
.cs-page { padding: 24px; }
.cs-page .welcome-row { gap: 20px; }
.cs-page .panel { border: 1px solid #e9e5ef; border-radius: 20px; background: #fff; box-shadow: 0 7px 24px rgba(48,28,75,.035); }
.cs-page .panel-header { padding: 20px 24px; border-bottom: 1px solid #f0edf4; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cs-page h3 { margin: 0; font-size: 17px; }
.cs-page h4 { margin: 12px 0; }
.cs-body { display: grid; gap: 20px; }
.cs-error { padding: 16px 20px; margin-bottom: 20px; background: #fff1f2; color: #b42342; border: 1px solid #fecdd3; border-radius: 14px; overflow-wrap: anywhere; }
.cs-error[hidden], .cs-attribute[hidden] { display: none; }
.cs-toolbar, .cs-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cs-toolbar span, .cs-page small { color: #858097; font-size: 12px; line-height: 1.6; }
.cs-actions { justify-content: flex-end; }
.cs-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding: 24px; }
.cs-attributes.cs-form-grid { padding: 0; }
.cs-field { display: flex; flex-direction: column; gap: 8px; color: #413751; font-size: 13px; font-weight: 600; min-width: 0; }
.cs-field input, .cs-field select, .cs-field textarea, .cs-image-url { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #e4dfeb; border-radius: 10px; color: #352b42; background: #fcfbfd; font: inherit; }
.cs-field input:focus, .cs-field select:focus, .cs-field textarea:focus { outline: 2px solid #e5d5fb; border-color: #a87cdb; }
.cs-full { grid-column: 1/-1; }
.cs-chip { border-radius: 30px; background: #f6f1fb; padding: 7px 12px; font-size: 12px; white-space: nowrap; }
.cs-green { color: #15966b; }
.cs-red { color: #cf3952; }
.cs-image-grid { display: flex; flex-wrap: wrap; gap: 14px; margin: 15px 0; }
.cs-image { width: 120px; border: 1px solid #ebe6f0; border-radius: 12px; padding: 8px; background: #faf8fc; }
.cs-image img { width: 100%; height: 125px; object-fit: contain; border-radius: 8px; background: white; }
.cs-image span { display: block; padding-top: 7px; text-align: center; font-size: 11px; color: #7c569c; }
.cs-image div { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; }
.cs-image button { border: 0; border-radius: 8px; padding: 4px 12px; background: #efe7f7; cursor: pointer; }
.cs-image button:last-child { background: #ffe8ec; color: #c8334f; }
.cs-image-tools { display: flex; align-items: center; gap: 10px; margin: 12px 0; flex-wrap: wrap; }
.cs-image-url { width: min(380px,100%); font-size: 13px; }
.cs-file-label { cursor: pointer; }
.cs-personal-toggle { display: flex; gap: 9px; align-items: center; font-size: 13px; color: #81708e; margin: 10px 0 20px; }
.cs-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cs-summary article { padding: 22px; }
.cs-summary strong { display: block; font-size: 32px; margin-top: 8px; }
.cs-preview { padding: 24px; }
.cs-preview .panel-header { padding: 0 0 18px; }
.cs-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.cs-details dt { font-size: 12px; color: #8e8599; margin-bottom: 6px; }
.cs-details dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; color: #473953; }
.cs-description { white-space: pre-wrap; font-size: 13px; line-height: 1.65; color: #796c86; padding: 16px; background: #faf8fc; border-radius: 12px; max-height: 220px; overflow: auto; }
.cs-validation { color: #b6324c; background: #fff3f5; padding: 16px 36px; border-radius: 12px; font-size: 13px; line-height: 1.8; }
.cs-preview details { border-top: 1px solid #eee8f4; padding-top: 16px; margin-top: 20px; font-size: 12px; color: #82619e; }
.cs-preview pre, .cs-price-preview { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 400px; overflow: auto; background: #f8f5fb; padding: 18px; border-radius: 12px; font-size: 12px; }
.cs-loading { padding: 30px; color: #90819e; }
.cs-table-wrap { overflow: auto; }
.cs-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.cs-table th, .cs-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid #efebf3; }
.cs-table th { color: #96889e; font-weight: 500; }
.cs-table td small { display: block; }
.cs-list-image { width: 36px; height: 44px; object-fit: contain; float: left; margin-right: 10px; }
.cs-local-state { display: block; margin-top: 7px; font-size: 11px; line-height: 1.5; }
.cs-local-check { border: 0; background: #f4edf9; color: #8155a3; border-radius: 7px; font-size: 10px; padding: 4px 7px; margin-top: 4px; cursor: pointer; }
.cs-page button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 800px) { .cs-page { padding: 16px; } .cs-form-grid { grid-template-columns: 1fr; padding: 18px; } .cs-details { grid-template-columns: 1fr 1fr; } .cs-summary { gap: 8px; } .cs-summary article { padding: 15px; } }
