/* ==========================================================================
   Save Order Information - Web Panel Dark Mode Stylesheet
   Modern, Ultra-Premium Dark Theme with Vibrant Accents & High Contrast
   ========================================================================== */

:root {
  --bg-main: #07090e;
  --bg-card: #111418;
  --bg-card-sub: #111418;
  --bg-card-inner: #0E1013;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 153, 0, 0.35);
  --border-focus: rgba(255, 153, 0, 0.6);

  --text-main: #E6E8EB;
  --text-muted: #9AA3AE;
  --text-dim: #6B7480;

  --color-primary: #FF9900;
  --color-primary-hover: #FFAD33;
  --color-primary-glow: rgba(255, 153, 0, 0.22);
  --color-blue: #FF9900;
  --color-emerald: #3FB57A;
  --color-rose: #F0766F;
  --color-amber: #FF9900;
  --color-purple: #9AA3AE;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 2px 6px 0 rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 16px -2px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 20px 40px -6px rgba(0, 0, 0, 0.65);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 153, 0, 0.035), transparent),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(234, 88, 12, 0.02), transparent);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #07090e;
}
::-webkit-scrollbar-thumb {
  background: #15181D;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1B1F26;
}

/* App Layout */
.app-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.app-header {
  background: rgba(17, 20, 24, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
}

@media (min-width: 1600px) {
  .app-header {
    padding: 10px 32px;
  }
}

.header-left {
  display: flex;
  align-items: center;
}

.seve-brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(227, 199, 74, 0.22));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.seve-brand-logo-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 12px rgba(227, 199, 74, 0.35));
}

.drawer-seve-logo-img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(227, 199, 74, 0.22));
}

/* ==========================================================================
   Header Navigation Bar (Üst Menü Sekmeleri)
   ========================================================================== */
.header-nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(17, 20, 24, 0.75);
  padding: 4px 6px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.header-nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.16) 0%, rgba(234, 88, 12, 0.16) 100%);
  border: 1px solid rgba(255, 153, 0, 0.55);
  box-shadow: 0 2px 10px rgba(255, 153, 0, 0.25), inset 0 0 6px rgba(255, 153, 0, 0.12);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.35, 1), width 0.35s cubic-bezier(0.25, 1, 0.35, 1), height 0.35s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.2s ease;
  will-change: transform, width, height;
}

.header-nav-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #9AA3AE;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.header-nav-btn:not(.active):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.header-nav-btn.active {
  color: #ffffff;
  font-weight: 700;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.header-nav-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #9AA3AE;
  transition: color 0.2s ease;
}

.header-nav-btn:hover .header-nav-icon,
.header-nav-btn.active .header-nav-icon {
  color: #FF9900;
}

.header-nav-badge {
  background: #FF9900;
  color: #15181D;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
  line-height: 1.2;
}

@media (min-width: 1750px) {
  .header-nav-bar {
    flex: 0 1 900px;
    width: 900px;
    max-width: 900px;
    min-width: 0;
    margin: 0 12px;
  }

  .header-nav-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 4px 6px;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.15;
    white-space: normal;
  }

  .header-nav-btn > span:not(.header-nav-badge) {
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  #headerNavStaffManagement .badge-tag {
    position: absolute;
    top: 0;
    right: 2px;
    padding: 1px 3px;
    font-size: 7px !important;
  }
}

@media (max-width: 1240px) {
  .header-nav-bar {
    display: none;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
  user-select: none;
}

.brand-logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 12px rgba(255, 153, 0, 0.35));
}

.logo-box {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #E3C74A 0%, #C9AF3A 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 3px 10px rgba(227, 199, 74, 0.25);
}

.logo-svg {
  width: 20px;
  height: 20px;
}

.brand-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -0.2px;
}

.badge-tag {
  font-size: 10px;
  font-weight: 700;
  background: rgba(227, 199, 74, 0.12);
  color: #EBD36B;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(227, 199, 74, 0.25);
}

.brand-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
}

.header-center {
  display: flex;
  align-items: center;
}

.sync-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #7FD7AC;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #5CCB95;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  font-family: inherit;
}

.btn-icon {
  width: 14px;
  height: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #FF9900 0%, #C9AF3A 100%);
  color: #15181D;
  font-weight: 700;
  border-color: rgba(255, 153, 0, 0.45);
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFAD33 0%, #f97316 100%);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #B8C0CA;
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(227, 199, 74, 0.3);
  color: #E6E8EB;
  transform: translateY(-1px);
}

.btn-danger {
  background: rgba(229, 83, 75, 0.09);
  color: #F0766F;
  border-color: rgba(229, 83, 75, 0.2);
}

.btn-danger:hover {
  background: rgba(229, 83, 75, 0.16);
  border-color: rgba(229, 83, 75, 0.35);
  color: #fecdd3;
  transform: translateY(-1px);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  padding: 0 0 16px 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.stat-card-highlight {
  border-color: rgba(63, 181, 122, 0.18);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(63, 181, 122, 0.03) 100%);
}

.stat-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.bg-amber { background: rgba(227, 199, 74, 0.12); color: #EBD36B; }
.bg-blue { background: rgba(227, 199, 74, 0.12); color: #E3C74A; }
.bg-rose { background: rgba(229, 83, 75, 0.12); color: #F0766F; }
.bg-emerald { background: rgba(63, 181, 122, 0.1); color: #3FB57A; }

.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.stat-value {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  margin-top: 1px;
}

.text-blue { color: #E3C74A; }
.text-rose { color: #F0766F; }
.text-emerald { color: #3FB57A !important; }

.stat-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 1px;
  display: block;
}

/* Toolbar & Filter */
.toolbar-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 14px 0;
  gap: 12px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  max-width: 440px;
}

.search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-dim);
}

.search-input-wrap input {
  width: 100%;
  padding: 7px 32px 7px 34px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: var(--bg-card);
  color: #ffffff;
  transition: all 0.2s;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.2);
}

.search-input-wrap input::placeholder {
  color: var(--text-dim);
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-dim);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.clear-search-btn:hover {
  color: #ffffff;
}

.view-toggles {
  display: flex;
  background: var(--bg-card-sub);
  border: 1px solid var(--border-color);
  padding: 2px;
  border-radius: 7px;
  gap: 2px;
}

.view-toggle-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.view-toggle-btn svg {
  width: 14px;
  height: 14px;
}

.view-toggle-btn.active {
  background: var(--color-primary);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.35);
}

/* Main Content */
.main-content {
  flex: 1;
  max-width: 98%;
  width: 98%;
  margin: 0 auto;
  padding: 18px 20px 60px 20px;
  box-sizing: border-box;
}

@media (min-width: 1600px) {
  .main-content {
    max-width: 97%;
    width: 97%;
    padding: 20px 24px 60px 24px;
  }
}

/* Empty State */
.empty-state-card {
  background: var(--bg-card);
  border: 2px dashed var(--border-color);
  border-radius: 16px;
  padding: 60px 20px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
}

.empty-icon {
  font-size: 54px;
  margin-bottom: 16px;
}

.empty-state-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.empty-state-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Cards Grid */
.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 14px;
}

.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

/* Card Header */
.order-card-header {
  padding: 10px 14px;
  background: var(--bg-card-sub);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-id-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
}

.order-link-btn {
  color: var(--color-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s;
}

.order-link-btn:hover {
  color: #FFC266;
  text-decoration: underline;
}

.badge-pkg-icon {
  font-size: 14px;
}

.btn-icon-copy {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s;
}

.btn-icon-copy:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-icon-copy svg {
  width: 13px;
  height: 13px;
}

.card-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.buyer-tag {
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(255, 153, 0, 0.15);
  color: #FF9900;
  border: 1px solid rgba(255, 153, 0, 0.3);
  padding: 2px 7px;
  border-radius: 5px;
}

.order-channel-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 153, 0, 0.12);
  color: #FF9900;
  border: 1px solid rgba(255, 153, 0, 0.25);
  padding: 2px 6px;
  border-radius: 5px;
}

/* Card Timeline / Dates Banner */
.card-dates-banner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 7px 14px;
  background: var(--bg-card-inner);
  border-bottom: 1px solid var(--border-color);
  gap: 6px;
}

.date-box {
  display: flex;
  flex-direction: column;
}

.date-box-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.2px;
}

.date-box-value {
  font-size: 11.5px;
  font-weight: 700;
  color: #E6E8EB;
  margin-top: 1px;
}

.text-shipby {
  color: #EBD36B !important;
}

.text-deliverby {
  color: #5CCB95 !important;
}

/* Product Section */
.card-product-section {
  padding: 11px 14px;
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.product-img-wrap {
  width: 56px;
  height: 56px;
  background: #15181D;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-img-wrap:hover img {
  transform: scale(1.12);
}

.product-details {
  flex: 1;
  min-width: 0;
}

.product-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #E6E8EB;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  margin-bottom: 6px;
}

.meta-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  background: var(--bg-card-sub);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.meta-pill strong {
  color: #ffffff;
  font-weight: 700;
}

.meta-pill a {
  color: var(--color-blue);
  text-decoration: none;
}

.meta-pill a:hover {
  text-decoration: underline;
}

/* Pricing Breakdown Section */
.card-pricing-section {
  padding: 9px 14px;
  background: var(--bg-card-inner);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
}

.price-row-net {
  padding-top: 5px;
  border-top: 1px dashed var(--border-color);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.price-val {
  font-family: var(--font-mono);
  font-weight: 700;
}

.val-sale {
  color: #FF9900;
}

.val-promo {
  color: #F0766F;
}

.val-net {
  color: #5CCB95;
  font-size: 14.5px;
}

.calc-formula-sub {
  font-size: 10px;
  color: var(--text-dim);
  text-align: right;
  font-family: var(--font-mono);
}

/* Card Footer / Actions */
.card-footer {
  padding: 9px 14px;
  background: var(--bg-card-sub);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-seller-link {
  flex: 1;
  background: #1B1F26;
  border: 1px solid #262B33;
  color: #D3D8DE;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-seller-link:hover {
  background: #262B33;
  border-color: #FF9900;
  color: #ffffff;
}

.btn-card-del {
  background: rgba(229, 83, 75, 0.1);
  border: 1px solid rgba(229, 83, 75, 0.2);
  color: #F0766F;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-card-del:hover {
  color: #ffffff;
  background: #e11d48;
  border-color: #f43f5e;
}

.btn-card-del svg {
  width: 15px;
  height: 15px;
}

/* Table View */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-responsive {
  overflow-x: auto;
}

.orders-table,
.data-table {
  width: 100% !important;
  min-width: 1540px;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}

.orders-table th,
.data-table th {
  background: var(--bg-card-sub);
  padding: 6px 7px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  font-size: 11px;
}

.orders-table td,
.data-table td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  color: #B8C0CA;
  font-size: 11.5px;
}

.orders-table tr:hover td,
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* Pricing Breakdown Card in Approved Inventory Table */
.pricing-detail-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 290px;
  max-width: 380px;
}

.pricing-row-main {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.pricing-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pricing-sublabel {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9AA3AE;
}

.pricing-val-sale {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 700;
  color: #FF9900;
}

.pricing-val-cost {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #E6E8EB;
}

.pricing-sub-cur {
  font-size: 11px;
  color: #6B7480;
  font-weight: 500;
}

.pricing-val-ham {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #FF9900;
  background: rgba(255, 153, 0, 0.12);
  border: 1px solid rgba(255, 153, 0, 0.28);
  border-radius: 4px;
  padding: 1px 6px;
  display: inline-block;
  margin-top: 2px;
  width: fit-content;
}

.pricing-val-prep {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #EBD36B;
  background: rgba(227, 199, 74, 0.12);
  border: 1px solid rgba(227, 199, 74, 0.28);
  border-radius: 4px;
  padding: 1px 6px;
  display: inline-block;
  margin-top: 2px;
  width: fit-content;
}

.pricing-val-prep .pricing-sub-cur {
  color: #fde68a;
}

.pricing-row-fees {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.fee-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: #B8C0CA;
  font-family: var(--font-mono);
}

.fee-pill strong {
  color: #F0766F;
  font-weight: 700;
}

.pricing-row-profit {
  margin-top: 1px;
}

.net-profit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(63, 181, 122, 0.12);
  border: 1px solid rgba(63, 181, 122, 0.32);
  box-shadow: 0 2px 8px rgba(63, 181, 122, 0.1);
}

.net-profit-badge .profit-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #86efac;
}

.net-profit-badge .profit-mxn {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #5CCB95;
}

.net-profit-badge .profit-usd {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #bbf7d0;
}

.net-profit-badge .profit-margin-pill {
  padding: 2px 7px;
  border-radius: 5px;
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-left: 2px;
}

.tbl-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: #15181D;
}

.tbl-order-id {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-blue);
  white-space: nowrap;
  text-decoration: none;
}

.tbl-order-id:hover {
  text-decoration: underline;
  color: #FFC266;
}

