/* ==========================================================================
   Save Order Information - Web Panel Dark Mode Stylesheet
   Modern, Ultra-Premium Dark Theme with Vibrant Accents & High Contrast
   ========================================================================== */

:root {
  --bg-main: #07090e;
  --bg-card: #0c0f16;
  --bg-card-sub: #10141e;
  --bg-card-inner: #080b11;
  --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: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --color-primary: #ff9900;
  --color-primary-hover: #ffad33;
  --color-primary-glow: rgba(255, 153, 0, 0.22);
  --color-blue: #ff9900;
  --color-emerald: #2ea97d;
  --color-rose: #f87171;
  --color-amber: #ff9900;
  --color-purple: #c084fc;

  --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: #191e2b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #252c3f;
}

/* App Layout */
.app-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.app-header {
  background: rgba(10, 13, 20, 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(245, 158, 11, 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(245, 158, 11, 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(245, 158, 11, 0.22));
}

/* ==========================================================================
   Header Navigation Bar (Üst Menü Sekmeleri)
   ========================================================================== */
.header-nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(14, 17, 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: #94a3b8;
  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: #94a3b8;
  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: #0c1017;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
  line-height: 1.2;
}

@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, #f59e0b 0%, #d97706 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 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(245, 158, 11, 0.12);
  color: #fbbf24;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 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: #6ee7b7;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  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%, #ea580c 100%);
  color: #0c1017;
  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: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f1f5f9;
  transform: translateY(-1px);
}

.btn-danger {
  background: rgba(248, 113, 113, 0.09);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.2);
}