.tbl-date {
  font-weight: 600;
  white-space: nowrap;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #1B1F26;
  color: #ffffff;
  border: 1px solid #2A3039;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 999999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.app-footer {
  margin-top: auto;
  padding: 14px 48px;
  background: var(--bg-card-inner);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

@media (min-width: 1600px) {
  .app-footer {
    padding: 14px 64px;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Order Status & Carrier Tracking System Styles
   ========================================================================== */

/* Quick Filter Chips & Groups */
.quick-filters-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.filter-chip:hover {
  background: var(--bg-card-sub);
  color: #ffffff;
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.filter-chip.active {
  background: #1B1F26;
  border-color: var(--color-blue);
  color: #ffffff;
  box-shadow: 0 0 0 1px var(--color-blue), 0 2px 8px rgba(255, 153, 0, 0.25);
}

.chip-count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.filter-chip.active .chip-count {
  background: rgba(255, 153, 0, 0.2);
  color: #FF9900;
}

/* Confirm Delayed Chip */
.filter-chip.chip-confirm-delayed {
  border-color: rgba(229, 83, 75, 0.35);
  color: #F4A29D;
  background: rgba(229, 83, 75, 0.08);
}

.filter-chip.chip-confirm-delayed:hover {
  background: rgba(229, 83, 75, 0.16);
  border-color: #ef4444;
}

.filter-chip.chip-confirm-delayed.active {
  background: rgba(229, 83, 75, 0.22);
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(229, 83, 75, 0.4);
}

/* Delivery Delayed Chip */
.filter-chip.chip-delivery-delayed {
  border-color: rgba(220, 38, 38, 0.35);
  color: #F0766F;
  background: rgba(220, 38, 38, 0.08);
}

.filter-chip.chip-delivery-delayed:hover {
  background: rgba(220, 38, 38, 0.18);
  border-color: #dc2626;
}

.filter-chip.chip-delivery-delayed.active {
  background: rgba(220, 38, 38, 0.26);
  border-color: #dc2626;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.5);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-confirm {
  background: #E3C74A;
  box-shadow: 0 0 6px #E3C74A;
}

.dot-delivery {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.chip-count.count-danger {
  background: rgba(229, 83, 75, 0.25);
  color: #F4A29D;
}

/* Status Filter Wrapper */
.status-filter-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: 9px;
}

.status-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-filter-select {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  padding: 4px 0;
}

.status-filter-select option {
  background: #15181D;
  color: #E6E8EB;
}

/* Status Bar in Order Card */
.card-status-bar {
  padding: 10px 18px;
  background: var(--bg-card-inner);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-status-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.order-status-select-wrap {
  position: relative;
  flex: 1;
  max-width: 250px;
}

.order-status-select {
  width: 100%;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
  border: 1px solid var(--border-color);
  background: var(--bg-card-sub);
  color: #ffffff;
}

/* Color-coded Status Badges */
.status-siparis-verildi {
  background: rgba(255, 153, 0, 0.14) !important;
  color: #FF9900 !important;
  border-color: rgba(255, 153, 0, 0.4) !important;
}

.status-confirm-edildi {
  background: rgba(255, 153, 0, 0.16) !important;
  color: #FFAD33 !important;
  border-color: rgba(255, 153, 0, 0.4) !important;
}

.status-depoya-teslim-edildi {
  background: rgba(20, 184, 166, 0.16) !important;
  color: #2dd4bf !important;
  border-color: rgba(20, 184, 166, 0.4) !important;
}

.status-musteri-iade-talebi-olusturdu {
  background: rgba(227, 199, 74, 0.18) !important;
  color: #EBD36B !important;
  border-color: rgba(227, 199, 74, 0.45) !important;
}

.status-musteri-para-iadesi-yapildi {
  background: rgba(229, 83, 75, 0.18) !important;
  color: #F0766F !important;
  border-color: rgba(229, 83, 75, 0.45) !important;
}

.status-teslimatla-ilgili-problem-cikti {
  background: rgba(229, 83, 75, 0.22) !important;
  color: #F0766F !important;
  border-color: rgba(229, 83, 75, 0.55) !important;
}

.status-ilgilenmem-gerek {
  background: rgba(154, 163, 174, 0.2) !important;
  color: #9AA3AE !important;
  border-color: rgba(154, 163, 174, 0.5) !important;
}

.status-siparis-musteriye-teslim-edildi {
  background: rgba(63, 181, 122, 0.18) !important;
  color: #5CCB95 !important;
  border-color: rgba(63, 181, 122, 0.45) !important;
}

/* Shipping & Tracking Section */
.card-tracking-section {
  padding: 13px 18px;
  background: var(--bg-card-sub);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tracking-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tracking-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9AA3AE;
}

.tracking-inputs-grid {
  display: grid;
  grid-template-columns: 130px 1fr auto auto;
  gap: 8px;
  align-items: center;
}

.carrier-select {
  padding: 7px 10px;
  background: var(--bg-card-inner);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #E6E8EB;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
  cursor: pointer;
}

.carrier-select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2);
}

.carrier-select option {
  background: #111418;
  color: #ffffff;
}

.tracking-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.tracking-input {
  width: 100%;
  padding: 7px 12px;
  background: var(--bg-card-inner);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  outline: none;
  transition: all 0.2s;
}

.tracking-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2);
  background: #15181D;
}

.tracking-input::placeholder {
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-weight: 400;
}

.btn-tracking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-tracking.active {
  background: linear-gradient(135deg, #FF9900 0%, #C9AF3A 100%);
  color: #15181D;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.35);
}

.btn-tracking.active:hover {
  background: linear-gradient(135deg, #FFAD33 0%, #f97316 100%);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.45);
}

.btn-tracking.disabled {
  background: #1B1F26;
  color: var(--text-dim);
  border: 1px solid var(--border-color);
  opacity: 0.7;
}

.btn-tracking.disabled:hover {
  background: #262B33;
  color: var(--text-muted);
}

/* Delayed Highlighting & Warning Banners */
.order-card.delayed-confirm {
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 22px rgba(229, 83, 75, 0.32), var(--shadow-md) !important;
}

.order-card.delayed-delivery {
  border: 2px solid #dc2626 !important;
  box-shadow: 0 0 26px rgba(220, 38, 38, 0.42), var(--shadow-md) !important;
}

.order-card.delayed-confirm.delayed-delivery {
  border: 2px solid #b91c1c !important;
  box-shadow: 0 0 28px rgba(185, 28, 28, 0.5), var(--shadow-md) !important;
}

.delay-banner-wrap {
  display: flex;
  flex-direction: column;
}

.delay-alert-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  border-bottom: 1px solid rgba(229, 83, 75, 0.25);
}

.delay-alert-banner.alert-confirm {
  background: linear-gradient(90deg, rgba(229, 83, 75, 0.25) 0%, rgba(227, 199, 74, 0.15) 100%);
  color: #F4A29D;
  border-color: rgba(229, 83, 75, 0.35);
}

.delay-alert-banner.alert-delivery {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.3) 0%, rgba(185, 28, 28, 0.18) 100%);
  color: #fecaca;
  border-color: rgba(220, 38, 38, 0.4);
}

.delay-alert-icon {
  font-size: 16px;
  flex-shrink: 0;
  animation: pulseWarning 1.8s infinite ease-in-out;
}

@keyframes pulseWarning {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Table View Additions */
.table-row-delayed-confirm td {
  background: rgba(229, 83, 75, 0.08) !important;
}

.table-row-delayed-confirm td:first-child {
  border-left: 4px solid #ef4444 !important;
}

.table-row-delayed-delivery td {
  background: rgba(220, 38, 38, 0.12) !important;
}

.table-row-delayed-delivery td:first-child {
  border-left: 4px solid #dc2626 !important;
}

.tbl-tracking-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 190px;
}

.tbl-tracking-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tbl-delay-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 4px;
  white-space: nowrap;
}

.tbl-delay-confirm {
  background: rgba(229, 83, 75, 0.2);
  color: #F4A29D;
  border: 1px solid rgba(229, 83, 75, 0.4);
}

.tbl-delay-delivery {
  background: rgba(220, 38, 38, 0.25);
  color: #fecaca;
  border: 1px solid rgba(220, 38, 38, 0.5);
}

/* ==========================================================================
   Navigation Drawer & Views Layout
   ========================================================================== */

/* Menu Toggle Button in Header */
.menu-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: #E6E8EB;
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  margin-right: 14px;
}

.menu-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(227, 199, 74, 0.3);
  color: #EBD36B;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.menu-toggle-icon {
  width: 18px;
  height: 18px;
}

.menu-toggle-text {
  letter-spacing: 0.2px;
}

/* Nav Drawer Overlay */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-drawer-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Nav Drawer Panel */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
  box-shadow: 15px 0 35px rgba(0, 0, 0, 0.65);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer-header {
  padding: 18px 20px;
  background: var(--bg-card-inner);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
  user-select: none;
}

.drawer-brand:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 12px rgba(255, 153, 0, 0.35));
}

.drawer-logo-box {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #E3C74A 0%, #C9AF3A 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.drawer-logo-svg {
  width: 18px;
  height: 18px;
}

.drawer-brand-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.drawer-brand-sub {
  font-size: 11px;
  color: var(--text-dim);
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.drawer-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Nav Drawer Menu Items */
.nav-drawer-menu {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
}

.nav-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.nav-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transform: translateX(3px);
}

.nav-menu-item.active {
  background: linear-gradient(90deg, rgba(255, 153, 0, 0.16) 0%, rgba(255, 153, 0, 0.04) 100%);
  border-color: rgba(255, 153, 0, 0.45);
  color: #FF9900;
}

.nav-item-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-item-icon-box svg {
  width: 18px;
  height: 18px;
}

.icon-dashboard { background: rgba(227, 199, 74, 0.12); color: #EBD36B; }
.icon-inventory { background: rgba(52, 211, 153, 0.12); color: #5CCB95; }
.icon-orders { background: rgba(227, 199, 74, 0.12); color: #EBD36B; }
.icon-add { background: rgba(52, 211, 153, 0.12); color: #7FD7AC; }
.icon-filter { background: rgba(154, 163, 174, 0.12); color: #9AA3AE; }
.icon-settings { background: rgba(251, 191, 36, 0.12); color: #fde047; }

.nav-item-text {
  flex: 1;
  min-width: 0;
}

.nav-item-title {
  font-size: 13.5px;
  font-weight: 700;
  display: block;
  color: inherit;
}

.nav-item-desc {
  font-size: 11px;
  color: var(--text-dim);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 153, 0, 0.2);
  color: #FF9900;
  padding: 2px 7px;
  border-radius: 10px;
  border: 1px solid rgba(255, 153, 0, 0.35);
}

.nav-item-tag-empty {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}

.nav-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  background: #0E1013;
}

.drawer-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-dim);
}

/* App View Sections */
.app-view-section {
  animation: fadeInView 0.25s ease-out;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* View Header Bar (for Dashboard) */
.view-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.view-heading {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.view-subheading {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Dashboard Column Chart Card */
.dashboard-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 16px 20px;
  margin-top: 14px;
  margin-bottom: 16px;
}

.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.chart-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chart-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 153, 0, 0.12);
  color: #FF9900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-icon-box svg {
  width: 16px;
  height: 16px;
}

.chart-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.chart-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

.chart-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chart-legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--bg-card-sub);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.legend-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #E3C74A;
}

/* Sütun Grafik (Column Bar Chart) Render Area - Ultra Modern Design */
.dashboard-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.dashboard-chart-card::before {
  display: none;
}

.chart-canvas-container {
  min-height: 290px;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 38px 16px 14px 16px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
}

/* Background Guidelines */
.chart-canvas-container::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 55px,
    rgba(255, 255, 255, 0.025) 55px,
    rgba(255, 255, 255, 0.025) 56px
  );
  pointer-events: none;
}

.chart-empty-state {
  width: 100%;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.chart-col-wrap {
  flex: 1;
  min-width: 90px;
  max-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chart-col-wrap:hover {
  transform: translateY(-8px) scale(1.02);
}

.chart-bar-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: #FF9900;
  background: rgba(21, 24, 29, 0.85);
  border: 1px solid rgba(255, 153, 0, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.chart-col-wrap:hover .chart-bar-badge {
  background: linear-gradient(135deg, #FF9900 0%, #C9AF3A 100%);
  color: #000000;
  border-color: #ffaa22;
  box-shadow: 0 0 18px rgba(255, 153, 0, 0.6);
  transform: scale(1.08);
}

.chart-pillar-track {
  width: 52px;
  height: 190px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px 12px 4px 4px;
  display: flex;
  align-items: flex-end;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: none;
  padding: 2px;
}

.chart-pillar-bar {
  width: 100%;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #fcd34d 0%, #E3C74A 50%, #C9AF3A 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: height 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, filter 0.25s;
  min-height: 14px;
  position: relative;
  overflow: hidden;
}

/* Light reflection overlay on pillar */
.chart-pillar-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px 8px 0 0;
}

.chart-pillar-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2px;
  width: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 80%);
  border-radius: 3px;
}

.chart-col-wrap:hover .chart-pillar-bar {
  background: linear-gradient(180deg, #fde68a 0%, #EBD36B 50%, #C9AF3A 100%);
  box-shadow: 0 4px 16px rgba(227, 199, 74, 0.3);
  filter: brightness(1.05);
}

.chart-col-date {
  font-size: 12.5px;
  font-weight: 700;
  color: #D3D8DE;
  margin-top: 12px;
  text-align: center;
  white-space: nowrap;
  font-family: inherit;
  transition: color 0.2s;
}

.chart-col-wrap:hover .chart-col-date {
  color: #FF9900;
}

.chart-col-amount {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #5CCB95;
  background: rgba(63, 181, 122, 0.1);
  border: 1px solid rgba(63, 181, 122, 0.25);
  padding: 2px 6px;
  border-radius: 6px;
  margin-top: 4px;
}

/* Dashboard Summary Insights Grid */
.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.summary-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.summary-box-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.summary-box-value {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-top: 4px;
}

.summary-box-sub {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Placeholder Views for Ürün Ekle, Filtre Tercihleri, Mağaza Ayarları */
.placeholder-module-card {
  background: var(--bg-card);
  border: 2px dashed var(--border-color);
  border-radius: 18px;
  padding: 60px 30px;
  text-align: center;
  max-width: 580px;
  margin: 50px auto;
  box-shadow: var(--shadow-md);
}

.placeholder-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.placeholder-icon-wrap svg {
  width: 32px;
  height: 32px;
}

.bg-blue-subtle { background: rgba(255, 153, 0, 0.15); color: #FF9900; }
.bg-purple-subtle { background: rgba(154, 163, 174, 0.15); color: #9AA3AE; }
.bg-amber-subtle { background: rgba(227, 199, 74, 0.15); color: #EBD36B; }
.bg-emerald-subtle { background: rgba(63, 181, 122, 0.15); color: #3FB57A; }

.placeholder-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 12px 0 8px 0;
}

.placeholder-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-return-orders {
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   FİLTRE TERCİHLERİ (FILTER PREFERENCES) STYLES
   ========================================================================== */
.filter-tabs-wrapper {
  margin-bottom: 18px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.filter-tabs-nav {
  display: flex;
  gap: 6px;
  background: var(--bg-card-sub);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 10px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}

.filter-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 7px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.filter-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.filter-tab-btn.active {
  background: rgba(255, 153, 0, 0.14);
  border-color: rgba(255, 153, 0, 0.45);
  color: #E3C74A;
  box-shadow: none;
}

.tab-flag {
  font-size: 15px;
  line-height: 1;
}

.tab-btn-title {
  flex: 1;
}

.tab-btn-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-tab-btn.active .tab-btn-badge {
  background: rgba(255, 153, 0, 0.2);
  color: #EBD36B;
  border-color: rgba(255, 153, 0, 0.35);
}

.filter-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.filter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.filter-card-header {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.filter-rule-num {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(255, 153, 0, 0.14);
  color: #E3C74A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  font-family: var(--font-mono);
  flex-shrink: 0;
  border: 1px solid rgba(255, 153, 0, 0.3);
}

.filter-card-title-group {
  flex: 1;
}

.filter-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.filter-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.5;
}

.filter-options-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-option-item {
  display: block;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.filter-option-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-option-item:hover .option-content {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.filter-option-item input[type="radio"]:checked + .option-content {
  background: rgba(255, 153, 0, 0.08);
  border-color: rgba(255, 153, 0, 0.48);
  box-shadow: none;
}

.option-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.option-radio-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C9AF3A;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-option-item input[type="radio"]:checked + .option-content .option-radio-dot {
  border-color: #C9AF3A;
}

.filter-option-item input[type="radio"]:checked + .option-content .option-radio-dot::after {
  transform: scale(1);
}

.option-texts {
  flex: 1;
  min-width: 0;
}

.option-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #E6E8EB;
  display: block;
}

.option-hint {
  font-size: 11.5px;
  color: var(--text-dim);
  display: block;
  margin-top: 2px;
  line-height: 1.4;
}

.option-status-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.badge-green {
  background: rgba(63, 181, 122, 0.15);
  color: #5CCB95;
  border: 1px solid rgba(63, 181, 122, 0.3);
}

.badge-rose {
  background: rgba(229, 83, 75, 0.15);
  color: #F0766F;
  border: 1px solid rgba(229, 83, 75, 0.3);
}

.badge-blue {
  background: rgba(255, 153, 0, 0.14);
  color: #E3C74A;
  border: 1px solid rgba(255, 153, 0, 0.3);
}

.badge-amber {
  background: rgba(255, 153, 0, 0.14);
  color: #E3C74A;
  border: 1px solid rgba(255, 153, 0, 0.3);
}

/* Safe-As Special Shield Card Styling */
.filter-card-safe-as {
  background: linear-gradient(135deg, rgba(63, 181, 122, 0.05) 0%, rgba(21, 24, 29, 0.9) 100%) !important;
  border: 1px solid rgba(63, 181, 122, 0.3) !important;
  box-shadow: 0 0 15px rgba(63, 181, 122, 0.06);
}

.filter-card-safe-as:hover {
  border-color: rgba(63, 181, 122, 0.5) !important;
  box-shadow: 0 0 22px rgba(63, 181, 122, 0.12);
}

.filter-rule-badge-safe {
  background: rgba(63, 181, 122, 0.18) !important;
  color: #3FB57A !important;
  border: 1px solid rgba(63, 181, 122, 0.45) !important;
  font-size: 13px !important;
}

.safe-as-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(63, 181, 122, 0.15);
  color: #5CCB95;
  border: 1px solid rgba(63, 181, 122, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.option-locked-safe {
  cursor: default !important;
  pointer-events: none;
}

.option-locked-safe .option-content {
  border-color: rgba(63, 181, 122, 0.25) !important;
  background: rgba(63, 181, 122, 0.04) !important;
}

.inv-reason-safe-as {
  background: rgba(63, 181, 122, 0.12) !important;
  color: #5CCB95 !important;
  border: 1px solid rgba(63, 181, 122, 0.3) !important;
  font-weight: 700;
}

.delivery-tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #C9AF3A;
  cursor: help;
  transition: transform 0.15s ease, color 0.15s ease;
}

.delivery-tooltip-trigger:hover {
  color: #E3C74A;
  transform: scale(1.15);
}

/* Expandable number input box for Rule 4 */
.filter-expandable-section {
  margin-top: 4px;
  margin-left: 32px;
  padding-left: 14px;
  border-left: 2px solid rgba(255, 153, 0, 0.4);
  animation: fadeInView 0.25s ease-out;
}

.filter-input-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0E1013;
  border: 1px solid rgba(255, 153, 0, 0.3);
  border-radius: 8px;
  padding: 10px 16px;
  flex-wrap: wrap;
}

.filter-input-label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-icon {
  font-size: 14px;
}

.filter-input-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.filter-input-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-num-input {
  width: 65px;
  height: 32px;
  background: var(--bg-card-inner);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #EBD36B;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  padding: 2px;
  transition: all 0.15s;
}

.filter-num-input:focus {
  border-color: #FF9900;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 153, 0, 0.4);
}

.filter-input-unit {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
}

.filter-input-hint {
  font-size: 11.5px;
  color: var(--text-muted);
}

.filter-input-hint strong {
  color: #ffffff;
}

/* Actions bar at bottom of filter preferences */
.filter-actions-bar {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 20px;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.actions-left-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.info-icon {
  font-size: 14px;
}

.btn-save-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-save-filters:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.5);
}

.btn-save-filters:active {
  transform: translateY(0);
}

/* ==========================================================================
   ÜRÜN EKLE (ADD PRODUCT & SKU GENERATOR) STYLES
   ========================================================================== */
.add-product-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 16px;
  margin-bottom: 20px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1050px) {
  .add-product-grid {
    grid-template-columns: 1fr;
  }
}

.add-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.add-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.icon-asin {
  background: rgba(255, 153, 0, 0.15);
  color: #FF9900;
}

.icon-sku {
  background: rgba(154, 163, 174, 0.14);
  color: #9AA3AE;
}

.card-header-titles {
  flex: 1;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.count-info {
  background: rgba(255, 153, 0, 0.18);
  color: #FF9900;
  border: 1px solid rgba(255, 153, 0, 0.35);
  padding: 3px 9px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
}

.asin-textarea-wrap {
  flex: 1;
  display: flex;
}

.asin-textarea {
  width: 100%;
  background: #0E1013;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
  color: #E6E8EB;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  resize: vertical;
  min-height: 180px;
  outline: none;
  transition: all 0.2s;
}

.asin-textarea:focus {
  border-color: #FF9900;
  box-shadow: 0 0 14px rgba(255, 153, 0, 0.25);
}

.asin-panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 10px;
}

.sku-input-wrapper {
  margin-bottom: 18px;
}

.sku-input-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.sku-input-row {
  display: flex;
  align-items: stretch;
  background: #0E1013;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}

.sku-input-row:focus-within {
  border-color: #9AA3AE;
  box-shadow: 0 0 14px rgba(154, 163, 174, 0.25);
}

.sku-prefix-addon {
  background: rgba(154, 163, 174, 0.15);
  color: #9AA3AE;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 14px;
  border-right: 1px solid rgba(154, 163, 174, 0.3);
  display: flex;
  align-items: center;
  user-select: none;
}

.sku-input-field {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sku-suffix-addon {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 10px 12px;
  border-left: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  user-select: none;
  white-space: nowrap;
}

.sku-input-help {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.sku-input-help strong {
  color: #ffffff;
}

.sku-preview-box {
  background: linear-gradient(135deg, rgba(154, 163, 174, 0.08) 0%, rgba(255, 153, 0, 0.05) 100%);
  border: 1px solid rgba(154, 163, 174, 0.3);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.sku-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.preview-badge-label {
  font-size: 12px;
  font-weight: 700;
  color: #9AA3AE;
}

.preview-info-tag {
  font-size: 11px;
  font-weight: 700;
  background: rgba(63, 181, 122, 0.15);
  color: #5CCB95;
  border: 1px solid rgba(63, 181, 122, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
}

.sku-preview-code-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0E1013;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.sku-preview-code {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: #FF9900;
  letter-spacing: 0.5px;
}

.btn-copy-preview {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: all 0.15s;
}

.btn-copy-preview:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.sku-rules-checklist {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.rule-item strong {
  color: #B8C0CA;
}

.btn-generate-products {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 800;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-generate-products:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
}

/* Created Products Table Card */
.created-products-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  animation: fadeInView 0.25s ease-out;
  margin-top: 10px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.created-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.created-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.created-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.created-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sku-result-badge {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  color: #9AA3AE;
  background: rgba(154, 163, 174, 0.12);
  border: 1px solid rgba(154, 163, 174, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Envanter (Inventory) 4 Side-by-Side Tabs & Panel Styling
   ========================================================================== */

.inv-tabs-wrapper {
  margin-bottom: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.inv-tabs-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: stretch;
  width: 100%;
}

.inv-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  flex: 1 1 0px;
  min-width: 0;
  background: rgba(21, 24, 29, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  user-select: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.inv-tab-btn:hover {
  background: rgba(27, 31, 38, 0.8);
  border-color: rgba(255, 153, 0, 0.3);
  color: #E6E8EB;
  transform: translateY(-1px);
}

.inv-tab-icon {
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.inv-tab-title {
  letter-spacing: 0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}

.inv-tab-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 9999px;
  min-width: 20px;
  text-align: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* Tab 1: Mağazada Bulunan Ürünler - Active Styling */
.inv-tab-btn[data-tab="tab-inv-store"].active {
  background: rgba(255, 153, 0, 0.15);
  border-color: rgba(255, 153, 0, 0.45);
  color: #FF9900;
  box-shadow: 0 2px 10px rgba(255, 153, 0, 0.15);
}

/* Tab 2: Kuyruktaki Ürünler - Active Styling */
.inv-tab-btn[data-tab="tab-inv-queue"].active {
  background: rgba(255, 153, 0, 0.12);
  border-color: rgba(227, 199, 74, 0.35);
  color: #fcd34d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Tab 3: Onay Alan Ürünler - Active Styling */
.inv-tab-btn[data-tab="tab-inv-approved"].active {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
  color: #7FD7AC;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Tab 4: Filtrelere Takılan Ürünler - Active Styling */
.inv-tab-btn[data-tab="tab-inv-filtered"].active {
  background: rgba(229, 83, 75, 0.12);
  border-color: rgba(229, 83, 75, 0.35);
  color: #fda4af;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Tab 5: Silinmesi Gereken Ürünler - Active Styling */
.inv-tab-btn[data-tab="tab-inv-todelete"].active {
  background: rgba(229, 83, 75, 0.12);
  border-color: rgba(229, 83, 75, 0.35);
  color: #fecdd3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Badge Color Classes */
.badge-blue {
  background: rgba(227, 199, 74, 0.14);
  color: #EBD36B;
  border: 1px solid rgba(227, 199, 74, 0.25);
}

.badge-amber {
  background: rgba(251, 191, 36, 0.14);
  color: #fde047;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.badge-green {
  background: rgba(52, 211, 153, 0.14);
  color: #7FD7AC;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.badge-rose {
  background: rgba(229, 83, 75, 0.14);
  color: #F4A29D;
  border: 1px solid rgba(229, 83, 75, 0.25);
}

/* Envanter Toolbar */
.inv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.inv-toolbar .search-input-wrap {
  flex: 1;
  max-width: 520px;
}

.inv-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Tab Panels Animation */
.inv-tab-panel {
  display: none;
}

.inv-tab-panel.active {
  display: block;
  animation: invPanelFade 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes invPanelFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Empty State Card */
.inv-empty-state {
  text-align: center;
  padding: 56px 24px;
  background: rgba(21, 24, 29, 0.45);
  border: 1px dashed var(--border-color);
  border-radius: 14px;
  margin-top: 14px;
}

.inv-empty-icon {
  font-size: 42px;
  margin-bottom: 12px;
  line-height: 1;
}

.inv-empty-state h4 {
  font-size: 16px;
  font-weight: 700;
  color: #D3D8DE;
  margin-bottom: 6px;
}

.inv-empty-state p {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
}

/* Table Enhancements for Inventory - Consistent Typography & Modern Design */
.inv-product-media {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #15181D;
  border: 1px solid var(--border-color);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}

.inv-product-media:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(227, 199, 74, 0.22);
  border-color: rgba(227, 199, 74, 0.4);
}

.inv-thumb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.inv-asin-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.inv-asin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(227, 199, 74, 0.12);
  border: 1px solid rgba(227, 199, 74, 0.25);
  border-radius: 8px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  color: #EBD36B;
  transition: all 0.2s ease;
}

.inv-asin-badge:hover {
  background: rgba(227, 199, 74, 0.22);
  color: #fde047;
  box-shadow: 0 2px 10px rgba(227, 199, 74, 0.25);
  border-color: rgba(227, 199, 74, 0.45);
}

.inv-asin-icon {
  font-size: 13px;
  line-height: 1;
}

.inv-external-icon {
  width: 13px;
  height: 13px;
  opacity: 0.75;
}

.inv-prod-title {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #E6E8EB;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.1px;
}

.inv-sku-pill {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #9AA3AE;
  background: rgba(154, 163, 174, 0.12);
  border: 1px solid rgba(154, 163, 174, 0.3);
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.inv-sku-pill:hover {
  border-color: #9AA3AE;
  box-shadow: 0 0 10px rgba(154, 163, 174, 0.3);
}

.inv-sku-code {
  font-family: var(--font-mono);
  font-weight: 700;
}

.inv-reason-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(229, 83, 75, 0.14);
  color: #F4A29D;
  border: 1px solid rgba(229, 83, 75, 0.3);
}

.inv-stage-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(227, 199, 74, 0.14);
  color: #fde68a;
  border: 1px solid rgba(227, 199, 74, 0.3);
}

.inv-approved-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(63, 181, 122, 0.14);
  color: #7FD7AC;
  border: 1px solid rgba(63, 181, 122, 0.3);
}

/* Inventory Checkboxes & Selection Styles */
.inv-checkbox {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: #FF9900;
  border-radius: 4px;
  vertical-align: middle;
  transition: transform 0.15s ease;
}

.inv-checkbox:hover {
  transform: scale(1.1);
}

/* Checkbox ripple animation */
.inv-checkbox:checked {
  animation: checkPulseGlow 0.4s ease-out;
}

@keyframes checkPulseGlow {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.75);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 8px rgba(255, 153, 0, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 153, 0, 0);
  }
}

/* ==========================================================================
   Akıcı ve Kesintisiz Ürün Seçim / Seçim Kaldırma Renk Geçişleri
   ========================================================================== */
.data-table tbody tr {
  transition: background-color 0.42s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.42s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.data-table tbody tr td {
  transition: background-color 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.42s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Seçili satırın baz durumu: Yumuşak kehribar/turuncu zemin */
tr.inv-row-selected td {
  background-color: rgba(255, 153, 0, 0.08) !important;
  border-bottom-color: rgba(255, 153, 0, 0.16) !important;
}

tr.inv-row-selected:hover td {
  background-color: rgba(255, 153, 0, 0.13) !important;
}

tr.inv-row-selected td:first-child {
  border-left: 3px solid #FF9900 !important;
}

/* Seçildiğinde satır geneline yayılan yumuşak, akıcı ortam ışıması (parçalı değil, bütünleşik) */
tr.inv-row-selected.row-wave-spread td {
  animation: rowSmoothOrangePulse 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rowSmoothOrangePulse {
  0% {
    background-color: rgba(255, 153, 0, 0.22);
  }
  45% {
    background-color: rgba(255, 153, 0, 0.14);
  }
  100% {
    background-color: rgba(255, 153, 0, 0.08);
  }
}

/* ==========================================================================
   Dinamik Toolbar Butonları Giriş Animasyonu (Daha Sakin, Yavaş ve Akıcı)
   ========================================================================== */
.toolbar-action-appear {
  animation: toolbarBtnSlideIn 0.46s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

#btnToggleSelectedDetails.toolbar-action-appear {
  animation-delay: 0ms !important;
}

#btnUnselectAllInventory.toolbar-action-appear {
  animation-delay: 50ms !important;
}

#btnDeleteSelectedToolbar.toolbar-action-appear {
  animation-delay: 100ms !important;
}

#btnPublishSelectedToolbar.toolbar-action-appear {
  animation-delay: 150ms !important;
}

@keyframes toolbarBtnSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.94);
    filter: blur(1px);
  }
  60% {
    opacity: 0.88;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ==========================================================================
   Detay Kartları Açma / Kapatma Butonları (Sabit Genişlik & Ortalı Metin)
   ========================================================================== */
.btn-details-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  padding: 5px 12px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-sizing: border-box;
  text-align: center;
}

/* Bütün Detayları Göster / Gizle sabit genişlik (yazı değişince boyutu oynamaz) */
#btnToggleAllDetails {
  min-width: 174px;
  justify-content: center;
  text-align: center;
}

#btnToggleAllDetails span#btnToggleAllDetailsText {
  display: inline-block;
  text-align: center;
}

/* Seçili Ürünlerin Detaylarını Göster / Gizle sabit genişlik */
#btnToggleSelectedDetails {
  min-width: 238px;
  justify-content: center;
  text-align: center;
}

#btnToggleSelectedDetails span#btnToggleSelectedDetailsText {
  display: inline-block;
  text-align: center;
}

.btn-details-toggle.active {
  background: rgba(255, 153, 0, 0.12) !important;
  border-color: rgba(255, 153, 0, 0.5) !important;
  color: #FF9900 !important;
}

.btn-details-toggle svg {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-details-toggle.active svg {
  transform: rotate(180deg);
}

/* Solid Danger Button for Delete Selected */
.btn-danger-solid {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff !important;
  border: 1px solid #ef4444;
  box-shadow: 0 2px 8px rgba(229, 83, 75, 0.35);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-danger-solid:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-color: #F0766F;
  box-shadow: 0 4px 14px rgba(229, 83, 75, 0.5);
  transform: translateY(-1px);
}

.inv-select-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  min-width: 18px;
  text-align: center;
}


@media (max-width: 1024px) {
  .inv-tabs-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .inv-tabs-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .app-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 18px;
  }
  .main-content {
    padding: 14px 18px 40px 18px;
  }
  .app-footer {
    padding: 14px 18px;
  }
  .header-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .toolbar-section {
    flex-direction: column;
    align-items: stretch;
  }
  .search-input-wrap {
    max-width: 100%;
  }
  .quick-filters-group {
    width: 100%;
  }
  .tracking-inputs-grid {
    grid-template-columns: 1fr;
  }
  .orders-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MAĞAZA AYARLARI (STORE SETTINGS, SEVEPRICER & BLACKLISTS) STYLES
   ========================================================================== */
.store-settings-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.sp-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1024px) {
  .sp-apps-grid {
    grid-template-columns: 1fr;
  }
}

.store-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.store-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.store-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.store-card-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-card-icon-box svg {
  width: 20px;
  height: 20px;
}

.store-card-icon-box.icon-general {
  background: rgba(255, 153, 0, 0.15);
  color: #FF9900;
  border: 1px solid rgba(255, 153, 0, 0.35);
}

.store-card-icon-box.icon-pricer {
  background: rgba(154, 163, 174, 0.15);
  color: #9AA3AE;
  border: 1px solid rgba(154, 163, 174, 0.3);
}

.store-card-icon-box.icon-blacklist {
  background: rgba(229, 83, 75, 0.15);
  color: #F0766F;
  border: 1px solid rgba(229, 83, 75, 0.3);
}

.store-card-titles {
  flex: 1;
}

.store-card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
}

.store-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.45;
}

.store-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.store-input-group {
  display: flex;
  flex-direction: column;
}

.store-input-group.full-width {
  grid-column: 1 / -1;
}

.store-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #E6E8EB;
  margin-bottom: 6px;
}

.store-badge-hint {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-badge-hint.badge-rose {
  background: rgba(229, 83, 75, 0.15);
  color: #F0766F;
  border-color: rgba(229, 83, 75, 0.3);
}

.store-badge-hint.badge-blue {
  background: rgba(255, 153, 0, 0.15);
  color: #FF9900;
  border-color: rgba(255, 153, 0, 0.35);
}

.store-input-wrap {
  display: flex;
  align-items: center;
  background: #0E1013;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.store-input-wrap:focus-within {
  border-color: #FF9900;
  box-shadow: 0 0 14px rgba(255, 153, 0, 0.25);
}

.store-input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 11px;
  outline: none;
}

.store-input.mono-font {
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.store-input-prefix {
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 12px;
  border-right: 1px solid var(--border-color);
  user-select: none;
}

.store-input-unit {
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 11.5px;
  border-left: 1px solid var(--border-color);
  user-select: none;
  white-space: nowrap;
}

.store-help-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 6px;
}

/* SevePricer Specific */
.pricer-section-block {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.pricer-section-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pricer-subtitle {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.competition-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 768px) {
  .competition-type-options {
    grid-template-columns: 1fr;
  }
}

.pricer-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.pricer-option-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.pricer-option-card.active {
  background: rgba(255, 153, 0, 0.08);
  border-color: rgba(255, 153, 0, 0.45);
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.12);
}

.pricer-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.pricer-option-card:hover .pricer-radio-circle {
  border-color: rgba(255, 255, 255, 0.45);
}

.pricer-option-card.active .pricer-radio-circle,
.pricer-radio-circle.checked {
  border-color: #FF9900;
}

.pricer-option-card.active .pricer-radio-circle::after,
.pricer-radio-circle.checked::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF9900;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.8);
}

.pricer-option-content {
  flex: 1;
}

.pricer-option-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.pricer-option-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.aggressiveness-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.aggressiveness-tab {
  display: block;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.aggressiveness-tab input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.agg-tab-box {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aggressiveness-tab:hover .agg-tab-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.aggressiveness-tab input[type="radio"]:checked + .agg-tab-box {
  background: linear-gradient(135deg, rgba(154, 163, 174, 0.16) 0%, rgba(255, 153, 0, 0.08) 100%);
  border-color: #9AA3AE;
  box-shadow: 0 0 16px rgba(154, 163, 174, 0.25);
}

.agg-icon {
  font-size: 20px;
  margin-bottom: 2px;
}

.agg-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.agg-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.pricer-delta-wrap {
  margin-top: 10px;
  animation: fadeIn 0.2s ease;
}

.pricer-delta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(154, 163, 174, 0.08);
  border: 1px solid rgba(154, 163, 174, 0.3);
  border-radius: 12px;
  flex-wrap: wrap;
}

.delta-label-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.delta-icon {
  font-size: 20px;
}

.delta-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.delta-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.delta-control {
  display: flex;
  align-items: center;
  background: #0E1013;
  border: 1px solid rgba(154, 163, 174, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.pricer-formula-card {
  margin-top: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(27, 31, 38, 0.7) 0%, rgba(21, 24, 29, 0.9) 100%);
  border: 1px solid rgba(255, 153, 0, 0.3);
  border-radius: 12px;
}

.formula-header {
  margin-bottom: 8px;
}

.formula-badge {
  font-size: 12px;
  font-weight: 800;
  color: #FF9900;
}

.formula-code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #E6E8EB;
  background: #0E1013;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
  line-height: 1.5;
  overflow-x: auto;
}

.formula-explanation {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.formula-explanation strong {
  color: #E6E8EB;
}

/* Blacklists */
.blacklist-panels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.blacklist-panel {
  background: #0E1013;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bl-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bl-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bl-icon {
  font-size: 20px;
}

.bl-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.bl-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

.bl-counter-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(229, 83, 75, 0.15);
  color: #F0766F;
  border: 1px solid rgba(229, 83, 75, 0.3);
  white-space: nowrap;
}

.bl-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
  color: #E6E8EB;
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.5;
  resize: vertical;
  min-height: 75px;
  outline: none;
  transition: all 0.2s;
}

.bl-textarea:focus {
  border-color: #F0766F;
  box-shadow: 0 0 12px rgba(229, 83, 75, 0.2);
}

.bl-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.bl-tags-container {
  max-height: 180px;
  overflow-y: auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.bl-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bl-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(229, 83, 75, 0.12);
  color: #F4A29D;
  border: 1px solid rgba(229, 83, 75, 0.25);
  border-radius: 6px;
}

.bl-tag-del {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #F4A29D;
  line-height: 1;
}

.bl-tag-del:hover {
  color: #ffffff;
}

.bl-notice-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(227, 199, 74, 0.1);
  border: 1px solid rgba(227, 199, 74, 0.3);
  border-radius: 12px;
  margin-top: 18px;
  font-size: 12.5px;
  color: #fef3c7;
  line-height: 1.5;
}

.bl-notice-icon {
  font-size: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   SMART CATEGORY BLACKLIST STYLES
   ========================================================================== */
.cat-blacklist-section {
  background: #0E1013;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cat-section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #E6E8EB;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-section-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.cat-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.cat-preset-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  user-select: none;
}

.cat-preset-card:hover {
  background: rgba(255, 153, 0, 0.04);
  border-color: rgba(255, 153, 0, 0.4);
  transform: translateY(-2px);
}

.cat-preset-card.active {
  background: rgba(255, 153, 0, 0.1);
  border-color: #FF9900;
  box-shadow: 0 0 16px rgba(255, 153, 0, 0.22);
}

.cat-preset-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cat-preset-title {
  font-size: 13px;
  font-weight: 700;
  color: #E6E8EB;
}

.cat-preset-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  background: rgba(229, 83, 75, 0.15);
  color: #F0766F;
  border: 1px solid rgba(229, 83, 75, 0.3);
  white-space: nowrap;
}

.cat-preset-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
}

.cat-preset-status {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: var(--text-dim);
}

.cat-preset-card.active .cat-preset-status {
  color: #FF9900;
}

.cat-search-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.cat-search-input-wrap {
  position: relative;
  flex: 1.2;
  min-width: 250px;
}

.cat-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 9px 12px 9px 36px;
  color: #E6E8EB;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.cat-search-input:focus {
  border-color: #FF9900;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.2);
}