.btn-danger:hover {
  background: rgba(248, 113, 113, 0.16);
  border-color: rgba(248, 113, 113, 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(46, 169, 125, 0.18);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(46, 169, 125, 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(245, 158, 11, 0.12); color: #fbbf24; }
.bg-blue { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.bg-rose { background: rgba(248, 113, 113, 0.12); color: #f87171; }
.bg-emerald { background: rgba(46, 169, 125, 0.1); color: #2ea97d; }

.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: #f59e0b; }
.text-rose { color: #f87171; }
.text-emerald { color: #2ea97d !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: #7dd3fc;
  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: #f1f5f9;
  margin-top: 1px;
}

.text-shipby {
  color: #fbbf24 !important;
}

.text-deliverby {
  color: #34d399 !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: #111622;
  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: #f8fafc;
  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: #fb7185;
}

.val-net {
  color: #34d399;
  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: #1a273f;
  border: 1px solid #2d3f63;
  color: #e2e8f0;
  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: #243454;
  border-color: #ff9900;
  color: #ffffff;
}

.btn-card-del {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: #fb7185;
  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: #cbd5e1;
  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: #94a3b8;
}

.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: #f1f5f9;
}

.pricing-sub-cur {
  font-size: 11px;
  color: #64748b;
  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: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 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: #cbd5e1;
  font-family: var(--font-mono);
}

.fee-pill strong {
  color: #f87171;
  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(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.32);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 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: #4ade80;
}

.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: #111622;
}

.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: #7dd3fc;
}

.tbl-date {
  font-weight: 600;
  white-space: nowrap;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #334155;
  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: #1e293b;
  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(239, 68, 68, 0.35);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
}

.filter-chip.chip-confirm-delayed:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: #ef4444;
}

.filter-chip.chip-confirm-delayed.active {
  background: rgba(239, 68, 68, 0.22);
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}

/* Delivery Delayed Chip */
.filter-chip.chip-delivery-delayed {
  border-color: rgba(220, 38, 38, 0.35);
  color: #f87171;
  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: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.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(239, 68, 68, 0.25);
  color: #fca5a5;
}

/* 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: #111827;
  color: #f8fafc;
}

/* 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(99, 102, 241, 0.16) !important;
  color: #a5b4fc !important;
  border-color: rgba(99, 102, 241, 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(245, 158, 11, 0.18) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
}

.status-musteri-para-iadesi-yapildi {
  background: rgba(244, 63, 94, 0.18) !important;
  color: #fb7185 !important;
  border-color: rgba(244, 63, 94, 0.45) !important;
}

.status-teslimatla-ilgili-problem-cikti {
  background: rgba(239, 68, 68, 0.22) !important;
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.55) !important;
}

.status-ilgilenmem-gerek {
  background: rgba(168, 85, 247, 0.2) !important;
  color: #c084fc !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
}

.status-siparis-musteriye-teslim-edildi {
  background: rgba(34, 197, 94, 0.18) !important;
  color: #4ade80 !important;
  border-color: rgba(34, 197, 94, 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: #94a3b8;
}

.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: #f1f5f9;
  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: #0d1321;
  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: #111a2e;
}

.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%, #ea580c 100%);
  color: #0c1017;
  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: #1e293b;
  color: var(--text-dim);
  border: 1px solid var(--border-color);
  opacity: 0.7;
}

.btn-tracking.disabled:hover {
  background: #24344d;
  color: var(--text-muted);
}

/* Delayed Highlighting & Warning Banners */
.order-card.delayed-confirm {
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 22px rgba(239, 68, 68, 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(239, 68, 68, 0.25);
}

.delay-alert-banner.alert-confirm {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 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(239, 68, 68, 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(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 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: #f1f5f9;
  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(245, 158, 11, 0.3);
  color: #fbbf24;
  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, #f59e0b 0%, #d97706 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(245, 158, 11, 0.12); color: #fbbf24; }
.icon-inventory { background: rgba(52, 211, 153, 0.12); color: #34d399; }
.icon-orders { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.icon-add { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; }
.icon-filter { background: rgba(192, 132, 252, 0.12); color: #c084fc; }
.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: #090e1a;
}

.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: #f59e0b;
}

/* 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(15, 23, 42, 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%, #ea580c 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%, #f59e0b 50%, #d97706 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%, #fbbf24 50%, #ea580c 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  filter: brightness(1.05);
}

.chart-col-date {
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
  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: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 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(168, 85, 247, 0.15); color: #c084fc; }
.bg-amber-subtle { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.bg-emerald-subtle { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.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(217, 119, 6, 0.14);
  border-color: rgba(217, 119, 6, 0.45);
  color: #f59e0b;
  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(217, 119, 6, 0.2);
  color: #fbbf24;
  border-color: rgba(217, 119, 6, 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(217, 119, 6, 0.14);
  color: #f59e0b;
  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(217, 119, 6, 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(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 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: #d97706;
  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: #d97706;
}

.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: #f1f5f9;
  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(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-rose {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-blue {
  background: rgba(217, 119, 6, 0.14);
  color: #f59e0b;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.badge-amber {
  background: rgba(217, 119, 6, 0.14);
  color: #f59e0b;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.delivery-tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  cursor: help;
  transition: transform 0.15s ease, color 0.15s ease;
}

.delivery-tooltip-trigger:hover {
  color: #f59e0b;
  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: #090e1a;
  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: #fbbf24;
  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(168, 85, 247, 0.14);
  color: #c084fc;
}

.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: #090e1a;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
  color: #f1f5f9;
  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: #090e1a;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}

.sku-input-row:focus-within {
  border-color: #c084fc;
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.25);
}

.sku-prefix-addon {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 14px;
  border-right: 1px solid rgba(168, 85, 247, 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(168, 85, 247, 0.08) 0%, rgba(255, 153, 0, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 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: #c084fc;
}

.preview-info-tag {
  font-size: 11px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
}

.sku-preview-code-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #090e1a;
  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: #cbd5e1;
}

.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(2, 132, 199, 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(2, 132, 199, 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: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 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(15, 23, 42, 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(30, 41, 59, 0.8);
  border-color: rgba(255, 153, 0, 0.3);
  color: #f8fafc;
  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(217, 119, 6, 0.12);
  border-color: rgba(245, 158, 11, 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: #6ee7b7;
  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(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 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(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.35);
  color: #fecdd3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Badge Color Classes */
.badge-blue {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 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: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.badge-rose {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 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(15, 23, 42, 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: #e2e8f0;
  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: #111622;
  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(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 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(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  color: #fbbf24;
  transition: all 0.2s ease;
}

.inv-asin-badge:hover {
  background: rgba(245, 158, 11, 0.22);
  color: #fde047;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 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: #f8fafc;
  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: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 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: #c084fc;
  box-shadow: 0 0 10px rgba(168, 85, 247, 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(239, 68, 68, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 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(245, 158, 11, 0.14);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 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(16, 185, 129, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 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(239, 68, 68, 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: #f87171;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 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(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.store-card-icon-box.icon-blacklist {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 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: #f1f5f9;
  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(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 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: #090e1a;
  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(168, 85, 247, 0.16) 0%, rgba(255, 153, 0, 0.08) 100%);
  border-color: #c084fc;
  box-shadow: 0 0 16px rgba(168, 85, 247, 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(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 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: #090e1a;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.pricer-formula-card {
  margin-top: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 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: #f1f5f9;
  background: #090e1a;
  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: #f1f5f9;
}

/* Blacklists */
.blacklist-panels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.blacklist-panel {
  background: #090e1a;
  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(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 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: #f1f5f9;
  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: #f87171;
  box-shadow: 0 0 12px rgba(239, 68, 68, 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(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 6px;
}

.bl-tag-del {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #fca5a5;
  line-height: 1;
}

.bl-tag-del:hover {
  color: #ffffff;
}

.bl-notice-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 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: #090e1a;
  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: #f8fafc;
  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: #f8fafc;
}

.cat-preset-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 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: #f8fafc;
  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: #090e1a;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 9px 12px;
  color: #f8fafc;
  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: #f8fafc;
  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(10, 14, 22, 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(19, 23, 34, 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: #f8fafc;
}

.cat-tree-tr-badge {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  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(239, 68, 68, 0.16);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.cat-tree-status-pill.partial {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.cat-tree-status-pill.clear {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.cat-tree-drawer {
  display: none;
  padding: 12px 14px 14px 14px;
  background: rgba(10, 13, 20, 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(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 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: #f8fafc;
  word-break: break-word;
}

.cat-subcat-card.blocked .cat-subcat-name {
  color: #fca5a5;
}

.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(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 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(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 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: #7dd3fc !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(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  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, #818cf8, #c084fc, #34d399);
}

.detail-hero-media {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  background: #0b1329;
  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(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.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: #f59e0b;
}

.text-stock {
  color: #4ade80;
}

/* 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(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.icon-rating { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.icon-cost { background: rgba(244, 63, 94, 0.15); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.3); }
.icon-profit { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 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: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 4px 14px;
}

.rating-stars-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stars-gold {
  color: #f59e0b;
  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 #22c55e;
  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: #4ade80;
}

.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, #10b981, #22c55e, #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: #cbd5e1;
  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: #0b1120;
  border: 1px solid #1e293b;
  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(245, 158, 11, 0.12);
  color: #fbbf24;
  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: #94a3b8;
  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(13, 20, 36, 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(30, 41, 59, 0.45);
  border: 1px solid rgba(148, 163, 184, 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(51, 65, 85, 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(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 3px 12px rgba(16, 185, 129, 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(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.inv-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  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(16, 185, 129, 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: #1e293b;
  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: #64748b;
  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, #10b981 0%, #059669 100%);
  border-color: #34d399;
  box-shadow: 0 0 10px rgba(16, 185, 129, 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: #080d16;
  border-top: 1px solid #1e293b;
  font-size: 12.5px;
  color: #94a3b8;
  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: #cbd5e1;
}

.custom-modal-input {
  width: 100%;
  background: #090e1a;
  border: 1px solid #283548;
  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: #131722;
}

.active-criteria-preview-box {
  background: rgba(15, 23, 42, 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: #94a3b8;
  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(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  border-radius: 6px;
}

.modal-custom-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  background: #090e1a;
  border-top: 1px solid #1e293b;
}

/* Dynamic Custom Saved Filter Tab Button (Lowest Adayları vb.) */
.inv-tab-btn.inv-custom-filter-tab {
  background: rgba(15, 23, 42, 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(30, 41, 59, 0.8);
  border-color: rgba(255, 153, 0, 0.3);
  color: #f8fafc;
}

.inv-tab-btn.inv-custom-filter-tab.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.38);
  color: #fbbf24;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.inv-tab-btn.inv-custom-filter-tab.active .inv-tab-title {
  color: #fbbf24;
}

.inv-tab-btn.inv-custom-filter-tab.active .inv-tab-badge {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 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: #94a3b8;
  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(239, 68, 68, 0.85);
  color: #ffffff;
  border-color: #ef4444;
  transform: scale(1.15);
  box-shadow: 0 0 8px rgba(239, 68, 68, 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(18, 22, 32, 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(30, 36, 50, 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: #f1f5f9;
  letter-spacing: -0.2px;
}

.store-active-badge {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.dropdown-chevron-svg {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  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: #64748b;
  border-bottom: 1px solid rgba(148, 163, 184, 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: #e2e8f0;
  text-align: left;
}

.store-item-btn:hover, .user-item-btn:hover {
  background: rgba(30, 41, 59, 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: #f8fafc;
}

.store-item-sub, .user-item-sub {
  font-size: 11px;
  color: #94a3b8;
}

.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(18, 22, 32, 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(30, 36, 50, 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: #fbbf24;
  font-weight: 700;
  font-size: 11px;
}

.role-badge-owner {
  color: #ff9900;
  font-weight: 700;
  font-size: 11px;
}

.role-badge-staff {
  color: #34d399;
  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(30, 27, 75, 0.5) 0%, rgba(15, 23, 42, 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, #f59e0b, #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: #fbbf24;
  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: #334155;
  transition: .3s;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 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: #0f172a;
}

/* 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(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

.capital-badge-cash:hover {
  background: rgba(16, 185, 129, 0.25);
}

.capital-badge-card {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.capital-badge-card:hover {
  background: rgba(245, 158, 11, 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(148, 163, 184, 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(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.store-tab-pill:hover {
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
}

.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(192, 132, 252, 0.25);
  background: rgba(192, 132, 252, 0.06);
}

.settlement-stat-box.highlight-owner {
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.06);
}

.settlement-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #94a3b8;
}

.settlement-stat-val {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
  color: #f8fafc;
}

/* ==========================================================================
   PASSWORD LOGIN OVERLAY / LOCKSCREEN STYLES
   ========================================================================== */
.login-lock-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 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(14, 18, 26, 0.98) 0%, rgba(10, 13, 20, 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, #ea580c, #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: #f8fafc;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.login-lock-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 24px;
}

.login-lock-body {
  text-align: left;
}

.login-lock-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #cbd5e1;
  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(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  color: #f8fafc;
  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(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  color: #f87171;
  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: #64748b;
}

@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;
}

@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(15, 23, 42, 0.6);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  flex-wrap: wrap;
}

.chart-range-pill {
  background: transparent;
  border: none;
  color: #94a3b8;
  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: #f1f5f9;
  letter-spacing: -0.2px;
}

.dash-inv-info-icon {
  font-size: 13px;
  color: #64748b;
  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: #94a3b8;
}

.dash-inv-label {
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
}

.text-inv-link {
  color: #ff9900 !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.text-inv-link:hover {
  color: #7dd3fc !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: #f8fafc;
  text-align: center;
  width: 100%;
}

.dash-inv-info-sub {
  font-size: 11px;
  color: #64748b;
  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(16, 185, 129, 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(16, 185, 129, 0.18);
  stroke-width: 3.2;
}

.dash-gauge-bar {
  fill: none;
  stroke: #10b981;
  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(16, 185, 129, 0.4));
}

.dash-inv-gauge-val {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: #f8fafc;
  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(16, 185, 129, 0.35);
  color: #34d399;
  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(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  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: #94a3b8;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.inv-comp-val {
  color: #cbd5e1;
  font-size: 10.5px;
}
.inv-comp-val strong {
  color: #f1f5f9;
  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: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.inv-comp-badge.comp-lose {
  background: rgba(248, 113, 113, 0.16);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.inv-comp-ss {
  font-weight: 700;
  color: #f59e0b;
}

.comp-prefix {
  padding: 2px 6px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(148, 163, 184, 0.15);
}

.comp-price-val {
  padding: 2px 6px;
  color: #f59e0b;
  font-weight: 600;
}

.comp-status-icon {
  padding: 2px 6px;
  font-weight: 800;
  border-left: 1px solid rgba(148, 163, 184, 0.15);
}

.comp-status-icon.status-no {
  color: #f87171;
}

.comp-status-icon.status-yes {
  color: #34d399;
}

/* Marka & Handling Time Stack */
.inv-brand-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.inv-brand-name {
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  border-left: 2px solid #22c55e;
  padding-left: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.inv-hndl-time {
  font-size: 11.5px;
  color: #94a3b8;
  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: #f8fafc;
  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: #34d399;
}

.tbl-profit-pill {
  background: #064e3b;
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #34d399;
  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(239, 68, 68, 0.18) !important;
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
}

.tbl-date-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tbl-date-main {
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
}

.tbl-date-relative {
  font-size: 11px;
  color: #64748b;
}

.tbl-status-clean {
  font-size: 12.5px;
  font-weight: 700;
  color: #f8fafc;
}

/* ==========================================================================
   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: #080b12;
}

.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: #94a3b8;
  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(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #ffffff !important;
}

.inv-market-us:hover {
  transform: scale(1.18);
  background: rgba(245, 158, 11, 0.45);
  border-color: #fbbf24;
  box-shadow: 0 0 10px rgba(245, 158, 11, 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(46, 169, 125, 0.22);
  border: 1px solid rgba(46, 169, 125, 0.45);
  color: #ffffff !important;
}

.inv-market-mx:hover {
  transform: scale(1.18);
  background: rgba(46, 169, 125, 0.45);
  border-color: #34d399;
  box-shadow: 0 0 10px rgba(46, 169, 125, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
  filter: brightness(1.2);
  color: #ffffff !important;
}