.cat-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: 0.6;
  pointer-events: none;
}

.cat-select-dropdown {
  flex: 1;
  min-width: 230px;
  background: #0E1013;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 9px 12px;
  color: #E6E8EB;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.cat-select-dropdown:focus {
  border-color: #FF9900;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.2);
}

.cat-custom-input {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 9px 12px;
  color: #E6E8EB;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.cat-custom-input:focus {
  border-color: #FF9900;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.2);
}

.cat-tags-box {
  min-height: 80px;
  max-height: 220px;
  overflow-y: auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  margin-top: 6px;
}

.cat-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 153, 0, 0.12);
  color: #ffb84d;
  border: 1px solid rgba(255, 153, 0, 0.35);
  transition: all 0.2s;
}

.cat-tag-pill:hover {
  background: rgba(255, 153, 0, 0.18);
  border-color: #FF9900;
}

.cat-tag-remove {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: #FF9900;
  background: transparent;
  border: none;
  line-height: 1;
  padding: 0;
  margin-left: 2px;
  transition: color 0.15s;
}

.cat-tag-remove:hover {
  color: #ffffff;
}

/* =========================================================================
   CATEGORY & SUBCATEGORY ACCORDION TREE STYLES
   ========================================================================= */
.cat-tree-section {
  background: rgba(17, 20, 24, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
}

.cat-tree-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.cat-tree-item {
  background: rgba(21, 24, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.cat-tree-item:hover {
  border-color: rgba(255, 153, 0, 0.3);
}

.cat-tree-item.open {
  border-color: rgba(255, 153, 0, 0.55);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.cat-tree-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  cursor: pointer;
  user-select: none;
  gap: 12px;
  transition: background 0.15s;
}

.cat-tree-header:hover {
  background: rgba(255, 153, 0, 0.04);
}

.cat-tree-item.open .cat-tree-header {
  background: rgba(255, 153, 0, 0.08);
  border-bottom: 1px solid rgba(255, 153, 0, 0.15);
}

.cat-tree-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.cat-tree-chevron {
  font-size: 11px;
  color: #FF9900;
  transition: transform 0.2s;
  display: inline-block;
  width: 14px;
  text-align: center;
}

.cat-tree-icon {
  font-size: 16px;
  line-height: 1;
}

.cat-tree-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #E6E8EB;
}

.cat-tree-tr-badge {
  font-size: 11px;
  font-weight: 500;
  color: #9AA3AE;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-tree-sub-count {
  font-size: 10.5px;
  font-weight: 600;
  color: #FF9900;
  background: rgba(255, 153, 0, 0.12);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 153, 0, 0.25);
}

.cat-tree-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cat-tree-status-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.cat-tree-status-pill.blocked {
  background: rgba(229, 83, 75, 0.16);
  color: #F0766F;
  border: 1px solid rgba(229, 83, 75, 0.35);
}

.cat-tree-status-pill.partial {
  background: rgba(227, 199, 74, 0.16);
  color: #EBD36B;
  border: 1px solid rgba(227, 199, 74, 0.35);
}

.cat-tree-status-pill.clear {
  background: rgba(63, 181, 122, 0.14);
  color: #5CCB95;
  border: 1px solid rgba(63, 181, 122, 0.28);
}

.cat-tree-drawer {
  display: none;
  padding: 12px 14px 14px 14px;
  background: rgba(17, 20, 24, 0.95);
  animation: catFadeDown 0.2s ease-out;
}

.cat-tree-item.open .cat-tree-drawer {
  display: block;
}

.cat-tree-item.open .cat-tree-chevron {
  transform: rotate(90deg);
}

@keyframes catFadeDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cat-drawer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cat-drawer-hint {
  font-size: 11.5px;
  color: var(--text-muted);
}

.cat-subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}

.cat-subcat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.18s;
}

.cat-subcat-card:hover {
  background: rgba(255, 153, 0, 0.04);
  border-color: rgba(255, 153, 0, 0.3);
}

.cat-subcat-card.blocked {
  background: rgba(229, 83, 75, 0.08);
  border-color: rgba(229, 83, 75, 0.35);
}

.cat-subcat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.cat-subcat-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #E6E8EB;
  word-break: break-word;
}

.cat-subcat-card.blocked .cat-subcat-name {
  color: #F4A29D;
}

.cat-subcat-tr {
  font-size: 11px;
  color: var(--text-dim);
}

.btn-subcat-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  outline: none;
  border: none;
}

.btn-subcat-pill.unblocked {
  background: rgba(255, 153, 0, 0.12);
  color: #FF9900;
  border: 1px solid rgba(255, 153, 0, 0.35);
}

.btn-subcat-pill.unblocked:hover {
  background: #FF9900;
  color: #000000;
}

.btn-subcat-pill.blocked {
  background: rgba(229, 83, 75, 0.2);
  color: #F0766F;
  border: 1px solid rgba(229, 83, 75, 0.45);
}

.btn-subcat-pill.blocked:hover {
  background: #ef4444;
  color: #ffffff;
}

.cat-inherited-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(229, 83, 75, 0.15);
  color: #F4A29D;
  border: 1px solid rgba(229, 83, 75, 0.25);
  white-space: nowrap;
}

.store-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  flex-wrap: wrap;
  gap: 14px;
}

.store-actions-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

/* =========================================================================
   SKU CLICKABLE LINK STYLES (ORDERS, INVENTORY, ADD PRODUCT)
   ========================================================================= */
.sku-detail-link {
  color: #FF9900 !important;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  user-select: none;
}

.sku-detail-link:hover {
  color: #FFC266 !important;
  text-decoration: underline !important;
  transform: translateY(-1px);
  text-shadow: 0 0 10px rgba(255, 153, 0, 0.5);
}

.inv-sku-pill span.sku-detail-link {
  cursor: pointer;
}

.inv-sku-pill:hover span.sku-detail-link {
  color: #FF9900;
  text-decoration: underline;
}

/* =========================================================================
   PRODUCT DETAIL VIEW STYLES
   ========================================================================= */
.detail-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.detail-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-detail-back:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FF9900;
  border-color: rgba(255, 153, 0, 0.4);
  transform: translateX(-2px);
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}

.detail-breadcrumb span:first-child:hover {
  color: #FF9900;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--border-color);
}

.breadcrumb-current {
  color: #FF9900;
  font-weight: 700;
}

.detail-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(63, 181, 122, 0.15);
  border: 1px solid rgba(63, 181, 122, 0.35);
  color: #5CCB95;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.product-detail-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

/* Detail Hero Card */
.detail-hero-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.detail-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF9900, #FFAD33, #9AA3AE, #5CCB95);
}

.detail-hero-media {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  background: #E68A00;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

.detail-hero-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.detail-hero-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
}

.tag-marketplace {
  background: rgba(255, 153, 0, 0.15);
  border: 1px solid rgba(255, 153, 0, 0.35);
  color: #FF9900;
}

.tag-category {
  background: rgba(154, 163, 174, 0.15);
  border: 1px solid rgba(154, 163, 174, 0.35);
  color: #9AA3AE;
}

.tag-updated {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
}

.detail-product-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.45;
  margin: 2px 0 6px 0;
  word-break: break-word;
}

.detail-identifiers-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.detail-id-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-id-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.detail-id-val-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-id-text {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
}

.text-sku {
  color: #FF9900;
}

.text-asin {
  color: #E3C74A;
}

.text-stock {
  color: #5CCB95;
}

/* Detail Cards Grid */
.detail-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.detail-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.icon-brand { background: rgba(154, 163, 174, 0.15); color: #9AA3AE; border: 1px solid rgba(154, 163, 174, 0.3); }
.icon-rating { background: rgba(227, 199, 74, 0.15); color: #EBD36B; border: 1px solid rgba(227, 199, 74, 0.3); }
.icon-cost { background: rgba(229, 83, 75, 0.15); color: #F0766F; border: 1px solid rgba(229, 83, 75, 0.3); }
.icon-profit { background: rgba(63, 181, 122, 0.15); color: #5CCB95; border: 1px solid rgba(63, 181, 122, 0.3); }
.icon-margin { background: rgba(255, 153, 0, 0.15); color: #FF9900; border: 1px solid rgba(255, 153, 0, 0.35); }

.detail-card-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.detail-card-sub {
  font-size: 11.5px;
  color: var(--text-dim);
}

.detail-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.detail-metric-hero {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.detail-metric-sub {
  font-size: 12.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-top: 2px;
}

/* Info List inside Cards */
.detail-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.detail-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  gap: 12px;
}

.detail-info-item .info-k {
  color: var(--text-muted);
  font-weight: 500;
}

.detail-info-item .info-v {
  color: var(--text-main);
  font-weight: 700;
  font-family: var(--font-mono);
  text-align: right;
}

/* Rating Card specifics */
.detail-rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rating-score-badge {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: #EBD36B;
  background: rgba(227, 199, 74, 0.12);
  border: 1px solid rgba(227, 199, 74, 0.3);
  border-radius: 12px;
  padding: 4px 14px;
}

.rating-stars-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stars-gold {
  color: #E3C74A;
  font-size: 16px;
  letter-spacing: 2px;
}

.rating-count-text {
  font-size: 11.5px;
  color: var(--text-dim);
}

/* Profit Margin Card specifics */
.detail-margin-hero-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-margin-pill {
  padding: 6px 16px;
  background: #16a34a;
  border: 1px solid #3FB57A;
  border-radius: 20px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.detail-margin-eval {
  font-size: 13px;
  font-weight: 700;
  color: #5CCB95;
}

.detail-progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 14px;
}

.detail-progress-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #3FB57A, #3FB57A, #FF9900);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-formula-box {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(255, 153, 0, 0.08);
  border: 1px solid rgba(255, 153, 0, 0.2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.formula-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #FF9900;
  text-transform: uppercase;
}

.formula-text {
  font-size: 11.5px;
  color: #B8C0CA;
  font-family: var(--font-mono);
}

@media (max-width: 768px) {
  .detail-hero-card {
    flex-direction: column;
    text-align: center;
  }
  .detail-hero-media {
    margin: 0 auto;
  }
  .detail-tags-row,
  .detail-identifiers-row {
    justify-content: center;
  }
  .detail-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Collapsible Inventory Advanced Filter Panel & Dynamic Saved Tabs
   ========================================================================== */

.inv-filter-collapse-panel {
  background: #111418;
  border: 1px solid #1B1F26;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: slideDownFilterPanel 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownFilterPanel {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inv-filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-card-sub);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 12px;
}

.inv-filter-panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inv-filter-panel-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(227, 199, 74, 0.12);
  color: #EBD36B;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inv-filter-panel-icon svg {
  width: 17px;
  height: 17px;
}

.inv-filter-panel-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.inv-filter-panel-subtitle {
  font-size: 12px;
  color: #9AA3AE;
  margin-top: 1px;
}

.inv-filter-panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inv-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  padding: 20px 22px;
  background: rgba(17, 20, 24, 0.7);
}

@media (max-width: 1240px) {
  .inv-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .inv-filter-grid {
    grid-template-columns: 1fr;
  }
}

.inv-filter-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  min-height: 56px;
  border-radius: 12px;
  background: rgba(27, 31, 38, 0.45);
  border: 1px solid rgba(154, 163, 174, 0.12);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.inv-filter-toggle-row:hover {
  background: rgba(38, 43, 51, 0.55);
  border-color: rgba(255, 153, 0, 0.35);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.inv-filter-toggle-row.active {
  background: rgba(63, 181, 122, 0.12);
  border-color: rgba(63, 181, 122, 0.45);
  box-shadow: 0 3px 12px rgba(63, 181, 122, 0.16);
}

.inv-filter-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.inv-filter-icon-box {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.inv-filter-toggle-row.active .inv-filter-icon-box {
  background: rgba(63, 181, 122, 0.22);
  border-color: rgba(63, 181, 122, 0.4);
  box-shadow: 0 0 10px rgba(63, 181, 122, 0.2);
}

.inv-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #B8C0CA;
  letter-spacing: -0.1px;
  line-height: 1.35;
  transition: color 0.2s;
  flex: 1;
}

.inv-filter-toggle-row:hover .inv-filter-label {
  color: #ffffff;
}

.inv-filter-toggle-row.active .inv-filter-label {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(63, 181, 122, 0.25);
}

/* User Toggle Switch Component */
.inv-filter-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-left: auto;
}

.inv-filter-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.inv-filter-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #1B1F26;
  border-radius: 24px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.inv-filter-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #6B7480;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.inv-filter-switch input:checked + .inv-filter-slider {
  background: linear-gradient(135deg, #3FB57A 0%, #059669 100%);
  border-color: #5CCB95;
  box-shadow: 0 0 10px rgba(63, 181, 122, 0.45);
}

.inv-filter-switch input:checked + .inv-filter-slider::before {
  transform: translateX(20px);
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.inv-filter-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  background: #111418;
  border-top: 1px solid #1B1F26;
  font-size: 12.5px;
  color: #9AA3AE;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 153, 0, 0.1);
  border: 1px solid rgba(255, 153, 0, 0.25);
  color: #FF9900;
  font-weight: 700;
  font-size: 11.5px;
}

/* Modal for Saving Custom Filter */
.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog-custom {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-custom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-card-inner);
  border-bottom: 1px solid var(--border-color);
}

.modal-custom-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-custom-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: all 0.15s;
}

.modal-custom-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.modal-custom-body {
  padding: 24px;
}

.modal-custom-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.modal-custom-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #B8C0CA;
}

.custom-modal-input {
  width: 100%;
  background: #0E1013;
  border: 1px solid #262B33;
  border-radius: 10px;
  padding: 11px 14px;
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.custom-modal-input:focus {
  border-color: #FF9900;
  box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.25);
  background: #15181D;
}

.active-criteria-preview-box {
  background: rgba(21, 24, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
}

.criteria-preview-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #9AA3AE;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.active-criteria-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
}

.criteria-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(63, 181, 122, 0.15);
  border: 1px solid rgba(63, 181, 122, 0.3);
  color: #5CCB95;
  border-radius: 6px;
}

.modal-custom-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  background: #0E1013;
  border-top: 1px solid #1B1F26;
}

/* Dynamic Custom Saved Filter Tab Button (Lowest Adayları vb.) */
.inv-tab-btn.inv-custom-filter-tab {
  background: rgba(21, 24, 29, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  padding: 7px 10px;
  color: var(--text-dim);
}

.inv-tab-btn.inv-custom-filter-tab:hover {
  background: rgba(27, 31, 38, 0.8);
  border-color: rgba(255, 153, 0, 0.3);
  color: #E6E8EB;
}

.inv-tab-btn.inv-custom-filter-tab.active {
  background: rgba(227, 199, 74, 0.12);
  border-color: rgba(227, 199, 74, 0.38);
  color: #EBD36B;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.inv-tab-btn.inv-custom-filter-tab.active .inv-tab-title {
  color: #EBD36B;
}

.inv-tab-btn.inv-custom-filter-tab.active .inv-tab-badge {
  background: rgba(227, 199, 74, 0.25);
  color: #EBD36B;
  border-color: rgba(227, 199, 74, 0.4);
}

.custom-tab-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #9AA3AE;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  margin-left: 4px;
  padding: 0;
  box-sizing: border-box;
}

.custom-tab-delete-btn svg {
  display: block;
  pointer-events: none;
}

.custom-tab-delete-btn:hover {
  background: rgba(229, 83, 75, 0.85);
  color: #ffffff;
  border-color: #ef4444;
  transform: scale(1.15);
  box-shadow: 0 0 8px rgba(229, 83, 75, 0.6);
}

/* ==========================================================================
   AŞAMA 1: STORE SWITCHER & USER ROLE PROFILES & FINANCIAL SETTLEMENT
   ========================================================================== */
.store-switcher-box, .user-role-box {
  position: relative;
}

.store-switcher-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 20, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-switcher-trigger:hover {
  background: rgba(27, 31, 38, 0.95);
  border-color: rgba(255, 153, 0, 0.4);
}

.store-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.store-flag-img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.14);
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-switcher-trigger:hover .store-flag-img {
  transform: scale(1.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 153, 0, 0.4);
}

.store-info-text, .user-info-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-active-name, .user-active-name {
  font-size: 13px;
  font-weight: 700;
  color: #E6E8EB;
  letter-spacing: -0.2px;
}

.store-active-badge {
  font-size: 11px;
  color: #9AA3AE;
  font-weight: 500;
}

.dropdown-chevron-svg {
  width: 16px;
  height: 16px;
  color: #9AA3AE;
  transition: transform 0.2s ease;
}

.store-switcher-box.open .dropdown-chevron-svg,
.user-role-box.open .dropdown-chevron-svg {
  transform: rotate(180deg);
}

/* Dropdown Menus */
.store-switcher-dropdown, .user-role-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 290px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  z-index: 1000;
  backdrop-filter: blur(16px);
  padding: 8px;
  animation: fadeInDown 0.15s ease-out;
}

.user-role-dropdown {
  left: auto;
  right: 0;
  min-width: 260px;
}

.store-switcher-box.open .store-switcher-dropdown,
.user-role-box.open .user-role-dropdown {
  display: block;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7480;
  border-bottom: 1px solid rgba(154, 163, 174, 0.1);
  margin-bottom: 4px;
}

.store-item-btn, .user-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #D3D8DE;
  text-align: left;
}

.store-item-btn:hover, .user-item-btn:hover {
  background: rgba(27, 31, 38, 0.9);
}

.store-item-btn.active, .user-item-btn.active {
  background: rgba(255, 153, 0, 0.12);
  border: 1px solid rgba(255, 153, 0, 0.3);
}

.store-item-left, .user-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-item-title, .user-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #E6E8EB;
}

.store-item-sub, .user-item-sub {
  font-size: 11px;
  color: #9AA3AE;
}

.store-item-check {
  color: #FF9900;
  font-weight: 700;
  font-size: 14px;
}

/* User Trigger */
.user-role-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 20, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-role-trigger:hover {
  background: rgba(27, 31, 38, 0.95);
  border-color: rgba(255, 153, 0, 0.4);
}

.user-avatar-badge {
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: -3px; /* Optik dengeleme: Windows Segoe UI Emoji taç glifini kusursuz dikey ortalar */
}

.role-badge-admin {
  color: #EBD36B;
  font-weight: 700;
  font-size: 11px;
}

.role-badge-owner {
  color: #FF9900;
  font-weight: 700;
  font-size: 11px;
}

.role-badge-staff {
  color: #5CCB95;
  font-weight: 700;
  font-size: 11px;
}

/* Secret Admin Card */
.secret-admin-card {
  border: 1px solid rgba(234, 179, 8, 0.35) !important;
  background: linear-gradient(135deg, rgba(27, 31, 38, 0.5) 0%, rgba(21, 24, 29, 0.8) 100%) !important;
  position: relative;
  overflow: hidden;
}

.secret-admin-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #eab308, #E3C74A, #ec4899);
}

.secret-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #EBD36B;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Toggle Switch */
.toggle-switch-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #2A3039;
  transition: .3s;
  border-radius: 26px;
  border: 1px solid rgba(154, 163, 174, 0.2);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #eab308;
  border-color: #facc15;
}

input:checked + .toggle-slider:before {
  transform: translateX(22px);
  background-color: #15181D;
}

/* Capital Selector in Orders Table */
.capital-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.capital-badge-cash {
  background: rgba(63, 181, 122, 0.12);
  color: #5CCB95;
  border-color: rgba(63, 181, 122, 0.25);
}

.capital-badge-cash:hover {
  background: rgba(63, 181, 122, 0.25);
}

.capital-badge-card {
  background: rgba(227, 199, 74, 0.15);
  color: #EBD36B;
  border-color: rgba(227, 199, 74, 0.35);
}

.capital-badge-card:hover {
  background: rgba(227, 199, 74, 0.28);
}

/* Multi-Store Navigation Tabs in Settings */
.store-nav-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(154, 163, 174, 0.12);
  padding-bottom: 10px;
  overflow-x: auto;
}

.store-tab-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid rgba(154, 163, 174, 0.15);
  background: rgba(21, 24, 29, 0.6);
  color: #9AA3AE;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.store-tab-pill:hover {
  background: rgba(27, 31, 38, 0.8);
  color: #D3D8DE;
}

.store-tab-pill.active {
  background: rgba(255, 153, 0, 0.14);
  border-color: #FF9900;
  color: #FF9900;
  box-shadow: 0 0 16px rgba(255, 153, 0, 0.2);
}

/* Settlement Financial Card */
.settlement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
}

.settlement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.settlement-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 14px;
}

.settlement-stat-box.highlight-agency {
  border-color: rgba(154, 163, 174, 0.25);
  background: rgba(154, 163, 174, 0.06);
}

.settlement-stat-box.highlight-owner {
  border-color: rgba(227, 199, 74, 0.25);
  background: rgba(227, 199, 74, 0.06);
}

.settlement-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #9AA3AE;
}

.settlement-stat-val {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
  color: #E6E8EB;
}

/* ==========================================================================
   PASSWORD LOGIN OVERLAY / LOCKSCREEN STYLES
   ========================================================================== */
.login-lock-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 20, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}

.login-lock-card {
  background: linear-gradient(135deg, rgba(17, 20, 24, 0.98) 0%, rgba(17, 20, 24, 0.99) 100%);
  border: 1px solid rgba(255, 153, 0, 0.25);
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 153, 0, 0.15);
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.login-lock-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF9900, #C9AF3A, #FF9900);
}

.login-lock-logo {
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-lock-title {
  font-size: 22px;
  font-weight: 800;
  color: #E6E8EB;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.login-lock-subtitle {
  font-size: 13px;
  color: #9AA3AE;
  margin-bottom: 24px;
}

.login-lock-body {
  text-align: left;
}

.login-lock-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #B8C0CA;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.login-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.login-lock-input {
  width: 100%;
  padding: 14px 44px 14px 16px;
  background: rgba(21, 24, 29, 0.9);
  border: 1px solid rgba(154, 163, 174, 0.25);
  border-radius: 10px;
  color: #E6E8EB;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.login-lock-input:focus {
  outline: none;
  border-color: #FF9900;
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.25);
}

.btn-toggle-pw {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 4px;
}

.btn-toggle-pw:hover {
  opacity: 1;
}

.login-lock-error {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(229, 83, 75, 0.12);
  border: 1px solid rgba(229, 83, 75, 0.35);
  border-radius: 8px;
  color: #F0766F;
  font-size: 12.5px;
  line-height: 1.4;
  animation: shake 0.3s cubic-bezier(.36,.07,.19,.97) both;
}

.login-submit-btn {
  width: 100%;
  margin-top: 18px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.login-lock-footer-note {
  margin-top: 20px;
  text-align: center;
  font-size: 11.5px;
  color: #6B7480;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* ==========================================================================
   AŞAMA 5 FRONT-END GÜNCELLEMELERİ (GÖRSEL 1, 2, 3 UYARLAMALARI)
   ========================================================================== */

/* 1. Dashboard Chart & Envanter Durumu Grid (Req 1) */
.dashboard-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.order-route-map-card {
  margin: 0 0 24px;
  padding: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.order-route-map-header,
.order-route-map-legend,
.order-route-map-legend span,
.order-route-map-footer {
  display: flex;
  align-items: center;
}

.order-route-map-header {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.order-route-map-icon {
  color: var(--color-primary);
  background: var(--color-primary-glow);
}

.order-route-map-legend {
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 11px;
}

.order-route-map-legend span { gap: 6px; }
.order-route-map-legend strong { color: var(--text-main); font-size: 11px; }
.route-legend-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; }
.route-legend-warehouse { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .75); }
.route-legend-customer { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .65); }

.order-route-map-canvas {
  position: relative;
  min-height: 390px;
  margin: 12px -6px 0;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--bg-card-inner);
  background-image: linear-gradient(rgba(255, 153, 0, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 153, 0, .025) 1px, transparent 1px), radial-gradient(ellipse at 52% 45%, rgba(255, 153, 0, .035), transparent 62%);
  background-size: 44px 44px, 44px 44px, auto;
}

.order-route-map-svg { display: block; width: 100%; height: 100%; min-height: 390px; }
.route-map-land { fill: #15181D; stroke: #414957; stroke-width: 1.15; vector-effect: non-scaling-stroke; }
.route-map-grid-line { stroke: rgba(154, 163, 174, .08); stroke-width: .7; vector-effect: non-scaling-stroke; }
.route-map-label { fill: var(--text-muted); font: 600 11px var(--font-sans, Arial, sans-serif); letter-spacing: 1.4px; }
.route-map-region-label { fill: rgba(184, 192, 202, .45); font: 700 10px var(--font-sans, Arial, sans-serif); letter-spacing: 2px; }
.route-map-state-boundary,
.route-map-neighbor-boundary { fill: none; stroke: rgba(184, 192, 202, .24); stroke-width: .72; vector-effect: non-scaling-stroke; pointer-events: none; }
.route-map-neighbor-boundary { stroke: rgba(184, 192, 202, .16); stroke-width: .68; }
.route-map-texas-boundary { stroke: rgba(255, 153, 0, .52); stroke-width: 1.05; }
.route-map-state-label { fill: rgba(184, 192, 202, .58); font: 600 5.3px var(--font-sans, Arial, sans-serif); text-anchor: middle; dominant-baseline: central; letter-spacing: .04px; paint-order: stroke; stroke: rgba(14, 16, 19, .78); stroke-width: 1.3px; stroke-linejoin: round; pointer-events: none; }
.route-map-texas-label { fill: var(--color-primary); font-size: 7.2px; font-weight: 800; letter-spacing: .8px; }
.route-map-route { fill: none; stroke: #fff; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .55)); stroke-width: 1.35; stroke-dasharray: 5 7; opacity: .78; vector-effect: non-scaling-stroke; animation: route-map-flow 2.4s linear infinite; }
.route-map-order-halo { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .72); stroke-width: 1; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .7)); vector-effect: non-scaling-stroke; }
.route-map-order-dot { fill: #fff; stroke: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9)); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.route-map-order-count { fill: var(--text-main); font: 700 9px var(--font-sans, Arial, sans-serif); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.route-map-warehouse-pulse { fill: rgba(255, 255, 255, .16); stroke: rgba(255, 255, 255, .82); filter: drop-shadow(0 0 6px rgba(255, 255, 255, .85)); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: route-map-pulse 2s ease-out infinite; vector-effect: non-scaling-stroke; }
.route-map-warehouse-core { fill: #fff; stroke: #fff; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .95)); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.route-map-order { cursor: default; }
.order-route-map-loading,
.order-route-map-empty { min-height: 390px; display: grid; place-items: center; padding: 24px; color: #9AA3AE; font-size: 13px; text-align: center; }
.order-route-map-footer { justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 10px 2px 0; color: var(--text-dim); font-size: 10px; line-height: 1.5; }
.order-route-map-footer a { color: var(--color-primary); text-decoration: none; }
.order-route-map-footer a:hover { text-decoration: underline; }

@keyframes route-map-flow { to { stroke-dashoffset: -48; } }
@keyframes route-map-pulse { 0% { transform: scale(.55); opacity: .95; } 100% { transform: scale(1.75); opacity: 0; } }

@media (max-width: 680px) {
  .order-route-map-card { padding: 15px 12px 12px; }
  .order-route-map-canvas, .order-route-map-svg, .order-route-map-loading, .order-route-map-empty { min-height: 290px; }
  .order-route-map-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 1100px) {
  .dashboard-analytics-grid {
    grid-template-columns: 1fr;
  }
}

/* Chart Header Range Filter Pills (Req 9) */
.chart-range-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(21, 24, 29, 0.6);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(154, 163, 174, 0.15);
  flex-wrap: wrap;
}

.chart-range-pill {
  background: transparent;
  border: none;
  color: #9AA3AE;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.chart-range-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.chart-range-pill.active {
  background: rgba(255, 153, 0, 0.2);
  color: #FF9900;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(255, 153, 0, 0.2);
}

/* Envanter Durumu Kartı (Görsel 1) */
.dashboard-inventory-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.dash-inv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dash-inv-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-inv-title {
  font-size: 14px;
  font-weight: 700;
  color: #E6E8EB;
  letter-spacing: -0.2px;
}

.dash-inv-info-icon {
  font-size: 13px;
  color: #6B7480;
  cursor: help;
}

.dash-inv-rows-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-inv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.dash-inv-row:last-child {
  border-bottom: none;
}

.dash-inv-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-inv-icon {
  font-size: 14px;
  width: 18px;
  display: inline-flex;
  justify-content: center;
  color: #9AA3AE;
}

.dash-inv-label {
  font-size: 13px;
  font-weight: 500;
  color: #B8C0CA;
}

.text-inv-link {
  color: #FF9900 !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.text-inv-link:hover {
  color: #FFC266 !important;
  text-decoration: underline;
}

.dash-inv-row-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  flex-shrink: 0;
}

.dash-inv-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #E6E8EB;
  text-align: center;
  width: 100%;
}

.dash-inv-info-sub {
  font-size: 11px;
  color: #6B7480;
  margin-left: 2px;
}

/* Buybox Dairesel Yüzde Göstergesi (Vektörel Pürüzsüz Emerald SVG Halka) */
.dash-inv-gauge {
  width: 32px;
  height: 32px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(63, 181, 122, 0.08);
}

.dash-inv-gauge-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.dash-gauge-bg {
  fill: none;
  stroke: rgba(63, 181, 122, 0.18);
  stroke-width: 3.2;
}

.dash-gauge-bar {
  fill: none;
  stroke: #3FB57A;
  stroke-width: 3.2;
  stroke-linecap: round;
  transition: stroke-dasharray 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 3px rgba(63, 181, 122, 0.4));
}

.dash-inv-gauge-val {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: #E6E8EB;
  line-height: 1;
  text-align: center;
  letter-spacing: -0.3px;
}

/* 2. Envanter Tablosu 3'lü Fiyat & Rekabet Yapısı (Görsel 2) */
.inv-price-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.inv-price-floor {
  background: rgba(6, 78, 59, 0.7);
  border: 1px solid rgba(63, 181, 122, 0.35);
  color: #5CCB95;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.inv-price-current {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
}

.inv-price-ceiling {
  background: rgba(21, 24, 29, 0.8);
  border: 1px solid rgba(154, 163, 174, 0.2);
  color: #9AA3AE;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

/* Rekabet Kolonu Stack */
.inv-comp-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
  min-width: 125px;
}

.inv-comp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 10.5px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 0 0 0 5px;
  overflow: hidden;
}

.inv-comp-tag {
  font-weight: 700;
  color: #9AA3AE;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.inv-comp-val {
  color: #B8C0CA;
  font-size: 10.5px;
}
.inv-comp-val strong {
  color: #E6E8EB;
  font-weight: 700;
}

.inv-comp-badge {
  padding: 0 4px;
  border-radius: 0 3px 3px 0;
  margin: -1px -1px -1px auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  min-width: 20px;
  box-sizing: border-box;
}

.comp-badge-icon {
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.inv-comp-badge.comp-win {
  background: rgba(52, 211, 153, 0.16);
  color: #5CCB95;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.inv-comp-badge.comp-lose {
  background: rgba(229, 83, 75, 0.16);
  color: #F0766F;
  border: 1px solid rgba(229, 83, 75, 0.35);
}

.inv-comp-ss {
  font-weight: 700;
  color: #E3C74A;
}

.comp-prefix {
  padding: 2px 6px;
  font-weight: 700;
  color: #9AA3AE;
  background: rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(154, 163, 174, 0.15);
}

.comp-price-val {
  padding: 2px 6px;
  color: #E3C74A;
  font-weight: 600;
}

.comp-status-icon {
  padding: 2px 6px;
  font-weight: 800;
  border-left: 1px solid rgba(154, 163, 174, 0.15);
}

.comp-status-icon.status-no {
  color: #F0766F;
}

.comp-status-icon.status-yes {
  color: #5CCB95;
}

/* Marka & Handling Time Stack */
.inv-brand-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.inv-brand-name {
  font-size: 12px;
  font-weight: 600;
  color: #D3D8DE;
  border-left: 2px solid #3FB57A;
  padding-left: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.inv-hndl-time {
  font-size: 11.5px;
  color: #9AA3AE;
  padding-left: 8px;
}

/* 3. Siparişler Tablosu (Görsel 3) */
.tbl-sale-price-clean {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #E6E8EB;
  letter-spacing: -0.2px;
}

.tbl-profit-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tbl-profit-amount {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: #5CCB95;
}

.tbl-profit-pill {
  background: #064e3b;
  border: 1px solid rgba(63, 181, 122, 0.4);
  color: #5CCB95;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

/* Eksi Net Kâr / Kırmızı Uyarı (Req 13) */
.tbl-profit-amount.profit-negative,
.price-val-negative {
  color: #ef4444 !important;
}

.tbl-profit-pill.margin-negative {
  background: rgba(229, 83, 75, 0.18) !important;
  color: #F0766F !important;
  border-color: rgba(229, 83, 75, 0.45) !important;
}

.tbl-date-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tbl-date-main {
  font-size: 12px;
  font-weight: 600;
  color: #D3D8DE;
}

.tbl-date-relative {
  font-size: 11px;
  color: #6B7480;
}

.tbl-status-clean {
  font-size: 12.5px;
  font-weight: 700;
  color: #E6E8EB;
}

/* ==========================================================================
   Envanter Tablosu Açılır-Kapanır Kartlar (Satış Fiyatı, Giderler, Kâr & Rekabet)
   ========================================================================== */
.inv-card-accordion,
.inv-expenses-accordion {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 7px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  margin: 0 auto;
}

.inv-price-accordion {
  width: 100%;
  min-width: 200px;
}

.inv-expenses-accordion {
  width: 100%;
  min-width: 245px;
}

.inv-profit-accordion {
  width: 100%;
  min-width: 200px;
}

.inv-comp-accordion {
  width: 100%;
  min-width: 220px;
}

.inv-card-accordion[open],
.inv-expenses-accordion[open] {
  border-color: rgba(255, 153, 0, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  background: #0E1013;
}

.inv-card-summary,
.inv-exp-summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 18px 4px 7px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.15s ease;
  white-space: nowrap;
  box-sizing: border-box;
  width: 100%;
}

.inv-card-summary:hover,
.inv-exp-summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.inv-card-summary::-webkit-details-marker,
.inv-card-summary::marker,
.inv-exp-summary::-webkit-details-marker,
.inv-exp-summary::marker {
  display: none;
}

.inv-card-sum-left,
.inv-exp-sum-left {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.inv-comp-summary {
  padding: 3px 16px 3px 5px;
}

.inv-comp-sum-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.inv-comp-row-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  font-size: 9.5px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 0 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
}

.inv-card-arrow,
.inv-exp-arrow {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8.5px;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
  opacity: 0.85;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  line-height: 1;
}

.inv-card-accordion[open] .inv-card-arrow,
.inv-expenses-accordion[open] .inv-exp-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: #FF9900;
  opacity: 1;
}

.inv-card-details-body,
.inv-exp-details-body {
  padding: 6px 8px 7px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  transform-origin: top center;
  overflow: hidden;
  box-sizing: border-box;
}

/* Akıcı ve pürüzsüz (0.32s) yukarıdan aşağıya açılma animasyonu */
.inv-card-accordion[open] .inv-card-details-body,
.inv-expenses-accordion[open] .inv-exp-details-body {
  animation: cardAccordionOpenCenter 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.inv-card-accordion.is-closing .inv-card-details-body,
.inv-expenses-accordion.is-closing .inv-exp-details-body {
  animation: cardAccordionCloseCenter 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cardAccordionOpenCenter {
  0% {
    opacity: 0;
    transform: scaleY(0);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  60% {
    opacity: 0.9;
    transform: scaleY(1.02);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
    max-height: 140px;
    padding-top: 6px;
    padding-bottom: 7px;
  }
}

@keyframes cardAccordionCloseCenter {
  0% {
    opacity: 1;
    transform: scaleY(1);
    max-height: 140px;
    padding-top: 6px;
    padding-bottom: 7px;
  }
  100% {
    opacity: 0;
    transform: scaleY(0);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.inv-card-detail-row,
.inv-exp-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  white-space: nowrap;
  font-size: 9.5px;
  line-height: 1.35;
  width: 100%;
  box-sizing: border-box;
}

.inv-detail-label,
.inv-exp-label {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  color: #9AA3AE;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 9.5px;
}

.inv-detail-val,
.inv-exp-val {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-align: right;
}

.inv-expenses-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--bg-card);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.inv-profit-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-card);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.inv-margin-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Amazon US ve Amazon MX Pazar Yeri Yönlendirme Butonları (US / MX)
   ========================================================================== */
.inv-market-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 14px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.2s ease, 
              background 0.2s ease, 
              border-color 0.2s ease,
              filter 0.2s ease;
  transform: translateZ(0);
  will-change: transform;
}

/* Amazon.com (US) Butonu - Turuncu / Kehribar Zemin & Beyaz Yazı */
.inv-market-us {
  background: rgba(227, 199, 74, 0.22);
  border: 1px solid rgba(227, 199, 74, 0.45);
  color: #ffffff !important;
}

.inv-market-us:hover {
  transform: scale(1.18);
  background: rgba(227, 199, 74, 0.45);
  border-color: #EBD36B;
  box-shadow: 0 0 10px rgba(227, 199, 74, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
  filter: brightness(1.2);
  color: #ffffff !important;
}

/* Amazon.com.mx (MX) Butonu - Zümrüt / Adaçayı Zemin & Beyaz Yazı */
.inv-market-mx {
  background: rgba(63, 181, 122, 0.22);
  border: 1px solid rgba(63, 181, 122, 0.45);
  color: #ffffff !important;
}

.inv-market-mx:hover {
  transform: scale(1.18);
  background: rgba(63, 181, 122, 0.45);
  border-color: #5CCB95;
  box-shadow: 0 0 10px rgba(63, 181, 122, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
  filter: brightness(1.2);
  color: #ffffff !important;
}

/* ==========================================================================
   Envanter Sayfalama (Pagination) & Kuyruk Canlı İlerleme Çubuğu (Adım 5 & 6)
   ========================================================================== */
.inv-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(21, 24, 29, 0.7);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 12px 12px;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
}

.inv-page-info {
  font-weight: 600;
  color: var(--text-muted);
}

.inv-page-info strong {
  color: #E6E8EB;
}

.inv-page-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.inv-page-btn {
  background: rgba(27, 31, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
  min-width: 34px;
  text-align: center;
}

.inv-page-btn:hover:not(:disabled) {
  background: rgba(38, 43, 51, 0.9);
  color: #fff;
  border-color: rgba(255, 153, 0, 0.45);
  transform: translateY(-1px);
}

.inv-page-btn.active {
  background: linear-gradient(135deg, #FF9900 0%, #C9AF3A 100%) !important;
  color: #ffffff !important;
  border-color: #FF9900 !important;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.4);
}

.inv-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}

.inv-page-size-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inv-page-size-select {
  background: #15181D;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-bright);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

/* Envanter Tümünü Seçme Bildirim Çubuğu (Full Tab Selection Banner) */
.inv-select-banner {
  background: linear-gradient(90deg, rgba(230, 138, 0, 0.45) 0%, rgba(255, 153, 0, 0.35) 100%);
  border: 1px solid rgba(255, 153, 0, 0.45);
  border-radius: 8px;
  padding: 10px 18px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: #FFAD33;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.inv-select-banner a {
  color: #FFAD33;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s ease;
}

.inv-select-banner a:hover {
  color: #FFC266;
}

.inv-select-banner .btn-clear-selection {
  color: #F0766F;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 8px;
}

.inv-select-banner .btn-clear-selection:hover {
  color: #F4A29D;
}

/* Kuyruk Canlı İlerleme Kartı */
.queue-progress-card {
  background: rgba(27, 31, 38, 0.45);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.queue-progress-track {
  height: 14px;
  background: rgba(21, 24, 29, 0.8);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.queue-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF9900 0%, #FF9900 50%, #3FB57A 100%);
  border-radius: 9999px;
  transition: width 0.4s ease;
  box-shadow: 0 0 12px rgba(255, 153, 0, 0.5);
}

/* ==========================================================================
   Saatlik Otomatik Envanter & Fiyat Denetim Kartı (Mağazadaki Ürünler)
   ========================================================================== */
.hourly-sync-card {
  background: linear-gradient(135deg, rgba(27, 31, 38, 0.6) 0%, rgba(21, 24, 29, 0.8) 100%);
  border: 1px solid rgba(255, 153, 0, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.hourly-sync-card.is-running {
  border-color: rgba(227, 199, 74, 0.6);
  box-shadow: 0 0 20px rgba(227, 199, 74, 0.2);
  background: linear-gradient(135deg, rgba(40, 30, 20, 0.65) 0%, rgba(20, 15, 10, 0.85) 100%);
}

.hourly-sync-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hourly-sync-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.18), rgba(255, 153, 0, 0.32));
  border: 1px solid rgba(255, 153, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.2);
  flex-shrink: 0;
}

.hourly-sync-card.is-running .hourly-sync-icon-badge {
  background: linear-gradient(135deg, rgba(227, 199, 74, 0.2), rgba(255, 153, 0, 0.35));
  border-color: rgba(227, 199, 74, 0.5);
}

.hourly-sync-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hourly-sync-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hourly-sync-title {
  font-size: 14px;
  font-weight: 800;
  color: #E6E8EB;
  letter-spacing: -0.2px;
}

.hourly-sync-sub {
  font-size: 11.5px;
  color: #9AA3AE;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hourly-sync-center {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hourly-sync-countdown-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 24, 29, 0.9);
  border: 1px solid rgba(255, 153, 0, 0.35);
  padding: 6px 14px;
  border-radius: 9px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hourly-sync-card.is-running .hourly-sync-countdown-box {
  border-color: rgba(227, 199, 74, 0.5);
}

.hourly-sync-countdown-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #9AA3AE;
}

.hourly-sync-countdown-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  font-weight: 800;
  color: #FFAD33;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 153, 0, 0.45);
}

.hourly-sync-card.is-running .hourly-sync-countdown-val {
  color: #EBD36B;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.45);
}

.hourly-sync-stats-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hourly-sync-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-hourly-trigger {
  background: linear-gradient(135deg, #FF9900, #FF9900);
  border: 1px solid rgba(255, 173, 51, 0.45);
  color: #ffffff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
}

.btn-hourly-trigger:hover:not(:disabled) {
  background: linear-gradient(135deg, #FF9900, #FF9900);
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.5);
  transform: translateY(-1px);
}

.btn-hourly-trigger:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  background: #2A3039;
  border-color: #4A525C;
  color: #9AA3AE;
  box-shadow: none;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
}

/* Amazon SP-API Onay Kontrolü İlerleme Çubuğu ve Animasyonları */
.spapi-progress-track {
  height: 6px;
  background: rgba(27, 31, 38, 0.8);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spapi-progress-bar-animated {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #3FB57A 0%, #FFAD33 50%, #3FB57A 100%);
  background-size: 200% 100%;
  border-radius: 9999px;
  animation: spapiShimmer 1.5s infinite linear;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.5);
}

@keyframes spapiShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.btn-spapi-approval.is-loading {
  background: linear-gradient(135deg, #0d9488, #0f766e) !important;
  cursor: wait !important;
  opacity: 0.8 !important;
  pointer-events: none;
}

.spapi-badge-loading {
  animation: pulseAmber 1.2s infinite ease-in-out;
}

@keyframes pulseAmber {
  0%, 100% { opacity: 0.7; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); }
}




/* Every selected day stays inside the dashboard; details remain in the tooltip. */
.dashboard-chart-card { min-width: 0; }
#dailyOrdersChartContainer {
  display: grid; grid-template-columns: repeat(var(--chart-days, 7), minmax(0, 1fr));
  align-items: start; gap: 0; overflow: hidden; padding-left: 24px; padding-right: 24px;
}
#dailyOrdersChartContainer .chart-col-wrap { min-width: 0; max-width: none; width: 100%; }
#dailyOrdersChartContainer .chart-pillar-track { width: min(52px, 80%); box-sizing: border-box; padding: 0; }
#dailyOrdersChartContainer .chart-pillar-bar { min-height: 0; }
#dailyOrdersChartContainer .chart-col-amount { display: none; }
#dailyOrdersChartContainer.chart-dense .chart-bar-badge { visibility: hidden; height: 25px; padding: 0; margin-bottom: 12px; }
#dailyOrdersChartContainer.chart-dense .chart-col-date { font-size: 10px; }
#dailyOrdersChartContainer .chart-col-wrap:hover { transform: translateY(-4px); }

.chart-header-right, .chart-range-selector { flex-wrap: wrap; }
#billingPeriodSelect { max-width: 100%; background: #15181D; color: #D3D8DE; border: 1px solid #2A3039; border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 11px; }

.order-shipping-choice { position:relative; margin:4px 0 8px; font-size:12px; }
.order-shipping-choice summary { cursor:pointer; color:#EBD36B; border:1px solid #665023; border-radius:6px; padding:6px 8px; list-style:none; width:max-content; }
.shipping-choice-menu { position:fixed; z-index:80; top:100%; left:0; width:310px; max-width:70vw; max-height:300px; overflow:auto; padding:8px; border:1px solid #4A525C; border-radius:8px; background:#15181D; box-shadow:0 8px 24px #0008; }
.shipping-choice-menu button { display:block; width:100%; padding:9px; text-align:left; border:0; border-bottom:1px solid #2A3039; background:transparent; color:#D3D8DE; cursor:pointer; }
.shipping-choice-menu button:hover { background:#2A3039; }
.shipping-choice-menu strong { white-space:nowrap; color:#5CCB95; }
.shipping-choice-menu small,.shipping-choice-note { display:block; color:#9AA3AE; font-size:10px; margin-top:5px; }

/* Order editor and table: header and body share the same eleven-column layout. */
#ordersTable {width:100%;table-layout:auto;}
#ordersTable th {white-space:nowrap;font-size:11px;}
#ordersTable td:nth-child(2) {min-width:240px;}
#ordersTable td:nth-child(n+3):nth-child(-n+8) {min-width:115px;}
#ordersTable td:nth-child(8) {overflow-wrap:anywhere;}
.order-edit-card {background:#15181D;border:1px solid #2A3039;border-radius:14px;width:min(780px,94vw);max-height:90vh;overflow:auto;padding:22px;color:#D3D8DE;box-shadow:0 24px 60px #0009;}
.order-edit-card header,.order-edit-card footer {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.order-edit-card header button {background:none;border:0;color:#B8C0CA;font-size:28px;cursor:pointer;}
.order-edit-card footer {justify-content:flex-end;margin-top:14px;}
.order-edit-identity {display:flex;gap:12px;padding:14px 0;line-height:1.6;font-size:12px;overflow-wrap:anywhere;}
.order-edit-identity img {width:60px;height:60px;object-fit:contain;background:white;border-radius:6px;}
.order-edit-identity strong {color:#FF9900;}
.order-edit-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.order-edit-grid label {display:flex;flex-direction:column;gap:6px;font-size:12px;}
.order-edit-grid input,.order-edit-grid select {width:100%;box-sizing:border-box;background:#1B1F26;color:#E6E8EB;border:1px solid #4A525C;border-radius:7px;padding:10px;}
.order-edit-card small,.order-edit-help {color:#9AA3AE;font-size:11px;}
.order-edit-profit {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;padding:14px;border:1px solid #2A3039;border-radius:8px;}
.order-edit-profit small {flex-basis:100%;}
#editOrderError {color:#F0766F;font-size:12px;}
.order-adjustment-note {display:block;color:#EBD36B;font-size:10px;line-height:1.5;}
@media(max-width:540px){.order-edit-grid{grid-template-columns:1fr;}}

/* Mağaza sahibi salt okunur: sipariş/finans düzenleme kontrolleri gizli (sunucu da engeller). */
body.role-owner .btn-card-del, body.role-owner #deleteSelectedOrdersBtn, body.role-owner [onclick^="openEditOrderFinancialsModal"],
body.role-owner [onclick^="toggleOrderCapital"], body.role-owner [onclick^="editBuyerOrderId"],
body.role-owner [data-quote], body.role-owner #btnSyncSpApiOrders { display: none !important; }
body.role-owner .carrier-select, body.role-owner .tracking-input, body.role-owner .order-status-select { pointer-events: none; opacity: .75; }
/* Bildirim türleri: hata mesajı kırmızı ve uzun süre görünür. */
#toast.toast-error { background: #b91c1c !important; color: #fff !important; }
#toast.toast-warning { background: #b45309 !important; color: #fff !important; }

/* Kâr marjı aralık filtreleri (Lowest / BuyBox satıcı kâr marjı) */
.inv-filter-range-row {
  cursor: default;
  flex-wrap: wrap;
  grid-column: span 2;
}
.inv-filter-range-hint {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #8A939E;
  margin-top: 2px;
}
.inv-filter-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.inv-filter-range-inputs label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #B8C0CA;
  white-space: nowrap;
}
.inv-filter-range-inputs input {
  width: 56px;
  padding: 5px 7px;
  border-radius: 7px;
  border: 1px solid rgba(154, 163, 174, 0.3);
  background: rgba(13, 16, 20, 0.6);
  color: #E6E8EB;
  font-size: 12.5px;
  font-family: var(--font-mono, monospace);
  text-align: right;
}
.inv-filter-range-inputs input:focus {
  outline: none;
  border-color: rgba(255, 153, 0, 0.6);
}
.inv-filter-range-clear {
  border: none;
  background: transparent;
  color: #F4A29D;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
@media (max-width: 720px) {
  .inv-filter-range-row { grid-column: auto; }
}
