/* Width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track (background) */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

/* Thumb (scroll handle) */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #33333342, #0000005e);
  border-radius: 3px;
  transition: 0.3s;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #555, #222);
}

.seller-top-meta {
  color: var(--admin-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-btn--ghost-light {
  background: #fff;
  color: var(--admin-text);
  border-color: var(--admin-border);
}

.admin-btn--ghost-light:hover {
  background: #f8fafc;
  border-color: var(--admin-accent);
  color: var(--admin-accent);
}

.seller-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.seller-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: capitalize;
}

.seller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.seller-form {
  display: grid;
  gap: 12px;
}

.seller-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-form input,
.seller-form select,
.seller-form textarea {
  width: 100%;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--admin-text);
}

.seller-form textarea {
  min-height: 94px;
  resize: vertical;
}

.seller-stock-input,
.seller-status-select,
.seller-badge-input {
  width: 100%;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  background: #fff;
  color: var(--admin-text);
}

.seller-stock-input:focus,
.seller-status-select:focus,
.seller-badge-input:focus {
  outline: none;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.14);
}

.seller-stock-input--readonly {
  background: #f1f5f9;
  cursor: not-allowed;
  color: #64748b;
}

.seller-variant-block {
  border: 1px dashed var(--admin-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #f8fafc;
}

.seller-variant-block__head {
  margin-bottom: 8px;
  color: var(--admin-text);
}

.seller-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.seller-variant-row {
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.seller-variant-row__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--admin-text);
  margin-bottom: 8px;
}

.seller-variant-row__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.seller-variant-row__fields label span {
  display: block;
  font-size: 0.75rem;
  color: var(--admin-text-muted);
  margin-bottom: 4px;
}

.seller-variant-summary-row td {
  background: #f8fafc;
  border-top: 1px solid var(--admin-border);
}

.seller-variant-cell {
  padding: 10px 14px !important;
  vertical-align: middle;
}

.seller-variant-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.seller-variant-summary__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.seller-variant-summary__label {
  font-weight: 800;
  color: var(--admin-text);
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}

.seller-variant-hint {
  font-size: 0.78rem;
  color: var(--admin-text-muted);
  font-weight: 500;
}

.seller-variant-open-btn--pill {
  font-weight: 700;
  flex-shrink: 0;
}

.seller-order-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.seller-order-meta-item {
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.seller-order-meta-item--wide {
  grid-column: 1 / -1;
}

.seller-order-meta-label {
  display: block;
  font-size: 0.76rem;
  color: var(--admin-text-muted);
  margin-bottom: 4px;
}

.seller-order-status-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.seller-order-status-form label {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-order-status-form select {
  min-width: 180px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  background: #fff;
  color: var(--admin-text);
}

.seller-order-detail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.seller-order-detail .seller-txn-card {
  margin-bottom: 0;
}

.seller-order-detail-page-head {
  align-items: flex-start;
}

.seller-order-detail-page-head .admin-page-head__actions {
  padding-top: 4px;
}

.seller-order-detail-page-head h1 {
  margin-bottom: 4px;
}

.seller-order-detail-page-kicker {
  margin: 0;
  font-size: 0.88rem;
  color: var(--admin-text-muted);
  font-weight: 500;
  line-height: 1.4;
}

.seller-order-detail-page-kicker strong {
  color: var(--admin-text);
  font-weight: 700;
}

.seller-order-detail-flash {
  margin: 0;
}

.seller-order-detail-status-pill {
  align-self: center;
}

.seller-order-detail-status-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seller-order-detail-return-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.4);
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}

/* .seller-order-detail-summary-body {
  padding-top: 4px;
} */

.seller-order-meta-grid--detail {
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.seller-order-meta-item--seller-total {
  border-color: rgba(229, 57, 53, 0.22);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.55) 0%, #fff 100%);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.seller-order-meta-value--break {
  word-break: break-word;
  font-weight: 600;
}

.seller-order-meta-value--money {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.seller-order-delivery-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.seller-order-delivery-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.seller-order-delivery-chip {
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.seller-order-delivery-chip--wide {
  grid-column: 1 / -1;
}

.seller-order-delivery-chip__label {
  display: block;
  font-size: 0.74rem;
  color: var(--admin-text-muted);
  margin-bottom: 4px;
}

.seller-order-delivery-chip__value {
  color: var(--admin-text, #0f172a);
  font-weight: 700;
}

.seller-order-delivery-chip__value--success {
  color: #15803d;
}

.seller-order-delivery-chip__value--warning {
  color: #b45309;
}

.seller-order-delivery-chip__value--info {
  color: #1d4ed8;
}

.seller-order-delivery-chip__value--danger {
  color: #b91c1c;
}

.seller-order-delivery-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.seller-order-delivery-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 10px;
  padding: 6px 2px 2px;
}

.seller-order-delivery-step__bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.seller-order-delivery-step__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #e5e7eb;
  transition: width 0.25s ease;
}

.seller-order-delivery-step__label {
  font-size: 0.96rem;
  color: var(--admin-text-muted);
  font-weight: 700;
}

.seller-order-delivery-step__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seller-order-delivery-step__time {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
}

.seller-order-delivery-step__label-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seller-order-delivery-step__spinner {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-top-color: #f59e0b;
  animation: seller-order-delivery-spin 0.9s linear infinite;
}

@keyframes seller-order-delivery-spin {
  to {
    transform: rotate(360deg);
  }
}

.seller-order-delivery-step--done .seller-order-delivery-step__bar-fill {
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #22c55e 0,
    #22c55e 8px,
    #16a34a 8px,
    #16a34a 16px
  );
}

.seller-order-delivery-step--done .seller-order-delivery-step__label {
  color: #15803d;
}

.seller-order-delivery-step--active .seller-order-delivery-step__bar-fill {
  width: 60%;
  background: repeating-linear-gradient(
    -45deg,
    #fbbf24 0,
    #fbbf24 10px,
    #f59e0b 10px,
    #f59e0b 20px
  );
}

.seller-order-delivery-step--active .seller-order-delivery-step__label {
  color: #b45309;
}

.seller-order-status-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  /* margin: 0 0 18px; */
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.9) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.seller-order-status-callout__icon {
  flex-shrink: 0;
  display: flex;
  color: var(--admin-accent);
  margin-top: 1px;
}

.seller-order-status-callout__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--admin-text-muted);
}

.seller-order-status-callout__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seller-order-status-track {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.seller-order-status-track__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.seller-order-status-track__badge--current {
  background: #e2e8f0;
  color: #334155;
}

.seller-order-status-track__badge--next {
  background: #dbeafe;
  color: #1d4ed8;
}

.seller-order-status-track__arrow {
  color: #64748b;
  font-weight: 700;
}

.seller-order-status-done-msg {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(100, 116, 139, 0.08);
  border: 1px dashed rgba(148, 163, 184, 0.45);
}

.seller-order-status-form--detail {
  align-items: flex-end;
  gap: 12px 16px;
  padding-top: 4px;
}

.seller-order-status-form--quick {
  justify-content: flex-end;
  margin-left: auto;
}

.seller-order-status-card__body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.seller-order-status-card__body .seller-order-status-callout {
  flex: 1 1 auto;
  margin: 0;
}

.seller-order-status-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 220px;
  max-width: 320px;
  min-width: 180px;
}

.seller-order-status-form--detail .seller-order-status-form__field label {
  width: auto;
}

.seller-order-status-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  min-width: 210px;
  border-width: 1px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

.seller-order-status-submit svg {
  flex-shrink: 0;
}

.seller-order-status-submit--confirmed {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.seller-order-status-submit--shipped {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.seller-order-status-submit--out {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
}

.seller-order-status-submit--delivered {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.seller-order-status-submit--confirmed:hover,
.seller-order-status-submit--shipped:hover,
.seller-order-status-submit--out:hover,
.seller-order-status-submit--delivered:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

@media (max-width: 640px) {
  .seller-order-status-form--detail {
    flex-direction: column;
    align-items: stretch;
  }

  .seller-order-status-form--quick {
    align-items: stretch;
    margin-left: 0;
    width: 100%;
    justify-content: stretch;
  }

  .seller-order-status-card__body {
    flex-direction: column;
    align-items: stretch;
  }

  .seller-order-status-submit {
    width: 100%;
    min-width: 0;
  }

  .seller-order-status-form__field {
    max-width: none;
  }

  .seller-order-detail-status-pill {
    align-self: flex-start;
  }
}

.seller-order-items-table-wrap {
  border-radius: 0 0 calc(var(--admin-radius, 10px) - 1px) calc(var(--admin-radius, 10px) - 1px);
}

.seller-order-items-table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--admin-text-muted);
}

.seller-order-items-th-num,
.seller-order-items-td-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.seller-order-items-td-line {
  font-weight: 800;
}

.seller-order-items-th-actions,
.seller-order-items-td-actions {
  width: 1%;
  text-align: right;
  white-space: nowrap;
}

.seller-order-items-td-item {
  min-width: 200px;
}

.seller-order-item-name-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.seller-order-item-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 1.05rem;
  line-height: 1;
}

.seller-order-item-title {
  font-size: 0.94rem;
  line-height: 1.35;
}

.seller-order-items-td-muted {
  color: var(--admin-text-muted);
  font-size: 0.88rem;
  max-width: 12rem;
}

.seller-order-items-empty-row td {
  text-align: center;
  padding: 28px 16px;
  color: var(--admin-text-muted);
  font-size: 0.9rem;
}

.seller-preview-btn--compact {
  padding: 6px 12px;
  font-size: 0.82rem;
}

.seller-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.seller-detail-item {
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.seller-detail-item span {
  display: block;
  font-size: 0.76rem;
  color: var(--admin-text-muted);
  margin-bottom: 4px;
}

.seller-detail-item strong {
  display: flex;
  font-size: 0.92rem;
  color: var(--admin-text);
  line-height: 1.4;
}

.seller-brand-media {
  display: block;
  width: 100%;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  object-fit: cover;
  background: #f8fafc;
}

.seller-brand-media--logo {
  max-width: 140px;
  aspect-ratio: 1 / 1;
}

.seller-brand-media--banner {
  max-width: 100%;
  min-height: 120px;
  max-height: 220px;
}

.seller-detail-item--wide {
  grid-column: 1 / -1;
}

.seller-withdraw-form {
  display: grid;
  gap: 12px;
}

.seller-withdraw-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: capitalize;
}

.seller-status-chip--pending {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.seller-status-chip--draft {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

.seller-products-draft-banner {
  margin-bottom: 16px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
}

.seller-status-chip--approved,
.seller-status-chip--paid,
.seller-status-chip--delivered {
  background: #ecfdf3;
  border-color: #86efac;
  color: #166534;
}

.seller-status-chip--shipped {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.seller-status-chip--inactive {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

.seller-status-chip--rejected,
.seller-status-chip--cancelled {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.seller-txn-amount--credit {
  color: #15803d;
  font-weight: 700;
}

.seller-txn-amount--debit {
  color: #b91c1c;
  font-weight: 700;
}

.seller-multi-select {
  min-height: 132px;
  padding: 8px 10px;
}

.seller-multi-select option {
  padding: 5px 6px;
}

.seller-form input:focus,
.seller-form select:focus,
.seller-form textarea:focus {
  outline: none;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.14);
}

.seller-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seller-actions {
  display: flex;
  justify-content: flex-end;
}

.seller-help {
  margin: 0;
  color: var(--admin-text-muted);
  font-size: 0.84rem;
}

.seller-alert {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.seller-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.seller-alert--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.seller-alert--warn {
  margin-bottom: 12px;
  border: 1px solid #f59e0b;
  background: #fff7ed;
  color: #9a3412;
}

.seller-alert--bottom {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1200;
  min-width: 260px;
  max-width: calc(100vw - 28px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.2);
}

.seller-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(100px);
  z-index: 1400;
  opacity: 0;
  min-width: 260px;
  max-width: calc(100vw - 28px);
  padding: 14px 28px;
  border-radius: 99px;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface);
  color: var(--admin-text);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  pointer-events: none;
}

.seller-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.seller-kpi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.seller-kpi-card {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.seller-kpi-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: currentColor;
  opacity: 1;
}

.seller-kpi-card__label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seller-kpi-card__value {
  margin-top: 6px;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.seller-kpi-card__hint {
  margin-top: 5px;
  font-size: 0.75rem;
  color: #64748b;
}

.seller-kpi-card__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(148, 163, 184, 0);
}

.seller-kpi-card--orders {
  color: #2563eb;
}

.seller-kpi-card--orders .seller-kpi-card__icon {
  background: rgba(37, 99, 235, 0.12);
}

.seller-kpi-card--revenue {
  color: #16a34a;
}

.seller-kpi-card--revenue .seller-kpi-card__icon {
  background: rgba(22, 163, 74, 0.12);
}

.seller-kpi-card--products {
  color: #7c3aed;
}

.seller-kpi-card--products .seller-kpi-card__icon {
  background: rgba(124, 58, 237, 0.12);
}

.seller-kpi-card--kpi-yellow {
  color: #ffc345;
}

.seller-kpi-card--kpi-yellow .seller-kpi-card__icon {
  background: rgba(202, 138, 4, 0.14);
}

.seller-kpi-card--kpi-orange {
  color: #ea580c;
}

.seller-kpi-card--kpi-orange .seller-kpi-card__icon {
  background: rgba(234, 88, 12, 0.14);
}

.seller-kpi-card--kpi-green {
  color: #16a34a;
}

.seller-kpi-card--kpi-green .seller-kpi-card__icon {
  background: rgba(22, 163, 74, 0.12);
}

.seller-kpi-card--returns-cancelled {
  color: #dc2626;
}

.seller-kpi-card--returns-cancelled .seller-kpi-card__icon {
  background: rgba(220, 38, 38, 0.12);
}

.seller-danger-card {
  border: 1px solid #fecaca;
}

.seller-danger-form {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.seller-danger-form label {
  display: block;
  width: 100%;
  margin-bottom: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9f1239;
}

.seller-danger-form input {
  flex: 1;
  min-width: 200px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.seller-btn-danger {
  border: 1px solid #dc2626;
  background: #dc2626;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.seller-btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.seller-product-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--admin-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--admin-text-muted);
  background: #fff;
  flex-shrink: 0;
}

.seller-product-list-sku {
  font-size: 0.84rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--admin-text, #0f172a);
  word-break: break-word;
}

html.admin-theme-dark .seller-product-list-sku {
  color: #e2e8f0;
}

.seller-product-thumb--placeholder {
  width: 56px;
  height: 56px;
  font-size: 1.65rem;
  line-height: 1;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 10px;
}

/* ----- Products page (catalogue) ----- */
.seller-products-page-head {
  align-items: flex-start;
}

.seller-products-subtitle {
  margin: 8px 0 0;
  max-width: 44rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
  font-weight: 500;
}

.seller-products-head-actions {
  align-self: flex-start;
  margin-top: 4px;
}

.seller-products-kpis {
  margin-top: 4px;
  margin-bottom: 8px;
}

.seller-products-rejected-banner {
  margin-bottom: 16px;
}

.seller-products-card {
  margin-top: 8px;
  overflow: hidden;
}

.seller-products-card-head {
  align-items: flex-start;
}

.seller-products-card-sub {
  margin-top: 4px;
  max-width: 36rem;
}

.seller-products-search {
  max-width: min(100%, 380px);
}

.seller-products-table-wrap {
  border-radius: 0 0 calc(var(--admin-radius, 10px) - 1px) calc(var(--admin-radius, 10px) - 1px);
}

.seller-products-table {
  min-width: 880px;
}

.seller-products-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  box-shadow: 0 1px 0 var(--admin-border);
}

.seller-products-th--id,
.seller-products-td--id {
  width: 56px;
  white-space: nowrap;
}

.seller-products-th--actions,
.seller-products-td--actions {
  width: 1%;
  white-space: nowrap;
}

.seller-products-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--admin-text-muted);
}

.seller-product-cell--main {
  min-width: 240px;
}

.seller-product-cell__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.seller-products-table .seller-product-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.seller-product-cell__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.seller-product-cell__name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--admin-text);
  line-height: 1.3;
}

.seller-product-cell__slug {
  font-size: 0.78rem;
  color: var(--admin-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}

.seller-product-cell__brand {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seller-product-cat-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  text-transform: capitalize;
}

.seller-product-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seller-product-price__sale {
  font-weight: 800;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--admin-text);
}

.seller-product-price__mrp {
  font-size: 0.75rem;
  color: var(--admin-text-muted);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.seller-stock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: rgba(15, 23, 42, 0.06);
  color: var(--admin-text);
}

.seller-stock-pill--low {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.seller-stock-pill--out {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.seller-stock-zero,
.seller-stock-low-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-stock-low-hint {
  color: #c2410c;
}

.seller-product-listing-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.seller-product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.seller-product-actions__btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.seller-product-actions__form {
  margin: 0;
}

.seller-product-status-form {
  margin: 0;
}

.seller-toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  user-select: none;
}

.seller-toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.seller-toggle-switch__track {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  transition: background-color 0.2s ease;
}

.seller-toggle-switch__track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.24);
  transition: transform 0.2s ease;
}

.seller-toggle-switch input:checked + .seller-toggle-switch__track {
  background: rgba(16, 185, 129, 0.95);
}

.seller-toggle-switch input:checked + .seller-toggle-switch__track::after {
  transform: translateX(16px);
}

.seller-products-emdash {
  color: var(--admin-text-muted);
  opacity: 0.65;
}

.seller-products-empty {
  text-align: center;
  padding: 48px 24px 44px;
  max-width: 400px;
  margin: 0 auto;
}

.seller-products-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
}

.seller-products-empty__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.seller-products-empty__text {
  margin: 0 0 22px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
}

.seller-products-no-match-cell {
  padding: 0 !important;
  border-bottom: none !important;
}

.seller-products-no-match-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 20px;
  text-align: left;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.seller-products-no-match-inner strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.seller-products-no-match-inner p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--admin-text-muted);
}

.seller-products-no-match-icon {
  flex-shrink: 0;
  display: flex;
  color: var(--admin-text-muted);
  opacity: 0.85;
}

@media (min-width: 900px) {
  .seller-product-actions {
    flex-direction: row;
    /* flex-wrap: wrap; */
  }

  .seller-product-actions__btn {
    width: auto;
    min-width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 720px) {
  .seller-products-kpis {
    grid-template-columns: 1fr;
  }

  .seller-products-head-actions {
    width: 100%;
    justify-content: stretch;
  }

  .seller-products-head-actions .admin-btn {
    flex: 1;
    justify-content: center;
  }
}

html.admin-theme-dark .seller-products-table thead th {
  background: linear-gradient(180deg, #222222 0%, #121212 100%);
  box-shadow: 0 1px 0 rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-product-thumb--placeholder {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

html.admin-theme-dark .seller-products-id {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

html.admin-theme-dark .seller-products-no-match-inner {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(18, 18, 18, 0.6) 100%);
}

.seller-option-list {
  display: inline-block;
  max-width: 200px;
  font-size: 0.78rem;
  color: var(--admin-text);
  line-height: 1.35;
}

.seller-option-list--muted {
  color: var(--admin-text-muted);
}

.seller-preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--admin-border);
  background: #fff;
  color: var(--admin-text);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.seller-preview-btn:hover {
  border-color: var(--admin-accent);
  color: var(--admin-accent);
}

.seller-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #be123c;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.seller-delete-btn:hover {
  border-color: #fda4af;
  background: #ffe4e6;
}

.seller-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.seller-edit-btn:hover {
  border-color: #93c5fd;
  background: #dbeafe;
}

.seller-details-icon {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.seller-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.seller-view-btn:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.seller-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.seller-card-head--inventory {
  flex-wrap: wrap;
  /* align-items: flex-start; */
}

.seller-inventory-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-width: min(100%, 280px);
}

.seller-orders-refresh-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.seller-orders-auto-refresh-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.82rem;
  color: var(--admin-text-muted);
  cursor: pointer;
  user-select: none;
}

.seller-orders-no-match-row td,
.seller-products-no-match-row td {
  text-align: center;
}

.seller-inventory-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: min(260px, 100%);
  max-width: 420px;
  padding: 6px 12px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: #fff;
  cursor: text;
}

.seller-inventory-search-wrap:focus-within {
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.seller-inventory-search-icon {
  display: flex;
  color: var(--admin-text-muted);
  flex-shrink: 0;
}

.seller-inventory-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  color: var(--admin-text);
  outline: none;
}

.seller-inventory-search-input::placeholder {
  color: var(--admin-text-muted);
}

.seller-products-date-filter-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seller-products-date-filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--admin-text-muted);
}

.seller-products-date-filter-select {
  min-width: 150px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: #fff;
  color: var(--admin-text);
  font-size: 0.82rem;
}

.seller-products-date-filter-select:focus {
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
  outline: none;
}

.seller-orders-date-filter-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seller-orders-date-filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--admin-text-muted);
}

.seller-orders-date-filter-select {
  min-width: 150px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: #fff;
  color: var(--admin-text);
  font-size: 0.82rem;
}

.seller-orders-date-filter-select:focus {
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
  outline: none;
}

html.admin-theme-dark .seller-inventory-search-wrap {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-inventory-search-wrap:focus-within {
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.18);
}

html.admin-theme-dark .seller-inventory-search-icon {
  color: #94a3b8;
}

html.admin-theme-dark .seller-inventory-search-input {
  color: #f3f4f6;
}

html.admin-theme-dark .seller-inventory-search-input::placeholder {
  color: #94a3b8;
}

html.admin-theme-dark .seller-products-date-filter-label {
  color: #cbd5e1;
}

html.admin-theme-dark .seller-products-date-filter-select {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.1);
  color: #f3f4f6;
}

html.admin-theme-dark .seller-products-date-filter-select:focus {
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.18);
}

html.admin-theme-dark .seller-orders-date-filter-label {
  color: #cbd5e1;
}

html.admin-theme-dark .seller-orders-date-filter-select {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.1);
  color: #f3f4f6;
}

html.admin-theme-dark .seller-orders-date-filter-select:focus {
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.18);
}

.seller-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1200;
}

.seller-drawer-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.seller-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(520px, 100vw);
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--admin-border);
  box-shadow: -16px 0 36px rgba(2, 6, 23, 0.12);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.2s ease;
  z-index: 1210;
  display: flex;
  flex-direction: column;
}

.seller-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.seller-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--admin-border);
}

.seller-drawer__head-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-top: 2px;
}

.seller-drawer__switch-link {
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--admin-accent);
}

.seller-drawer__switch-link:hover {
  text-decoration: underline;
}

.seller-drawer__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--admin-text);
}

.seller-drawer__close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--admin-border);
  background: #fff;
  color: var(--admin-text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.seller-drawer__close:hover {
  border-color: var(--admin-accent);
  color: var(--admin-accent);
}

.seller-drawer__body {
  flex: 1;
  min-height: 0;
  padding: 16px 18px 24px;
  overflow-y: auto;
}

.seller-drawer__foot {
  flex-shrink: 0;
  padding: 12px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--admin-border);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, #fff 55%);
  box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.07);
}

.seller-variant-drawer__foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.seller-variant-drawer__foot-hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--admin-text-muted);
}

.seller-drawer__foot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.seller-drawer__body--product-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0 0;
  overflow: hidden;
}

.seller-drawer__body--product-form > .seller-alert {
  margin: 0 18px;
  flex-shrink: 0;
}

.seller-product-drawer-form.seller-form {
  flex: 1;
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 0;
}

.seller-product-drawer-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-overflow-scrolling: touch;
}

.seller-product-drawer-footer {
  flex-shrink: 0;
  padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--admin-border);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, #fff 55%);
  box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.07);
}

.seller-product-drawer-footer .seller-product-form-submit-panel {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.seller-product-form-file-count {
  font-weight: 700;
  color: var(--admin-accent);
  white-space: nowrap;
}

html.admin-theme-dark .seller-product-drawer-footer {
  border-top-color: rgba(243, 243, 243, 0.1);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.55) 0%, #1c1c1c 50%);
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.35);
}

html.admin-theme-dark .seller-product-form-file-count {
  color: #fca5a5;
}

.seller-drawer__head-main {
  min-width: 0;
}

.seller-drawer__subtitle {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--admin-text-muted);
  max-width: 28rem;
}

.seller-drawer-alert-link {
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seller-product-form-section {
  margin: 0;
  padding: 16px 14px 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.65);
}

.seller-product-form-section__head {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.seller-product-form-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--admin-text);
  line-height: 1.25;
}

.seller-product-form-section__title::before {
  content: "";
  width: 3px;
  height: 1.05em;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--admin-accent) 0%, rgba(229, 57, 53, 0.55) 100%);
  flex-shrink: 0;
}

.seller-product-form-section__sub {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--admin-text-muted);
  max-width: 36rem;
}

.seller-product-form-section__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seller-product-form__row {
  gap: 14px;
  align-items: start;
}

.seller-product-form-field {
  min-width: 0;
}

.seller-product-form-field--grow {
  flex: 1;
  min-width: 0;
}

.seller-product-form-field--emoji input {
  max-width: 5.5rem;
  text-align: center;
  font-size: 1.15rem;
}

.seller-product-form-field--stock {
  max-width: 11rem;
}

.seller-product-form__row--sku {
  align-items: end;
}

.seller-product-form-sku-action {
  flex-shrink: 0;
}

.seller-product-form-sku-action .seller-sku-generate-btn {
  white-space: nowrap;
}

.seller-product-form-optional {
  font-weight: 500;
  font-size: 0.82em;
  color: var(--admin-text-muted);
}

.seller-product-form-hint {
  margin: 6px 0 0;
}

.seller-product-form-hint--sku {
  margin-top: 2px;
}

.seller-product-input--money {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.seller-product-input--qty {
  font-variant-numeric: tabular-nums;
}

.seller-product-input--mono {
  font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.seller-product-input--readonly,
.seller-wizard-sku-readonly {
  background: var(--admin-surface-alt, #f1f5f9);
  color: var(--admin-text-muted);
  cursor: default;
}

.seller-wizard-readonly-value {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-alt, #f8fafc);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--admin-text);
}

.seller-multi-select--product {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.seller-product-form-file {
  padding: 8px 10px;
  font-size: 0.82rem;
  cursor: pointer;
  border-radius: 8px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.88);
}

.seller-product-form-file:hover {
  border-color: rgba(229, 57, 53, 0.35);
  background: #fff;
}

.seller-product-form-file::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.seller-product-form-file::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.seller-product-form-file::file-selector-button:hover {
  filter: brightness(0.97);
}

.seller-product-form-file::-webkit-file-upload-button:hover {
  filter: brightness(0.97);
}

.seller-product-form-submit-panel {
  margin-top: 2px;
  padding: 16px 14px 4px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.seller-product-form-submit-panel__hint {
  margin: 0 0 14px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}

.seller-product-form-actions {
  justify-content: flex-end;
}

.seller-product-form-submit-btn {
  min-width: 11rem;
  font-weight: 800;
}

@media (max-width: 640px) {
  .seller-product-form-sku-action {
    width: 100%;
  }

  .seller-product-form-sku-action .seller-sku-generate-btn {
    width: 100%;
  }
}

.seller-view-media {
  width: 100%;
  min-height: 170px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--admin-text-muted);
  margin-bottom: 12px;
  overflow: hidden;
}

.seller-view-slider {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
}

.seller-view-slider__nav {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--admin-border);
  background: #fff;
  color: var(--admin-text);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.seller-view-slider__nav:hover {
  border-color: var(--admin-accent);
  color: var(--admin-accent);
}

.seller-view-slider__nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.seller-view-slider__meta {
  margin: 6px 0 10px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--admin-text-muted);
}

.seller-view-media img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
}

.seller-view-media--hero {
  min-height: 280px;
  max-height: none;
}

.seller-view-media--hero img {
  max-height: min(52vh, 480px);
  object-fit: contain;
  background: #fff;
}

.seller-product-view-page {
  max-width: 1200px;
  margin: 0 auto;
}

.seller-pv-hero {
  margin: 0 0 22px;
  padding: 20px 20px 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 45%, #fff 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.seller-pv-breadcrumb {
  margin-bottom: 14px;
}

.seller-product-view-page .seller-pv-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
}

.seller-pv-title-block {
  min-width: min(100%, 280px);
  flex: 1;
}

.seller-pv-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--admin-text-muted);
}

.seller-pv-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.seller-pv-sub {
  margin: 0 0 12px;
  font-size: 0.84rem;
  color: var(--admin-text-muted);
}

.seller-pv-sub__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  word-break: break-all;
  color: #64748b;
}

.seller-pv-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.seller-pv-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
}

.seller-pv-chip--badge {
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fdba74;
  color: #9a3412;
}

.seller-pv-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.seller-pv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.seller-pv-btn__ico {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
}

.seller-pv-btn--ghost {
  background: #fff;
  border-color: var(--admin-border);
  color: var(--admin-text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.seller-pv-btn--ghost:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.seller-pv-btn--primary {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border-color: #b91c1c;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.seller-pv-btn--primary:hover {
  filter: brightness(1.05);
}

.seller-pv-layout {
  display: grid;
  gap: 22px;
  margin-top: 4px;
}

@media (min-width: 960px) {
  .seller-pv-layout {
    grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr);
    align-items: start;
  }
}

.seller-pv-card {
  padding: 18px 20px;
}

.seller-pv-summary.seller-pv-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 40px rgba(15, 23, 42, 0.07),
    0 2px 8px rgba(15, 23, 42, 0.04);
}

.seller-pv-summary.seller-pv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b91c1c 0%, #ef4444 50%, #f87171 100%);
  pointer-events: none;
}

.seller-pv-summary__top {
  padding: 18px 22px 16px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  border-bottom: 1px solid var(--admin-border);
}

.seller-pv-summary__top-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.seller-pv-summary__top-hint {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
  max-width: 36rem;
}

.seller-pv-summary__block {
  padding: 20px 22px 22px;
  border-bottom: 1px solid var(--admin-border);
}

.seller-pv-summary__block--basics {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, #fff 100%);
}

.seller-pv-summary__block--pricing {
  background: #fff;
}

.seller-pv-summary__block--offers {
  background: linear-gradient(180deg, #fff 0%, rgba(254, 242, 242, 0.35) 100%);
}

.seller-pv-summary__block--last {
  border-bottom: none;
}

.seller-pv-summary .seller-pv-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.seller-pv-summary .seller-pv-section-title::before {
  content: '';
  width: 4px;
  height: 1.15em;
  border-radius: 3px;
  background: linear-gradient(180deg, #dc2626, #ef4444);
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(185, 28, 28, 0.25);
}

.seller-pv-kv--summary {
  gap: 0 16px;
}

.seller-pv-kv--summary dt {
  padding: 11px 0;
  border-top: 1px solid var(--admin-border);
  align-self: start;
}

.seller-pv-kv--summary dd {
  padding: 11px 0;
  border-top: 1px solid var(--admin-border);
}

.seller-pv-kv--summary dt:first-of-type,
.seller-pv-kv--summary dd:first-of-type {
  border-top: none;
  padding-top: 0;
}

.seller-pv-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.seller-pv-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.seller-pv-emoji-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--admin-border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.seller-pv-emoji {
  font-size: 1.4rem;
  line-height: 1;
}

.seller-pv-mono-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--admin-text);
}

.seller-pv-price-panel {
  padding: 18px 18px 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff 0%, #fff5f5 42%, #fff 100%);
  border: 1px solid #fecaca;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 20px rgba(185, 28, 28, 0.08);
}

.seller-pv-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
}

.seller-pv-price-main-wrap {
  flex: 1;
  min-width: 200px;
}

.seller-pv-price-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--admin-text-muted);
  margin-bottom: 6px;
}

.seller-pv-price-amount {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #b91c1c;
  line-height: 1.1;
}

.seller-pv-price-secondary {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.seller-pv-price-mrp {
  font-size: 0.88rem;
  color: var(--admin-text-muted);
  text-decoration: line-through;
}

.seller-pv-price-off {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #fef2f2;
  color: #b91c1c;
}

.seller-pv-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seller-pv-stat-pill {
  min-width: 112px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  position: relative;
}

.seller-pv-stat-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #cbd5e1, #94a3b8);
  opacity: 0.85;
}

.seller-pv-stat-pill__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-muted);
  margin-bottom: 6px;
}

.seller-pv-stat-pill__value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.seller-pv-card--media {
  align-self: start;
}

/* Product view — gallery (main + thumbnails, reference layout) */
.seller-pv-gallery-card {
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.07), 0 2px 8px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.seller-pv-gallery-card.seller-pv-card {
  padding: 22px 24px;
}

.seller-pv-gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.seller-pv-gallery__main {
  width: 100%;
}

.seller-pv-gallery__main-inner {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  min-height: 280px;
  aspect-ratio: 3 / 4;
  max-height: min(58vh, 560px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.seller-pv-gallery__main-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
}

.seller-pv-gallery__empty {
  padding: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--admin-text-muted);
}

.seller-pv-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding-top: 2px;
}

.seller-pv-gallery__thumb {
  display: block;
  padding: 0;
  margin: 0;
  width: 72px;
  height: 72px;
  border: 2px solid #e8eaed;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.seller-pv-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.seller-pv-gallery__thumb:hover {
  border-color: #94a3b8;
}

.seller-pv-gallery__thumb:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.35);
}

.seller-pv-gallery__thumb:focus:not(:focus-visible) {
  box-shadow: none;
}

.seller-pv-gallery__thumb:focus-visible {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.35);
}

.seller-pv-gallery__thumb.is-active {
  border-color: #b91c1c;
  box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.25);
}

.seller-pv-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seller-pv-section-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--admin-text);
}

.seller-pv-kv {
  display: grid;
  grid-template-columns: minmax(7rem, 34%) minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
}

.seller-pv-kv dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-pv-kv dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--admin-text);
  line-height: 1.45;
}

.seller-pv-label {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-pv-muted {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--admin-text);
  line-height: 1.45;
}

.seller-pv-rich-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--admin-text);
}

.seller-pv-rich-text p {
  margin: 0 0 0.65em;
}

.seller-pv-rich-text p:last-child {
  margin-bottom: 0;
}

.seller-pv-table-wrap {
  overflow-x: auto;
  margin-top: 4px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.seller-pv-variants-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.seller-pv-variants-table th,
.seller-pv-variants-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--admin-border);
}

.seller-pv-variants-table th {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  font-weight: 700;
  color: #475569;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seller-pv-variants-table tbody tr:hover td {
  background: rgba(254, 242, 242, 0.45);
}

.seller-pv-variants-table tr:last-child td {
  border-bottom: none;
}

/* Product view — bottom tabs (“More product details”) */
.seller-product-view-page .seller-pv-bottom-tabs {
  margin-top: 28px;
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 32px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.seller-pv-bottom-tabs.seller-pv-card {
  padding: 0;
  overflow: hidden;
}

.seller-pv-tabs-header {
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  border-bottom: 1px solid var(--admin-border);
}

.seller-pv-tabs-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--admin-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.seller-pv-tabs-title::before {
  content: '';
  width: 4px;
  height: 1.15em;
  border-radius: 3px;
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  flex-shrink: 0;
}

.seller-pv-tabs-sub {
  margin: 0;
  max-width: 42rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--admin-text-muted);
}

.seller-pv-tabs-bar-wrap {
  padding: 14px 16px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--admin-border);
}

.seller-pv-tabs-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: #e2e8f0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.seller-pv-tabs-track::-webkit-scrollbar {
  height: 6px;
}

.seller-pv-tabs-track::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 99px;
}

.seller-pv-tab {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.seller-pv-tab__ico {
  display: flex;
  color: #94a3b8;
  transition: color 0.18s ease;
  flex-shrink: 0;
}

.seller-pv-tab__ico svg {
  display: block;
}

.seller-pv-tab__label {
  line-height: 1.2;
}

.seller-pv-tab:hover {
  color: #334155;
  background: rgba(255, 255, 255, 0.65);
}

.seller-pv-tab:hover .seller-pv-tab__ico {
  color: #64748b;
}

.seller-pv-tab.is-active {
  color: #991b1b;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 4px 14px rgba(185, 28, 28, 0.12);
}

.seller-pv-tab.is-active .seller-pv-tab__ico {
  color: #dc2626;
}

.seller-pv-tab:active:not(:disabled) {
  transform: scale(0.98);
}

.seller-pv-tabs-panels {
  padding: 0;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  min-height: 8rem;
}

.seller-pv-tab-panel__inner {
  padding: 22px 22px 26px;
  max-width: 52rem;
  animation: sellerPvPanelIn 0.22s ease-out;
}

@keyframes sellerPvPanelIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .seller-pv-tab-panel__inner {
    animation: none;
  }

  .seller-pv-tab:active:not(:disabled) {
    transform: none;
  }
}

.seller-pv-option-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}

@media (min-width: 560px) {
  .seller-pv-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.seller-pv-option-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--admin-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.seller-pv-option-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-muted);
  margin-bottom: 8px;
}

.seller-pv-option-card__value {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--admin-text);
  word-break: break-word;
}

.seller-pv-panel-note {
  margin: 18px 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--admin-text-muted);
}

.seller-pv-kv--tab {
  gap: 0 16px;
}

.seller-pv-kv--tab dt {
  padding: 10px 0;
  border-top: 1px solid var(--admin-border);
  align-self: start;
}

.seller-pv-kv--tab dd {
  padding: 10px 0;
  border-top: 1px solid var(--admin-border);
}

.seller-pv-kv--tab dt:first-of-type,
.seller-pv-kv--tab dd:first-of-type {
  border-top: none;
  padding-top: 0;
}

.seller-pv-rich-text--boxed {
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--admin-border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.seller-pv-empty-state {
  text-align: center;
  padding: 32px 20px 28px;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
}

.seller-pv-empty-state__ico {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  color: #94a3b8;
}

.seller-pv-empty-state__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--admin-text);
}

.seller-pv-empty-state__text {
  margin: 0 auto;
  max-width: 26rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--admin-text-muted);
}

.seller-pv-ship-card {
  max-width: 420px;
  padding: 18px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
}

.seller-pv-ship-card__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b91c1c;
  margin-bottom: 6px;
}

.seller-pv-ship-card__value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #7f1d1d;
}

.seller-pv-tab-panel {
  display: none;
}

.seller-pv-tab-panel.is-active {
  display: block;
}

.seller-pv-tab-panel__empty {
  margin: 0;
}

.seller-view-name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--admin-text);
}

.seller-view-slug {
  margin: 4px 0 12px;
  color: var(--admin-text-muted);
  font-size: 0.82rem;
}

.seller-view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.seller-view-item {
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.seller-view-label {
  display: block;
  color: var(--admin-text-muted);
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.seller-view-item-block {
  margin-top: 12px;
}

.seller-view-item-block p {
  margin: 4px 0 0;
  color: var(--admin-text);
  font-size: 0.88rem;
  line-height: 1.4;
}

body.seller-drawer-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .seller-top-meta {
    display: none;
  }

  .seller-form__row {
    grid-template-columns: 1fr;
  }

  .seller-card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .seller-view-grid {
    grid-template-columns: 1fr;
  }

  .seller-danger-form {
    flex-direction: column;
    align-items: stretch;
  }
}

html.admin-theme-dark .seller-form input,
html.admin-theme-dark .seller-form select,
html.admin-theme-dark .seller-form textarea {
  background: #121212;
  border-color: 1px solid rgba(243, 243, 243, 0.08);
  color: #f3f4f6;
}

html.admin-theme-dark .seller-stock-input,
html.admin-theme-dark .seller-status-select,
html.admin-theme-dark .seller-badge-input {
  background: #121212;
  border-color: 1px solid rgba(243, 243, 243, 0.08);
  color: #f3f4f6;
}

html.admin-theme-dark .seller-stock-input--readonly {
  background: #1a1a1a;
  color: #94a3b8;
}

html.admin-theme-dark .seller-variant-block {
  background: #121212;
  border-color: rgba(243,243,243,0.08);
}

html.admin-theme-dark .seller-variant-row {
  background: #222222;
  border-color: rgba(243,243,243,0.08);
}

html.admin-theme-dark .seller-variant-row__label {
  color: #f8fafc;
}

html.admin-theme-dark .seller-variant-summary-row td {
  background: rgba(15, 23, 42, 0.55);
  border-top-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-order-meta-item {
  background: #121212;
  border-color: rgba(243,243,243,0.08);
}

html.admin-theme-dark .seller-order-meta-item--seller-total {
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.22) 0%, rgba(18, 18, 18, 0.72) 100%);
  border-color: rgba(248, 113, 113, 0.32);
}

html.admin-theme-dark .seller-order-status-form select {
  background: #1f2937;
  border-color: #374151;
  color: #f3f4f6;
}

html.admin-theme-dark .seller-order-detail-page-kicker {
  color: #94a3b8;
}

html.admin-theme-dark .seller-order-detail-page-kicker strong {
  color: #f1f5f9;
}

html.admin-theme-dark .seller-order-status-callout {
  background: rgba(30, 41, 59, 0.45);
  border-color: rgba(148, 163, 184, 0.22);
}

html.admin-theme-dark .seller-order-status-callout__text {
  color: #cbd5e1;
}

html.admin-theme-dark .seller-order-status-track__badge--current {
  background: rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
}

html.admin-theme-dark .seller-order-status-track__badge--next {
  background: rgba(59, 130, 246, 0.3);
  color: #bfdbfe;
}

html.admin-theme-dark .seller-order-status-track__arrow {
  color: #94a3b8;
}

html.admin-theme-dark .seller-order-status-submit--confirmed {
  background: #0f766e;
  border-color: #14b8a6;
}

html.admin-theme-dark .seller-order-status-submit--shipped {
  background: #1d4ed8;
  border-color: #60a5fa;
}

html.admin-theme-dark .seller-order-status-submit--out {
  background: #c2410c;
  border-color: #fb923c;
}

html.admin-theme-dark .seller-order-status-submit--delivered {
  background: #15803d;
  border-color: #4ade80;
}

html.admin-theme-dark .seller-order-delivery-chip {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(148, 163, 184, 0.24);
}

html.admin-theme-dark .seller-order-detail-return-badge {
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
}

html.admin-theme-dark .seller-order-delivery-chip__value {
  color: #f8fafc;
}

html.admin-theme-dark .seller-order-delivery-chip__value--success {
  color: #86efac;
}

html.admin-theme-dark .seller-order-delivery-chip__value--warning {
  color: #fcd34d;
}

html.admin-theme-dark .seller-order-delivery-chip__value--info {
  color: #93c5fd;
}

html.admin-theme-dark .seller-order-delivery-chip__value--danger {
  color: #fca5a5;
}

html.admin-theme-dark .seller-order-delivery-step {
  background: transparent;
}

html.admin-theme-dark .seller-order-delivery-step__bar {
  background: rgba(148, 163, 184, 0.2);
}

html.admin-theme-dark .seller-order-delivery-step__label {
  color: #cbd5e1;
}

html.admin-theme-dark .seller-order-delivery-step__time {
  color: #94a3b8;
}

html.admin-theme-dark .seller-order-delivery-step--done {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
}

html.admin-theme-dark .seller-order-delivery-step--done .seller-order-delivery-step__label {
  color: #a7f3d0;
}

html.admin-theme-dark .seller-order-delivery-step--active {
  background: transparent;
}

html.admin-theme-dark .seller-order-delivery-step--active .seller-order-delivery-step__label {
  color: #fcd34d;
}

html.admin-theme-dark .seller-order-delivery-step__time {
  color: #94a3b8;
}

html.admin-theme-dark .seller-order-status-done-msg {
  background: rgba(51, 65, 85, 0.35);
  border-color: rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
}

html.admin-theme-dark .seller-order-item-emoji {
  background: rgba(30, 41, 59, 0.65);
  border-color: rgba(148, 163, 184, 0.22);
}

html.admin-theme-dark .seller-status-chip {
  background: #121212;
  border-color: rgba(243,243,243,0.08);
  color: #cbd5e1;
}

html.admin-theme-dark .seller-status-chip--pending {
  background: rgba(146, 64, 14, 0.28);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fcd34d;
}

html.admin-theme-dark .seller-status-chip--inactive {
  background: rgba(51, 65, 85, 0.45);
  border-color: rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

html.admin-theme-dark .seller-status-chip--draft {
  background: rgba(51, 65, 85, 0.45);
  border-color: rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

html.admin-theme-dark .seller-status-chip--approved,
html.admin-theme-dark .seller-status-chip--paid,
html.admin-theme-dark .seller-status-chip--delivered {
  background: rgba(22, 101, 52, 0.32);
  border-color: rgba(74, 222, 128, 0.45);
  color: #bbf7d0;
}

html.admin-theme-dark .seller-status-chip--shipped {
  background: rgba(30, 64, 175, 0.25);
  border-color: rgba(96, 165, 250, 0.5);
  color: #bfdbfe;
}

html.admin-theme-dark .seller-status-chip--rejected,
html.admin-theme-dark .seller-status-chip--cancelled {
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

html.admin-theme-dark .seller-txn-amount--credit {
  color: #86efac;
}

html.admin-theme-dark .seller-txn-amount--debit {
  color: #fca5a5;
}

html.admin-theme-dark .seller-detail-item {
  background: #121212;
    border-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-detail-item strong {
  color: #f8fafc;
}

html.admin-theme-dark .seller-brand-media {
  background: #0f172a;
  border-color: rgba(243,243,243,0.08);
}

html.admin-theme-dark .admin-btn--ghost-light {
  background: #121212;
  color: #e5e7eb;
  border-color: #374151;
}

html.admin-theme-dark .admin-btn--ghost-light:hover {
  background: #1f2937;
  border-color: #4b5563;
  color: #f9fafb;
}

html.admin-theme-dark .seller-help {
  color: #9ca3af;
}

html.admin-theme-dark .seller-kpi-card {
  border-color: rgba(243, 243, 243, 0.08);
  background: linear-gradient(160deg, #121212 0%, #222222 100%);
  box-shadow: none;
}

html.admin-theme-dark .seller-kpi-card__label {
  color: #94a3b8;
}

html.admin-theme-dark .seller-kpi-card__value {
  color: #f8fafc;
}

html.admin-theme-dark .seller-kpi-card__hint {
  color: #94a3b8;
}

html.admin-theme-dark .seller-kpi-card__icon {
  border-color: rgba(148, 163, 184, 0.3);
}

html.admin-theme-dark .seller-kpi-card--kpi-yellow {
  color: #facc15;
}

html.admin-theme-dark .seller-kpi-card--kpi-yellow .seller-kpi-card__icon {
  background: rgba(250, 204, 21, 0.2);
  border-color: rgba(250, 204, 21, 0.35);
}

html.admin-theme-dark .seller-kpi-card--kpi-orange {
  color: #fb923c;
}

html.admin-theme-dark .seller-kpi-card--kpi-orange .seller-kpi-card__icon {
  background: rgba(251, 146, 60, 0.2);
  border-color: rgba(251, 146, 60, 0.35);
}

html.admin-theme-dark .seller-kpi-card--kpi-green {
  color: #4ade80;
}

html.admin-theme-dark .seller-kpi-card--kpi-green .seller-kpi-card__icon {
  background: rgba(74, 222, 128, 0.18);
  border-color: rgba(74, 222, 128, 0.35);
}

html.admin-theme-dark .seller-kpi-card--returns-cancelled {
  color: #f87171;
}

html.admin-theme-dark .seller-kpi-card--returns-cancelled .seller-kpi-card__icon {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.35);
}

html.admin-theme-dark .seller-alert--error {
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

html.admin-theme-dark .seller-alert--success {
  background: rgba(20, 83, 45, 0.35);
  border-color: rgba(74, 222, 128, 0.45);
  color: #bbf7d0;
}

html.admin-theme-dark .seller-alert--warn {
  background: rgba(120, 53, 15, 0.32);
  border-color: rgba(251, 191, 36, 0.5);
  color: #fcd34d;
}

html.admin-theme-dark .seller-alert--bottom {
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.55);
}

html.admin-theme-dark .seller-toast {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

html.admin-theme-dark .seller-danger-card {
  border-color: rgba(248, 113, 113, 0.45);
}

html.admin-theme-dark .seller-danger-form label {
  color: #fda4af;
}

html.admin-theme-dark .seller-danger-form input {
  background: #121212;
  border-color: rgba(248, 113, 113, 0.45);
  color: #f3f4f6;
}

html.admin-theme-dark .seller-product-thumb {
  background: #121212;
  border-color: rgba(243,243,243,0.08);
  color: #94a3b8;
}

html.admin-theme-dark .seller-option-list {
  color: #e5e7eb;
}

html.admin-theme-dark .seller-option-list--muted {
  color: #94a3b8;
}

html.admin-theme-dark .seller-preview-btn {
  background: #121212;
  border-color: #374151;
  color: #e5e7eb;
}

html.admin-theme-dark .seller-delete-btn {
  background: rgba(190, 24, 93, 0.18);
  border-color: rgba(244, 114, 182, 0.5);
  color: #fecdd3;
}

html.admin-theme-dark .seller-edit-btn {
  background: rgb(0 0 0 / 22%);
  border-color: rgb(70 70 70 / 55%);
  color: #898989;
}

html.admin-theme-dark .seller-view-btn {
  background: #0b1220;
  border-color: rgba(243,243,243,0.08);
  color: #e2e8f0;
}

html.admin-theme-dark .seller-toggle-switch__track {
  background: rgba(100, 116, 139, 0.7);
}

html.admin-theme-dark .seller-toggle-switch input:checked + .seller-toggle-switch__track {
  background: rgba(16, 185, 129, 0.95);
}

html.admin-theme-dark .seller-drawer {
  background: #1c1c1c;
  border-left-color: 1px solid rgba(243, 243, 243, 0.08);
  box-shadow: -20px 0 48px rgba(2, 6, 23, 0.58);
}

html.admin-theme-dark .seller-drawer__title {
  color: #f8fafc;
}

html.admin-theme-dark .seller-drawer__head {
  border-bottom-color: 1px solid rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-drawer__close {
  background: #121212;
  border-color: 1px solid rgba(243, 243, 243, 0.08);
  color: #e5e7eb;
}

html.admin-theme-dark .seller-drawer__switch-link {
  color: #93c5fd;
}

html.admin-theme-dark .seller-drawer__subtitle {
  color: #94a3b8;
}

html.admin-theme-dark .seller-drawer__foot {
  border-top-color: rgba(243, 243, 243, 0.1);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.55) 0%, #1c1c1c 50%);
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.35);
}

html.admin-theme-dark .seller-variant-drawer__foot-hint {
  color: #94a3b8;
}

html.admin-theme-dark .seller-product-form-section {
  border-color: rgba(243, 243, 243, 0.12);
  background: rgba(30, 41, 59, 0.35);
}

html.admin-theme-dark .seller-product-form-section__head {
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-product-form-section__title {
  color: #f8fafc;
}

html.admin-theme-dark .seller-multi-select--product {
  background: rgba(18, 18, 18, 0.72);
}

html.admin-theme-dark .seller-product-form-file {
  background: rgba(18, 18, 18, 0.65);
  border-color: rgba(243, 243, 243, 0.14);
  color: #e5e7eb;
}

html.admin-theme-dark .seller-product-form-file:hover {
  border-color: rgba(248, 113, 113, 0.45);
}

html.admin-theme-dark .seller-product-form-file::file-selector-button,
html.admin-theme-dark .seller-product-form-file::-webkit-file-upload-button {
  background: rgba(229, 57, 53, 0.18);
  border-color: rgba(243, 243, 243, 0.14);
  color: #fecaca;
}

html.admin-theme-dark .seller-product-form-submit-panel {
  border-color: rgba(243, 243, 243, 0.12);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(18, 18, 18, 0.55) 100%);
}

html.admin-theme-dark .seller-product-drawer-footer .seller-product-form-submit-panel {
  border: none;
  background: transparent;
}

html.admin-theme-dark .seller-product-form-submit-panel__hint {
  color: #cbd5e1;
}

html.admin-theme-dark .seller-view-media {
  background: #121212;
  border-color: rgba(243,243,243,0.08);
  color: #94a3b8;
}

html.admin-theme-dark .seller-view-slider__nav {
  background: #0b1220;
  border-color: rgba(243,243,243,0.08);
  color: #e2e8f0;
}

html.admin-theme-dark .seller-view-slider__nav:hover {
  border-color: #60a5fa;
  color: #bfdbfe;
}

html.admin-theme-dark .seller-view-name {
  color: #f8fafc;
}

html.admin-theme-dark .seller-view-item {
  background: #121212;
  border-color: rgba(243,243,243,0.08);
}

html.admin-theme-dark .seller-view-item-block p {
  color: #e2e8f0;
}

html.admin-theme-dark .seller-view-media--hero img {
  background: #0b1220;
}

html.admin-theme-dark .seller-pv-gallery-card {
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35), 0 2px 12px rgba(0, 0, 0, 0.2);
}

html.admin-theme-dark .seller-pv-gallery__main-inner {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.12);
}

html.admin-theme-dark .seller-pv-gallery__main-inner img {
  background: #0b1220;
}

html.admin-theme-dark .seller-pv-gallery__thumb {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.15);
}

html.admin-theme-dark .seller-pv-gallery__thumb:hover {
  border-color: #64748b;
}

html.admin-theme-dark .seller-pv-gallery__thumb.is-active {
  border-color: #f87171;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.4);
}

html.admin-theme-dark .seller-pv-sub,
html.admin-theme-dark .seller-pv-kv dt,
html.admin-theme-dark .seller-pv-label {
  color: #94a3b8;
}

html.admin-theme-dark .seller-pv-kv dd,
html.admin-theme-dark .seller-pv-muted,
html.admin-theme-dark .seller-pv-rich-text {
  color: #e2e8f0;
}

html.admin-theme-dark .seller-pv-section-title {
  color: #f8fafc;
}

html.admin-theme-dark .seller-pv-variants-table td {
  border-bottom-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-pv-table-wrap {
  border-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-product-view-page .seller-pv-bottom-tabs {
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

html.admin-theme-dark .seller-pv-tabs-header {
  background: linear-gradient(180deg, #141a24 0%, #0b1220 100%);
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-pv-tabs-title {
  color: #f8fafc;
}

html.admin-theme-dark .seller-pv-tabs-sub {
  color: #94a3b8;
}

html.admin-theme-dark .seller-pv-tabs-bar-wrap {
  background: #121212;
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-pv-tabs-track {
  background: #1e293b;
}

html.admin-theme-dark .seller-pv-tabs-track::-webkit-scrollbar-thumb {
  background: #475569;
}

html.admin-theme-dark .seller-pv-tab {
  color: #94a3b8;
}

html.admin-theme-dark .seller-pv-tab .seller-pv-tab__ico {
  color: #64748b;
}

html.admin-theme-dark .seller-pv-tab:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
}

html.admin-theme-dark .seller-pv-tab:hover .seller-pv-tab__ico {
  color: #94a3b8;
}

html.admin-theme-dark .seller-pv-tab.is-active {
  color: #fecaca;
  background: #0b1220;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 4px 16px rgba(239, 68, 68, 0.18);
}

html.admin-theme-dark .seller-pv-tab.is-active .seller-pv-tab__ico {
  color: #f87171;
}

html.admin-theme-dark .seller-pv-tabs-panels {
  background: linear-gradient(180deg, #0b1220 0%, #121212 100%);
}

html.admin-theme-dark .seller-pv-option-card {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: none;
}

html.admin-theme-dark .seller-pv-option-card__value {
  color: #e2e8f0;
}

html.admin-theme-dark .seller-pv-rich-text--boxed {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: none;
}

html.admin-theme-dark .seller-pv-empty-state {
  background: rgba(30, 41, 59, 0.35);
  border-color: rgba(148, 163, 184, 0.35);
}

html.admin-theme-dark .seller-pv-empty-state__ico {
  color: #64748b;
}

html.admin-theme-dark .seller-pv-empty-state__title {
  color: #f1f5f9;
}

html.admin-theme-dark .seller-pv-empty-state__text {
  color: #94a3b8;
}

html.admin-theme-dark .seller-pv-kv--tab dt,
html.admin-theme-dark .seller-pv-kv--tab dd {
  border-top-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-pv-variants-table tbody tr:hover td {
  background: rgba(127, 29, 29, 0.2);
}

html.admin-theme-dark .seller-pv-variants-table th {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #94a3b8;
}

html.admin-theme-dark .seller-pv-hero {
  background: linear-gradient(145deg, #121212 0%, #0b1220 50%, #0f172a 100%);
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: none;
}

html.admin-theme-dark .seller-pv-sub__mono {
  color: #94a3b8;
}

html.admin-theme-dark .seller-pv-chip {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.12);
  color: #e2e8f0;
}

html.admin-theme-dark .seller-pv-chip--badge {
  background: rgba(154, 52, 18, 0.35);
  border-color: rgba(251, 146, 60, 0.45);
  color: #fed7aa;
}

html.admin-theme-dark .seller-pv-btn--ghost {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.12);
  color: #e2e8f0;
}

html.admin-theme-dark .seller-pv-btn--ghost:hover {
  background: #1e293b;
  border-color: #475569;
}

html.admin-theme-dark .seller-pv-btn--primary {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  border-color: #f87171;
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.3);
}

html.admin-theme-dark .seller-pv-summary.seller-pv-card {
  border-color: rgba(243, 243, 243, 0.12);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

html.admin-theme-dark .seller-pv-summary__top {
  background: linear-gradient(180deg, #141a24 0%, #0b1220 100%);
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-pv-summary__top-label {
  color: #94a3b8;
}

html.admin-theme-dark .seller-pv-summary__top-hint {
  color: #cbd5e1;
}

html.admin-theme-dark .seller-pv-summary__block {
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-pv-summary__block--basics {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, #0b1220 100%);
}

html.admin-theme-dark .seller-pv-summary__block--pricing {
  background: #0b1220;
}

html.admin-theme-dark .seller-pv-summary__block--offers {
  background: linear-gradient(180deg, #0b1220 0%, rgba(127, 29, 29, 0.12) 100%);
}

html.admin-theme-dark .seller-pv-kv--summary dt,
html.admin-theme-dark .seller-pv-kv--summary dd {
  border-top-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-pv-code {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  border-color: rgba(243, 243, 243, 0.12);
  box-shadow: none;
}

html.admin-theme-dark .seller-pv-pill {
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.4) 0%, rgba(30, 58, 138, 0.35) 100%);
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.35);
}

html.admin-theme-dark .seller-pv-emoji-wrap {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.12);
  box-shadow: none;
}

html.admin-theme-dark .seller-pv-mono-value {
  color: #e2e8f0;
}

html.admin-theme-dark .seller-pv-price-panel {
  background: linear-gradient(145deg, #121212 0%, rgba(127, 29, 29, 0.2) 50%, #0b1220 100%);
  border-color: rgba(248, 113, 113, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

html.admin-theme-dark .seller-pv-price-amount {
  color: #fca5a5;
}

html.admin-theme-dark .seller-pv-price-off {
  background: rgba(127, 29, 29, 0.45);
  color: #fecaca;
}

html.admin-theme-dark .seller-pv-stat-pill {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.12);
  box-shadow: none;
}

html.admin-theme-dark .seller-pv-stat-pill::before {
  background: linear-gradient(90deg, #475569, #64748b);
  opacity: 1;
}

html.admin-theme-dark .seller-pv-stat-pill__value {
  color: #f8fafc;
}

html.admin-theme-dark .seller-pv-ship-card {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.35) 0%, rgba(69, 10, 10, 0.45) 100%);
  border-color: rgba(248, 113, 113, 0.4);
}

html.admin-theme-dark .seller-pv-ship-card__label {
  color: #fca5a5;
}

html.admin-theme-dark .seller-pv-ship-card__value {
  color: #fecaca;
}

/* —— Seller order return process (order-details) —— */
.seller-return-empty-state {
  margin: 16px 18px 20px;
  padding: 18px 20px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--admin-border, #e5e7eb);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.seller-return-empty-state__title {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--admin-text, #0f172a);
}

.seller-return-empty-state__hint {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--admin-text-muted, #64748b);
  max-width: 42rem;
}

.seller-return-panels-intro {
  padding: 14px 18px 14px;
  margin: 0;
  border-bottom: 1px solid var(--admin-border, #e5e7eb);
}

.seller-return-table-meta {
  font-size: 0.82rem;
  color: var(--admin-text-muted);
  margin-top: 2px;
}

.seller-return-terminal-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(100, 116, 139, 0.15);
  color: var(--admin-text-muted);
}

.seller-return-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
}

.seller-return-action-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.seller-return-note-input {
  width: 100%;
  max-width: 220px;
  padding: 6px 8px;
  font-size: 0.82rem;
  border: 1px solid var(--admin-border, #e5e7eb);
  border-radius: 6px;
  background: var(--admin-surface, #fff);
  color: inherit;
}

.seller-preview-btn--soft {
  font-size: 0.82rem;
  padding: 6px 10px;
}

.seller-preview-btn--return {
  border-color: rgba(220, 38, 38, 0.45);
  color: #b91c1c;
}

.seller-preview-btn--return:hover {
  border-color: #b91c1c;
  background: rgba(220, 38, 38, 0.08);
}

.seller-return-panels-stack {
  padding: 0 8px;
  border-top: 1px solid var(--admin-border, #e5e7eb);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.seller-return-panels-head {
  padding: 16px 16px 0;
}

.seller-return-panels-heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--admin-text, #0f172a);
}

.seller-return-panels-help {
  margin: 8px 0 0;
  line-height: 1.45;
  max-width: 52rem;
}

.seller-return-details-panel {
  border: 1px solid var(--admin-border, #e5e7eb);
  border-radius: 14px;
  background: var(--admin-surface, #fff);
  overflow: hidden;
  margin: 0 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.seller-return-details-panel[open] {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.22);
}

.seller-return-details-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, var(--admin-surface, #fff) 100%);
}

.seller-return-details-summary::-webkit-details-marker {
  display: none;
}

.seller-return-summary-chevron {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  position: relative;
  flex-shrink: 0;
}

.seller-return-summary-chevron::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--admin-text-muted);
  border-bottom: 2px solid var(--admin-text-muted);
  transform: translate(-50%, -60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.seller-return-details-panel[open] .seller-return-summary-chevron::after {
  transform: translate(-50%, -30%) rotate(-135deg);
}

.seller-return-summary-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.seller-return-summary-id {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-muted);
}

.seller-return-summary-item {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--admin-text, #0f172a);
}

.seller-return-summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-self: center;
}

.seller-return-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}

.seller-return-badge--neutral {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.seller-return-badge--progress {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.2);
}

.seller-return-badge--success {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.28);
}

.seller-return-badge--danger {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.25);
}

.seller-return-badge--pickup {
  background: rgba(139, 92, 246, 0.1);
  color: #6d28d9;
  border-color: rgba(139, 92, 246, 0.22);
}

.seller-return-details-body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--admin-border, #e5e7eb);
  background: var(--admin-surface, #fff);
}

.seller-return-rejected-banner {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.09);
  color: #b91c1c;
  font-size: 0.88rem;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.seller-return-timeline-wrap {
  margin-top: 16px;
}

.seller-return-timeline-title {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--admin-text-muted);
}

.seller-return-timeline {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 4px;
  padding: 20px 12px 12px;
  margin: 0;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(241, 245, 249, 0.85) 0%, rgba(255, 255, 255, 0.5) 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.seller-return-timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 33px;
  height: 3px;
  border-radius: 3px;
  background: #e2e8f0;
  z-index: 0;
}

.seller-return-timeline--complete::before {
  background: linear-gradient(90deg, #34d399, #10b981, #059669);
}

.seller-return-timeline-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0;
  min-width: 72px;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.25;
}

.seller-return-timeline-step--done {
  color: #15803d;
}

.seller-return-timeline-step--active {
  color: #1d4ed8;
}

.seller-return-timeline-step--active .seller-return-timeline-dot {
  background: rgba(37, 99, 235, 0.2);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.seller-return-timeline-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
  background: #fff;
}

.seller-return-timeline-step--done .seller-return-timeline-dot {
  border-color: rgba(16, 185, 129, 0.55);
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  color: #047857;
}

.seller-return-timeline-label {
  max-width: max-content;
  hyphens: auto;
}

.seller-return-timeline-time {
  margin-top: 2px;
  font-size: 0.64rem;
  font-weight: 500;
  color: #64748b;
  max-width: max-content;
  line-height: 1.25;
}

.seller-return-facts-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.seller-return-facts-block {
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid var(--admin-border, #e5e7eb);
  border-radius: 12px;
  padding: 14px 16px;
}

.seller-return-facts-block-title {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-muted);
}

.seller-return-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px 14px;
  font-size: 0.84rem;
}

.seller-return-facts--timeline {
  grid-template-columns: 1fr;
  gap: 0;
}

.seller-return-fact {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--admin-surface, #fff);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.seller-return-facts--timeline .seller-return-fact {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 8px 12px;
  align-items: baseline;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding: 10px 4px;
  background: transparent;
}

.seller-return-facts--timeline .seller-return-fact:last-child {
  border-bottom: none;
}

.seller-return-fact--wide {
  grid-column: 1 / -1;
}

.seller-return-fact dt {
  margin: 0;
  font-weight: 600;
  color: var(--admin-text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.seller-return-fact dd {
  margin: 4px 0 0;
  color: var(--admin-text, #0f172a);
  font-weight: 500;
  word-break: break-word;
}

.seller-return-facts--timeline .seller-return-fact dd {
  margin: 0;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.seller-return-fact--emphasis {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0f766e !important;
}

.seller-return-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.06);
}

@media (max-width: 720px) {
  .seller-return-details-summary {
    grid-template-columns: auto 1fr;
  }

  .seller-return-summary-badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

html.admin-theme-dark .seller-return-empty-state {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.45) 0%, #121212 100%);
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: none;
}

html.admin-theme-dark .seller-return-empty-state__title {
  color: #f1f5f9;
}

html.admin-theme-dark .seller-return-empty-state__hint {
  color: #94a3b8;
}

html.admin-theme-dark .seller-return-note-input {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.12);
  color: #e2e8f0;
}

html.admin-theme-dark .seller-return-details-panel {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-return-details-panel[open] {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

html.admin-theme-dark .seller-return-details-summary {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, #121212 100%);
}

html.admin-theme-dark .seller-return-summary-chevron {
  background: rgba(148, 163, 184, 0.15);
}

html.admin-theme-dark .seller-return-summary-chevron::after {
  border-right-color: #94a3b8;
  border-bottom-color: #94a3b8;
}

html.admin-theme-dark .seller-return-summary-item {
  color: #f1f5f9;
}

html.admin-theme-dark .seller-return-details-body {
  border-top-color: rgba(243, 243, 243, 0.1);
  background: #121212;
}

html.admin-theme-dark .seller-return-timeline {
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.5) 0%, rgba(18, 18, 18, 0.9) 100%);
  border-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-return-timeline::before {
  background: rgba(71, 85, 105, 0.6);
}

html.admin-theme-dark .seller-return-timeline-dot {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.35);
}

html.admin-theme-dark .seller-return-timeline-time {
  color: #94a3b8;
}

html.admin-theme-dark .seller-return-facts-block {
  background: rgba(30, 41, 59, 0.35);
  border-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-return-fact {
  background: #1a1f2e;
  border-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-return-facts--timeline .seller-return-fact {
  border-bottom-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-return-fact dd {
  color: #f1f5f9;
}

html.admin-theme-dark .seller-return-fact--emphasis {
  color: #5eead4 !important;
}

html.admin-theme-dark .seller-return-mono {
  background: rgba(0, 0, 0, 0.35);
  color: #e2e8f0;
}

/* ----- Coupons page ----- */
.seller-coupons-subtitle {
  margin: 8px 0 0;
  max-width: 52rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
  font-weight: 500;
}

.seller-coupons-subtitle strong {
  color: var(--admin-text);
  font-weight: 700;
}

.seller-coupons-flash {
  margin-bottom: 16px;
}

.seller-coupons-kpis {
  margin-top: 0;
  margin-bottom: 4px;
}

.seller-coupons-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}

.seller-coupons-form-card .card-body {
  padding-top: 18px;
}

.seller-coupons-card-sub {
  margin-top: 4px;
  max-width: 36rem;
}

.seller-coupon-tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
  font-size: 0.86rem;
  line-height: 1.5;
  color: #1e3a5f;
  margin-bottom: 18px;
}

.seller-coupon-tip__icon {
  flex-shrink: 0;
  display: flex;
  color: #2563eb;
  margin-top: 1px;
}

.seller-coupon-tip__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.seller-coupons-optional {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--admin-text-muted);
  text-transform: lowercase;
}

.seller-coupon-code-input {
  width: 100%;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #fff;
  color: var(--admin-text);
}

.seller-coupon-code-input:focus {
  outline: none;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.14);
}

.seller-coupons-form-actions {
  margin-top: 8px;
  padding-top: 4px;
}

.seller-coupons-list-head {
  align-items: flex-start;
}

.seller-coupons-list-body {
  padding: 16px 18px 20px !important;
}

.seller-coupons-search-bar {
  margin-bottom: 14px;
}

.seller-coupons-no-match {
  margin-top: 12px;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px dashed var(--admin-border);
  background: rgba(248, 250, 252, 0.55);
}

.seller-coupons-no-match__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.seller-coupons-no-match__icon {
  flex-shrink: 0;
  color: var(--admin-text-muted);
  margin-top: 2px;
}

html.admin-theme-dark .seller-coupons-no-match {
  background: rgba(15, 23, 42, 0.35);
}

.seller-coupons-empty {
  text-align: center;
  padding: 40px 20px 36px;
  border: 1px dashed var(--admin-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.65) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.seller-coupons-empty__visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 16px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
}

.seller-coupons-empty__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--admin-text);
}

.seller-coupons-empty__text {
  margin: 0 auto;
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
}

.seller-coupons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seller-coupon-item {
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--admin-surface, #fff);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.seller-coupon-item:hover {
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.seller-coupon-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.seller-coupon-item__identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.seller-coupon-item__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--admin-text);
}

.seller-coupon-item__deal {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--admin-accent);
}

.seller-coupon-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.seller-coupon-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.06);
  color: var(--admin-text);
}

.seller-coupon-meta-pill--muted {
  background: transparent;
  border: 1px solid var(--admin-border);
  color: var(--admin-text-muted);
  font-weight: 500;
}

.seller-coupon-item__desc {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}

.seller-coupon-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.seller-coupon-action-form {
  margin: 0;
}

.seller-coupon-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.seller-coupon-btn-danger:hover {
  background: #fee2e2;
  border-color: #f87171;
}

@media (max-width: 1024px) {
  .seller-coupons-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .seller-coupons-kpis {
    grid-template-columns: 1fr;
  }

  .seller-coupon-item__top .seller-status-chip {
    width: 100%;
    justify-content: center;
  }
}

html.admin-theme-dark .seller-coupon-tip {
  border-color: rgba(96, 165, 250, 0.35);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.35) 0%, rgba(15, 23, 42, 0.6) 100%);
  color: #bfdbfe;
}

html.admin-theme-dark .seller-coupon-tip__code {
  background: rgba(96, 165, 250, 0.2);
  color: #93c5fd;
}

html.admin-theme-dark .seller-coupon-code-input,
html.admin-theme-dark .seller-coupons-form .seller-stock-input,
html.admin-theme-dark .seller-coupons-form .seller-badge-input,
html.admin-theme-dark .seller-coupons-form .seller-status-select {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.12);
  color: #f1f5f9;
}

html.admin-theme-dark .seller-coupons-empty {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.35) 0%, rgba(18, 18, 18, 0.5) 100%);
  border-color: rgba(243, 243, 243, 0.12);
}

html.admin-theme-dark .seller-coupon-item {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: none;
}

html.admin-theme-dark .seller-coupon-item:hover {
  border-color: rgba(148, 163, 184, 0.25);
}

html.admin-theme-dark .seller-coupon-item__actions {
  border-top-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-coupon-meta-pill {
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}

html.admin-theme-dark .seller-coupon-meta-pill--muted {
  border-color: rgba(243, 243, 243, 0.12);
  color: #94a3b8;
}

html.admin-theme-dark .seller-coupon-btn-danger {
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

/* ----- Orders page ----- */
.seller-orders-page-head {
  align-items: flex-start;
}

.seller-orders-subtitle {
  margin: 8px 0 0;
  max-width: 46rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
  font-weight: 500;
}

.seller-orders-subtitle strong {
  color: var(--admin-text);
  font-weight: 700;
}

.seller-orders-head-actions {
  align-self: flex-start;
  margin-top: 4px;
}

.seller-orders-kpis {
  margin-top: 4px;
  margin-bottom: 12px;
}

.seller-orders-kpi-section-heading {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding: 0 2px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
}

html.admin-theme-dark .seller-orders-kpi-section-heading {
  color: #94a3b8;
}

.seller-cancel-requests-card {
  margin-bottom: 16px;
  overflow: hidden;
}

.seller-cancel-requests-sub {
  margin-top: 4px;
  max-width: 36rem;
}

.seller-cancel-table-wrap {
  border-radius: 0 0 calc(var(--admin-radius, 10px) - 1px) calc(var(--admin-radius, 10px) - 1px);
}

.seller-cancel-table {
  min-width: 720px;
}

.seller-cancel-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #fff5f5 0%, #fef2f2 100%);
  box-shadow: 0 1px 0 var(--admin-border);
}

.seller-cancel-cell-order {
  min-width: 180px;
}

.seller-cancel-customer {
  font-size: 0.84rem;
  color: var(--admin-text-muted);
  margin-top: 6px;
}

.seller-cancel-order-status {
  margin-top: 8px;
}

.seller-cancel-reason {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--admin-text);
}

.seller-cancel-details {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}

.seller-cancel-cell-date {
  font-size: 0.86rem;
  white-space: nowrap;
  color: var(--admin-text-muted);
  font-variant-numeric: tabular-nums;
}

.seller-cancel-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.seller-cancel-action-form {
  margin: 0;
}

.seller-cancel-btn {
  width: 100%;
  justify-content: center;
}

.seller-orders-card {
  overflow: hidden;
}

.seller-orders-card-head {
  align-items: flex-start;
}

.seller-orders-card-sub {
  margin-top: 4px;
  max-width: 40rem;
}

.seller-orders-search {
  max-width: min(100%, 360px);
}

.seller-orders-th-actions,
.seller-orders-td-actions {
  width: 1%;
  white-space: nowrap;
}

.seller-orders-table-wrap {
  border-radius: 0 0 calc(var(--admin-radius, 10px) - 1px) calc(var(--admin-radius, 10px) - 1px);
}

.seller-orders-table {
  min-width: 1080px;
}

.seller-orders-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  box-shadow: 0 1px 0 var(--admin-border);
}

.seller-orders-ref {
  display: inline-block;
  font-weight: 800;
  font-size:0.75rem;
  letter-spacing: 0.02em;
  color: var(--admin-text);
}

.seller-orders-id-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.06);
  color: var(--admin-text-muted);
  vertical-align: middle;
}

.seller-orders-td-order {
  min-width: 140px;
}

.seller-orders-td-customer {
  min-width: 200px;
}

.seller-orders-td-category {
  min-width: 160px;
}

.seller-orders-customer-name {
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--admin-text);
}

.seller-orders-customer-email {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--admin-text-muted);
  word-break: break-all;
}

.seller-orders-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.seller-orders-cat-pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  text-transform: capitalize;
}

.seller-orders-td-total {
  font-variant-numeric: tabular-nums;
}

.seller-orders-amount {
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--admin-text);
}

.seller-orders-td-payment {
  min-width: 130px;
}

.seller-orders-td-datetime {
  min-width: 170px;
}

.seller-orders-pay-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  background: #f1f5f9;
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  margin-bottom: 6px;
}

.seller-orders-pay-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.seller-orders-pay-status--paid {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.seller-orders-pay-status--pending {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

.seller-orders-date {
  display: block;
  font-size: 0.8rem;
  color: var(--admin-text-muted);
  line-height: 1.35;
}

.seller-orders-ago {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 2px 8px;
}

.seller-order-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.seller-order-action-form {
  margin: 0;
}

.seller-order-confirm-btn {
  width: 100%;
  justify-content: center;
  padding: 8px 10px;
  line-height: 1;
}

.seller-order-confirm-btn svg {
  display: block;
}

.seller-order-actions__link {
  width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .seller-cancel-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .seller-cancel-btn {
    width: auto;
    min-width: 7rem;
  }

  .seller-order-actions {
    flex-direction: row;
    /* flex-wrap: wrap; */
  }

  .seller-order-confirm-btn,
  .seller-order-actions__link {
    width: auto;
    min-width: 2.5rem;
  }
}

.seller-orders-empty {
  text-align: center;
  padding: 44px 24px 40px;
  max-width: 400px;
  margin: 0 auto;
}

.seller-orders-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
}

.seller-orders-empty__title {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
}

.seller-orders-empty__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
}

.seller-orders-no-match-cell {
  padding: 0 !important;
  border-bottom: none !important;
}

.seller-orders-no-match-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 20px;
  text-align: left;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.seller-orders-no-match-inner strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.seller-orders-no-match-inner p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--admin-text-muted);
}

.seller-orders-no-match-icon {
  flex-shrink: 0;
  display: flex;
  color: var(--admin-text-muted);
  opacity: 0.85;
}

@media (max-width: 720px) {
  .seller-orders-kpis {
    grid-template-columns: 1fr;
  }

  .seller-orders-head-actions {
    width: 100%;
  }

  .seller-orders-head-actions .admin-btn {
    width: 100%;
    justify-content: center;
  }
}

html.admin-theme-dark .seller-cancel-table thead th {
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.22) 0%, rgba(18, 18, 18, 0.95) 100%);
  box-shadow: 0 1px 0 rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-orders-table thead th {
  background: linear-gradient(180deg, #222222 0%, #121212 100%);
  box-shadow: 0 1px 0 rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-orders-id-tag {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

html.admin-theme-dark .seller-orders-pay-pill {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(243, 243, 243, 0.1);
  color: #e2e8f0;
}

html.admin-theme-dark .seller-orders-pay-status--paid {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}

html.admin-theme-dark .seller-orders-pay-status--pending {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(251, 146, 60, 0.4);
  color: #fdba74;
}

html.admin-theme-dark .seller-orders-no-match-inner {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(18, 18, 18, 0.6) 100%);
}

/* ----- Shipped products (line-level) ----- */
.seller-shipped-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.seller-shipped-filter {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface, #fff);
  color: var(--admin-text-muted);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.seller-shipped-filter:hover {
  border-color: rgba(139, 92, 246, 0.45);
  color: var(--admin-text);
}

.seller-shipped-filter--active {
  border-color: rgba(139, 92, 246, 0.55);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(236, 72, 153, 0.08));
  color: var(--admin-text);
}

html.admin-theme-dark .seller-shipped-filter {
  background: rgba(30, 41, 59, 0.35);
  border-color: rgba(243, 243, 243, 0.1);
  color: #94a3b8;
}

html.admin-theme-dark .seller-shipped-filter:hover {
  color: #e2e8f0;
}

html.admin-theme-dark .seller-shipped-filter--active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(236, 72, 153, 0.1));
  border-color: rgba(167, 139, 250, 0.45);
  color: #f1f5f9;
}

.seller-shipped-table-wrap {
  overflow-x: auto;
}

.seller-shipped-table {
  min-width: 920px;
}

.seller-shipped-product-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--admin-text);
}

.seller-shipped-emoji {
  font-size: 1.15rem;
  line-height: 1;
}

.seller-shipped-variant {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--admin-text-muted);
  line-height: 1.4;
}

.seller-shipped-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.seller-shipped-cat {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: capitalize;
  color: #64748b;
}

html.admin-theme-dark .seller-shipped-cat {
  color: #94a3b8;
}

.seller-shipped-order-id {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--admin-text-muted);
}

.seller-shipped-pay {
  margin-top: 4px;
  font-size: 0.78rem;
  color: #64748b;
}

html.admin-theme-dark .seller-shipped-pay {
  color: #94a3b8;
}

.seller-shipped-customer {
  font-weight: 600;
  font-size: 0.9rem;
}

.seller-shipped-email {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--admin-text-muted);
  word-break: break-all;
}

.seller-shipped-cell-qty {
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
}

.seller-shipped-times {
  margin: 0 4px;
  opacity: 0.55;
}

.seller-shipped-line-total {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--admin-text);
}

.seller-shipped-cell-date {
  font-size: 0.84rem;
  white-space: nowrap;
  color: var(--admin-text-muted);
  font-variant-numeric: tabular-nums;
}

/* ----- Settings hub ----- */
.seller-settings-page {
  max-width: 1200px;
  margin: 0 auto;
}

.seller-settings-head {
  align-items: flex-start;
}

.seller-settings-head__intro {
  min-width: 0;
}

.seller-settings-head__lede {
  margin: 8px 0 0;
  max-width: 40rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
}

.seller-settings-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 20px;
  padding: 10px 14px;
  border-radius: var(--admin-radius, 10px);
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-2, rgba(15, 23, 42, 0.02));
}

.seller-settings-toc__label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-muted);
  margin-right: 4px;
}

.seller-settings-toc__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.seller-settings-toc__link:hover {
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.1);
}

.seller-settings-toc__link--danger {
  color: #b91c1c;
}

.seller-settings-toc__link--danger:hover {
  color: #991b1b;
  background: rgba(220, 38, 38, 0.12);
}

.seller-settings-flash {
  margin-bottom: 16px;
}

.seller-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.seller-settings-grid--balanced {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.seller-settings-card--zone {
  scroll-margin-top: 88px;
  border-radius: calc(var(--admin-radius, 10px) + 2px);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  border-left: 1px solid var(--admin-border);
}

.seller-settings-card--account {
  border-top: 3px solid #8b5cf6;
}

.seller-settings-card--finance {
  border-top: 3px solid #059669;
}

.seller-settings-card--fulfil {
  border-top: 3px solid #d97706;
}

.seller-settings-card--security {
  grid-column: 1;
  border-top: 3px solid #64748b;
}

.seller-settings-card--more {
  grid-column: 2 / -1;
  border-top: 3px solid #6366f1;
}

.seller-settings-card__head {
  /* padding-bottom: 2px; */
}

.seller-settings-card__head-text .card-title {
  margin-top: 4px;
}

.seller-settings-card__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--admin-text-muted);
}

.seller-settings-card-body {
  /* padding-top: 4px; */
}

.seller-settings-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seller-settings-links--compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
}

.seller-settings-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--admin-radius, 10px);
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-2, rgba(15, 23, 42, 0.02));
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.seller-settings-link:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.06);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.08);
}

.seller-settings-link--danger {
  border-color: rgba(220, 38, 38, 0.22);
  background: rgba(254, 226, 226, 0.35);
}

.seller-settings-link--danger:hover {
  border-color: rgba(220, 38, 38, 0.45);
  background: rgba(254, 202, 202, 0.45);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.12);
}

.seller-settings-link__icon {
  flex-shrink: 0;
  display: flex;
  color: #8b5cf6;
}

.seller-settings-link__icon--muted {
  color: #64748b;
}

.seller-settings-link--danger .seller-settings-link__icon--danger {
  color: #dc2626;
}

.seller-settings-link__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seller-settings-link__label {
  font-weight: 700;
  font-size: 0.9rem;
}

.seller-settings-link__hint {
  font-size: 0.8rem;
  color: var(--admin-text-muted);
  line-height: 1.35;
}

.seller-settings-link__arrow {
  flex-shrink: 0;
  font-size: 1rem;
  opacity: 0.55;
}

button.seller-settings-link--btn,
.seller-settings-link--btn {
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.seller-settings-password-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seller-settings-field .seller-password-wrap > .seller-stock-input {
  padding-right: 2.75rem;
}

.seller-settings-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--admin-text);
}

body.seller-pw-modal-open {
  overflow: hidden;
}

.seller-pw-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.seller-pw-modal-backdrop.is-open {
  display: block;
}

.seller-pw-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1210;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  pointer-events: none;
}

.seller-pw-modal.is-open {
  display: flex;
  pointer-events: auto;
}

.seller-pw-modal__panel {
  width: 100%;
  max-width: 420px;
  max-height: min(90vh, 640px);
  overflow: auto;
  border-radius: calc(var(--admin-radius, 10px) + 4px);
  border: 1px solid var(--admin-border);
  background: var(--admin-surface, #fff);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
}

.seller-pw-modal__panel--bank {
  max-width: 480px;
}

.seller-pw-modal__panel--delete {
  max-width: 440px;
}

.seller-settings-delete-alert {
  margin-bottom: 14px;
}

.seller-pw-modal__actions--delete {
  margin-top: 18px;
  justify-content: space-between;
}

.seller-pw-modal__actions--delete .seller-btn-danger {
  min-width: 8rem;
}

html.admin-theme-dark .seller-settings-toc__link--danger {
  color: #fca5a5;
}

html.admin-theme-dark .seller-settings-toc__link--danger:hover {
  color: #fecaca;
  background: rgba(220, 38, 38, 0.2);
}

.seller-pw-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--admin-border);
}

.seller-pw-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--admin-text);
}

.seller-pw-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--admin-text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.seller-pw-modal__close:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--admin-text);
}

.seller-pw-modal__body {
  padding: 16px 18px 20px;
}

.seller-pw-modal__lead {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--admin-text-muted);
}

.seller-pw-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

html.admin-theme-dark .seller-pw-modal__panel {
  background: linear-gradient(180deg, #222222 0%, #121212 100%);
  border-color: rgba(243, 243, 243, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

html.admin-theme-dark .seller-settings-toc {
  background: rgba(30, 41, 59, 0.35);
  border-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-settings-toc__link:hover {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.15);
}

html.admin-theme-dark .seller-settings-card--zone {
  box-shadow: none;
}

html.admin-theme-dark .seller-settings-link {
  background: rgba(30, 41, 59, 0.25);
  border-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-settings-link:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(167, 139, 250, 0.35);
}

html.admin-theme-dark .seller-settings-link--danger {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.25);
}

html.admin-theme-dark .seller-settings-link--danger:hover {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(153, 27, 27, 0.35);
}

html.admin-theme-dark .seller-settings-link__icon--muted {
  color: #94a3b8;
}

@media (max-width: 1100px) {
  .seller-settings-grid--balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-settings-card--more {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .seller-settings-grid {
    grid-template-columns: 1fr;
  }

  .seller-settings-grid--balanced {
    grid-template-columns: 1fr;
  }

  .seller-settings-card--security,
  .seller-settings-card--more {
    grid-column: auto;
  }

  .seller-settings-links--compact {
    grid-template-columns: 1fr;
  }
}

/* ----- Payment gateways (seller) ----- */
.seller-pgw-head {
  align-items: flex-start;
}

.seller-pgw-lede {
  margin: 8px 0 0;
  max-width: 40rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
}

.seller-pgw-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.seller-pgw-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-pgw-step--active .seller-pgw-step__n {
  background: rgba(139, 92, 246, 0.2);
  color: #6d28d9;
}

.seller-pgw-step__n {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--admin-surface-2, rgba(15, 23, 42, 0.06));
  color: var(--admin-text-muted);
}

.seller-pgw-card {
  margin-bottom: 24px;
}

.seller-pgw-fieldset {
  border: none;
  margin: 0 0 28px;
  padding: 0;
}

.seller-pgw-fieldset:last-of-type {
  margin-bottom: 0;
}

.seller-pgw-legend {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--admin-text);
  padding: 0;
  margin: 0 0 10px;
}

.seller-pgw-hint {
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--admin-text-muted);
}

.seller-pgw-gateway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.seller-pgw-gateway-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--admin-radius, 10px);
  border: 2px solid var(--admin-border);
  background: var(--admin-surface-2, rgba(15, 23, 42, 0.02));
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.seller-pgw-gateway-tile:hover {
  border-color: rgba(139, 92, 246, 0.35);
}

.seller-pgw-gateway-tile.is-selected {
  border-color: rgba(139, 92, 246, 0.65);
  background: rgba(139, 92, 246, 0.08);
}

.seller-pgw-gateway-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.seller-pgw-gateway-tile__title {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--admin-text);
}

.seller-pgw-gateway-tile__hint {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--admin-text-muted);
}

.seller-pgw-form-row {
  margin-bottom: 14px;
}

.seller-pgw-form-row--stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.seller-pgw-form-row label,
.seller-pgw-form-row--stack label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--admin-text);
}

.seller-pgw-label-hint {
  font-weight: 500;
  color: var(--admin-text-muted);
  font-size: 0.85em;
}

.seller-pgw-webhook-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.seller-pgw-webhook-input {
  flex: 1;
  min-width: 200px;
  font-size: 0.82rem;
}

.seller-pgw-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: baseline;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.seller-pgw-summary__label {
  color: var(--admin-text-muted);
  font-weight: 600;
}

.seller-pgw-summary__val {
  color: var(--admin-text);
}

.seller-pgw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

html.admin-theme-dark .seller-pgw-gateway-tile {
  background: rgba(30, 41, 59, 0.25);
  border-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-pgw-gateway-tile.is-selected {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(139, 92, 246, 0.12);
}

html.admin-theme-dark .seller-pgw-step--active .seller-pgw-step__n {
  color: #c4b5fd;
}

/* ----- Financial settings (bank accounts) ----- */
.seller-bank-page {
  margin-top: 8px;
}

.seller-bank-empty {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: var(--admin-radius, 10px);
  border: 1px dashed var(--admin-border);
  background: var(--admin-surface-2, rgba(15, 23, 42, 0.02));
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--admin-text-muted);
}

.seller-bank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seller-bank-card {
  position: relative;
  border-radius: var(--admin-radius, 10px);
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-2, rgba(15, 23, 42, 0.02));
  padding: 16px 18px;
}

.seller-bank-card--kyc {
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.06);
}

.seller-bank-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.seller-bank-card__bank {
  font-weight: 800;
  font-size: 1rem;
  color: var(--admin-text);
}

.seller-bank-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.15);
  color: var(--admin-text-muted);
}

.seller-bank-badge--kyc {
  background: rgba(139, 92, 246, 0.2);
  color: #7c3aed;
}

.seller-bank-card__dl {
  margin: 0;
  display: grid;
  gap: 8px 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  font-size: 0.88rem;
}

.seller-bank-card__dl dt {
  margin: 0;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--admin-text-muted);
}

.seller-bank-card__dl dd {
  margin: 2px 0 0;
  color: var(--admin-text);
}

.seller-bank-mono {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.seller-bank-card__foot {
  margin: 12px 0 0;
  font-size: 0.84rem;
}

.seller-bank-card__foot a {
  color: #7c3aed;
  font-weight: 600;
}

.seller-bank-card__del {
  margin: 12px 0 0;
}

.seller-bank-remove-btn {
  padding: 6px 12px;
  font-size: 0.82rem;
}

.seller-bank-optional {
  font-weight: 500;
  color: var(--admin-text-muted);
  font-size: 0.85em;
}

html.admin-theme-dark .seller-bank-card--kyc {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(139, 92, 246, 0.1);
}

html.admin-theme-dark .seller-bank-badge--kyc {
  color: #c4b5fd;
}

/* ----- Seller dashboard (index) ----- */
.seller-dashboard-head {
  align-items: flex-start;
}

.seller-dashboard-subtitle {
  margin: 8px 0 0;
  max-width: 46rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
  font-weight: 500;
}

.seller-dashboard-head-actions {
  align-self: flex-start;
  margin-top: 4px;
}

.seller-dashboard-flash {
  margin-bottom: 16px;
}

.seller-dashboard-banner {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}

.seller-dashboard-banner__lead {
  display: inline-block;
  font-weight: 800;
  margin-right: 4px;
}

.seller-dashboard-banner__meta {
  display: block;
  width: 100%;
  font-size: 0.84rem;
  opacity: 0.95;
}

.seller-dashboard-banner__link {
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seller-dashboard-banner__link:hover {
  opacity: 0.9;
}

.seller-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.seller-dashboard-card--categories {
  margin: 0;
}

.seller-dashboard-card-sub {
  margin-top: 4px;
  max-width: 40rem;
}

.seller-dashboard-pills {
  margin-top: 4px;
}

.seller-pill--muted {
  opacity: 0.85;
  background: #f1f5f9;
  color: var(--admin-text-muted);
}

.seller-dashboard-welcome {
  border-radius: var(--admin-radius, 10px);
  border: 1px solid var(--admin-border);
  background: linear-gradient(145deg, rgba(229, 57, 53, 0.07) 0%, rgba(248, 250, 252, 0.95) 55%, #fff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.seller-dashboard-welcome__inner {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  align-items: flex-start;
}

.seller-dashboard-welcome__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
}

.seller-dashboard-welcome__title {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--admin-text);
}

.seller-dashboard-welcome__stats {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--admin-text-muted);
}

.seller-dashboard-welcome__stats strong {
  color: var(--admin-text);
  font-variant-numeric: tabular-nums;
}

.seller-dashboard-welcome__link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--admin-accent);
  text-decoration: none;
}

.seller-dashboard-welcome__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seller-dashboard-kpi {
  margin-top: 0;
  margin-bottom: 18px;
}

.seller-dashboard-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.seller-dashboard-quick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface, #fff);
  text-decoration: none;
  color: var(--admin-text);
  font-weight: 600;
  font-size: 0.86rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.seller-dashboard-quick__item:hover {
  border-color: rgba(229, 57, 53, 0.35);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  color: var(--admin-accent);
}

.seller-dashboard-quick__icon {
  display: flex;
  color: var(--admin-accent);
  opacity: 0.9;
}

.seller-dashboard-quick__label {
  text-align: center;
}

.seller-dashboard-recent-card {
  margin-bottom: 20px;
  overflow: hidden;
}

.seller-dashboard-recent-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.seller-dashboard-recent-all {
  flex-shrink: 0;
  align-self: center;
}

.seller-dashboard-table-wrap {
  border-radius: 0 0 calc(var(--admin-radius, 10px) - 1px) calc(var(--admin-radius, 10px) - 1px);
}

.seller-dashboard-table {
  min-width: 680px;
}

.seller-dashboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  box-shadow: 0 1px 0 var(--admin-border);
}

.seller-dashboard-th-actions {
  width: 1%;
}

.seller-dashboard-td-date {
  font-size: 0.84rem;
  color: var(--admin-text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.seller-dashboard-td-link {
  text-align: right;
}

.seller-dashboard-empty-orders {
  text-align: center;
  padding: 36px 20px 32px;
}

.seller-dashboard-empty-orders__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--admin-text);
}

.seller-dashboard-empty-orders__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
}

.seller-dashboard-empty-orders__text a {
  font-weight: 700;
  color: var(--admin-accent);
}

.seller-dashboard-danger {
  margin-top: 4px;
}

.seller-dashboard-danger-alert {
  margin-bottom: 16px;
}

.seller-dashboard-danger-form {
  margin-top: 0;
}

.seller-dashboard-danger-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}

.seller-dashboard-danger-fields > div {
  flex: 1;
  min-width: min(100%, 240px);
}

.seller-dashboard-danger-fields label {
  color: #9f1239;
}

.seller-dashboard-danger-submit {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .seller-dashboard-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .seller-dashboard-head-actions {
    width: 100%;
  }

  .seller-dashboard-head-actions .admin-btn {
    flex: 1;
    justify-content: center;
  }

  .seller-dashboard-recent-head .seller-dashboard-recent-all {
    width: 100%;
    justify-content: center;
  }
}

html.admin-theme-dark .seller-pill--muted {
  background: rgba(51, 65, 85, 0.45);
  color: #94a3b8;
}

html.admin-theme-dark .seller-dashboard-welcome {
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.2) 0%, rgba(18, 18, 18, 0.92) 50%, #121212 100%);
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: none;
}

html.admin-theme-dark .seller-dashboard-welcome__title {
  color: #f1f5f9;
}

html.admin-theme-dark .seller-dashboard-welcome__stats {
  color: #94a3b8;
}

html.admin-theme-dark .seller-dashboard-welcome__stats strong {
  color: #f8fafc;
}

html.admin-theme-dark .seller-dashboard-quick__item {
  background: #121212;
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: none;
  color: #e2e8f0;
}

html.admin-theme-dark .seller-dashboard-quick__item:hover {
  border-color: rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}

html.admin-theme-dark .seller-dashboard-table thead th {
  background: linear-gradient(180deg, #222222 0%, #121212 100%);
  box-shadow: 0 1px 0 rgba(243, 243, 243, 0.1);
}

/* ----- Transactions (order earnings vs withdraws) ----- */
.seller-txn-head {
  align-items: flex-start;
}

.seller-txn-subtitle {
  margin: 8px 0 0;
  max-width: 44rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
  font-weight: 500;
}

.seller-txn-subtitle strong {
  color: var(--admin-text);
  font-weight: 700;
}

.seller-txn-kpi {
  margin-top: 4px;
  margin-bottom: 18px;
}

.seller-txn-card {
  margin-bottom: 18px;
  overflow: hidden;
}

.seller-txn-card--withdraw {
  margin-bottom: 0;
}

.seller-txn-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.seller-txn-card-sub {
  margin-top: 4px;
  max-width: 42rem;
}

.seller-txn-card-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.seller-txn-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  flex-shrink: 0;
}

.seller-txn-table-wrap {
  border-radius: 0 0 calc(var(--admin-radius, 10px) - 1px) calc(var(--admin-radius, 10px) - 1px);
}

.seller-txn-table {
  min-width: 640px;
}

.seller-txn-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  box-shadow: 0 1px 0 var(--admin-border);
}

.seller-txn-th-amount {
  text-align: right;
  white-space: nowrap;
}

.seller-txn-th-actions {
  width: 1%;
}

.seller-txn-td-muted {
  font-size: 0.86rem;
  color: var(--admin-text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.seller-txn-td-amount {
  text-align: right;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.seller-txn-amount--credit {
  color: #15803d;
}

.seller-txn-amount--debit {
  color: #b91c1c;
}

.seller-txn-td-actions {
  text-align: right;
  white-space: nowrap;
}

.seller-txn-td-details {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
  max-width: 280px;
}

.seller-txn-empty {
  text-align: center;
  padding: 32px 20px 28px;
}

.seller-txn-empty__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1rem;
}

.seller-txn-empty__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
}

.seller-txn-empty__text a {
  font-weight: 700;
  color: var(--admin-accent);
}

.seller-txn-search-bar {
  padding: 14px 18px;
  border-bottom: 1px solid var(--admin-border);
  background: rgba(248, 250, 252, 0.65);
}

.seller-txn-search {
  max-width: min(100%, 400px);
}

.seller-txn-search .seller-inventory-search-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.seller-txn-no-match-row td {
  padding: 0 !important;
  border-bottom: none !important;
}

.seller-txn-no-match-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 20px;
  text-align: left;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.seller-txn-no-match-inner strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.seller-txn-no-match-inner p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--admin-text-muted);
}

.seller-txn-no-match-icon {
  flex-shrink: 0;
  display: flex;
  color: var(--admin-text-muted);
  opacity: 0.85;
}

@media (max-width: 720px) {
  .seller-txn-card-head .seller-txn-count-pill {
    order: 1;
  }

  .seller-txn-card-head-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .seller-txn-card-head-actions .admin-btn {
    flex: 1;
    justify-content: center;
  }
}

html.admin-theme-dark .seller-txn-table thead th {
  background: linear-gradient(180deg, #222222 0%, #121212 100%);
  box-shadow: 0 1px 0 rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-txn-amount--credit {
  color: #4ade80;
}

html.admin-theme-dark .seller-txn-amount--debit {
  color: #f87171;
}

html.admin-theme-dark .seller-txn-search-bar {
  background: rgba(30, 41, 59, 0.25);
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-txn-no-match-inner {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(18, 18, 18, 0.6) 100%);
}

/* ----- Withdraw requests page ----- */
.seller-withdraw-page-head .seller-txn-subtitle a {
  font-weight: 700;
  color: var(--admin-accent);
}

.seller-withdraw-flash {
  margin-bottom: 16px;
}

.seller-withdraw-kpi {
  margin-top: 4px;
  margin-bottom: 18px;
}

.seller-withdraw-card {
  margin-bottom: 18px;
  overflow: hidden;
}

.seller-withdraw-card--history {
  margin-bottom: 0;
}

.seller-withdraw-card-body {
  padding-top: 18px;
  padding-bottom: 22px;
}

.seller-withdraw-pill--muted {
  background: rgba(15, 23, 42, 0.06);
  color: var(--admin-text-muted);
}

.seller-withdraw-callout {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--admin-border);
  background: rgba(248, 250, 252, 0.85);
}

.seller-withdraw-callout--info {
  border-left: 4px solid var(--admin-accent);
}

.seller-withdraw-callout--otp {
  border-left: 4px solid #ca8a04;
  background: linear-gradient(90deg, rgba(254, 252, 232, 0.9) 0%, rgba(248, 250, 252, 0.85) 100%);
}

.seller-withdraw-callout__title {
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--admin-text);
}

.seller-withdraw-callout__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
}

.seller-withdraw-callout__text strong {
  color: var(--admin-text);
}

.seller-withdraw-callout__break {
  display: block;
  margin-top: 10px;
}

.seller-withdraw-code {
  font-size: 0.82em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--admin-border);
}

.seller-withdraw-form-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .seller-withdraw-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.seller-withdraw-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-withdraw-field--otp {
  max-width: min(100%, 280px);
}

.seller-withdraw-otp-input {
  letter-spacing: 0.12em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.seller-withdraw-optional {
  font-weight: 500;
  color: var(--admin-text-muted);
}

.seller-withdraw-form-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.seller-withdraw-form--otp .seller-withdraw-form-actions {
  justify-content: flex-start;
}

.seller-withdraw-cancel-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--admin-border);
}

.seller-withdraw-history-table {
  min-width: 920px;
}

.seller-withdraw-amt {
  color: var(--admin-text);
}

.seller-withdraw-method-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.seller-withdraw-method-pill--bank {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.seller-withdraw-method-pill--upi {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #5b21b6;
}

.seller-withdraw-acct {
  display: inline-block;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--admin-text-muted);
  vertical-align: bottom;
}

.seller-withdraw-note-cell {
  font-size: 0.84rem;
  line-height: 1.45;
  max-width: 220px;
}

.seller-withdraw-note {
  color: var(--admin-text);
}

.seller-withdraw-note--empty {
  color: var(--admin-text-muted);
}

.seller-withdraw-rejection {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b91c1c;
}

.seller-withdraw-empty .seller-txn-empty__title::before {
  content: '';
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M17 7l-5-5-5 5M5 17h14'/%3E%3C/svg%3E") center / 22px no-repeat;
}

@media (max-width: 720px) {
  .seller-withdraw-card .seller-txn-card-head .seller-txn-count-pill {
    order: 1;
  }
}

html.admin-theme-dark .seller-withdraw-pill--muted {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.65);
}

html.admin-theme-dark .seller-withdraw-callout {
  background: rgba(30, 41, 59, 0.35);
  border-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-withdraw-callout--otp {
  background: linear-gradient(90deg, rgba(113, 63, 18, 0.35) 0%, rgba(30, 41, 59, 0.35) 100%);
  border-left-color: #eab308;
}

html.admin-theme-dark .seller-withdraw-code {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(243, 243, 243, 0.12);
}

html.admin-theme-dark .seller-withdraw-cancel-form {
  border-top-color: rgba(243, 243, 243, 0.12);
}

html.admin-theme-dark .seller-withdraw-method-pill--bank {
  background: rgba(30, 58, 138, 0.35);
  border-color: rgba(147, 197, 253, 0.35);
  color: #93c5fd;
}

html.admin-theme-dark .seller-withdraw-method-pill--upi {
  background: rgba(76, 29, 149, 0.35);
  border-color: rgba(196, 181, 253, 0.35);
  color: #c4b5fd;
}

html.admin-theme-dark .seller-withdraw-rejection {
  color: #f87171;
}

html.admin-theme-dark .seller-withdraw-empty .seller-txn-empty__title::before {
  background-color: rgba(255, 255, 255, 0.06);
}

/* ----- Earnings page ----- */
.seller-earnings-kpi {
  margin-top: 4px;
  margin-bottom: 18px;
}

.seller-earnings-card {
  margin-bottom: 18px;
  overflow: hidden;
}

.seller-earnings-card--withdraw {
  margin-bottom: 0;
}

.seller-earnings-orders-table {
  min-width: 720px;
}

.seller-earnings-th-qty,
.seller-earnings-td-qty {
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.seller-earnings-td-qty {
  font-weight: 700;
  color: var(--admin-text);
}

.seller-earnings-withdraw-table {
  min-width: 600px;
}

.seller-earnings-withdraw-amt {
  color: var(--admin-text);
}

.seller-earnings-empty .seller-txn-empty__title::before {
  content: '';
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.seller-earnings-card--withdraw .seller-earnings-empty .seller-txn-empty__title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M17 7l-5-5-5 5M5 17h14'/%3E%3C/svg%3E");
}

@media (max-width: 720px) {
  .seller-earnings-card .seller-txn-card-head .seller-txn-count-pill {
    order: 1;
  }

  .seller-earnings-card .seller-txn-card-head-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .seller-earnings-card .seller-txn-card-head-actions .admin-btn {
    flex: 1;
    justify-content: center;
  }
}

html.admin-theme-dark .seller-earnings-empty .seller-txn-empty__title::before {
  background-color: rgba(255, 255, 255, 0.06);
}

/* ----- Reviews page ----- */
.seller-reviews-flash {
  margin-bottom: 16px;
}

.seller-reviews-kpi {
  margin-top: 4px;
  margin-bottom: 18px;
}

.seller-reviews-kpi-suffix {
  margin-left: 4px;
  font-size: 0.82em;
  font-weight: 700;
  opacity: 0.75;
}

.seller-reviews-card {
  margin-bottom: 0;
  overflow: hidden;
}

.seller-reviews-list-wrap {
  padding: 0 18px 20px;
}

.seller-reviews-card .seller-txn-search-bar + .seller-reviews-list-wrap {
  padding-top: 4px;
}

.seller-review-list {
  display: grid;
  gap: 18px;
}

.seller-review-list--single {
  max-width: 1120px;
}

.seller-review-moderate-breadcrumb {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: var(--admin-text-muted);
}

.seller-review-moderate-breadcrumb a {
  color: var(--admin-text-muted);
  text-decoration: none;
  font-weight: 600;
}

.seller-review-moderate-breadcrumb a:hover {
  color: var(--admin-accent);
}

.seller-review-moderate-breadcrumb__sep {
  margin: 0 8px;
  opacity: 0.55;
}

.seller-review-moderate-breadcrumb__here {
  color: var(--admin-text);
  font-weight: 600;
}

.seller-reviews-table-wrap {
  margin: 0 18px 16px;
}

.seller-reviews-list-table {
  min-width: 720px;
}

.seller-reviews-th-product {
  min-width: 200px;
}

.seller-reviews-th-rating {
  width: 72px;
}

.seller-reviews-th-preview {
  min-width: 160px;
  max-width: 260px;
}

.seller-reviews-list-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.seller-reviews-list-product__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--admin-card-cap-bg, #f1f5f9);
  border: 1px solid var(--admin-border);
}

.seller-reviews-list-product__emoji {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.35rem;
  flex-shrink: 0;
  background: var(--admin-card-cap-bg, #f1f5f9);
  border: 1px solid var(--admin-border);
}

.seller-reviews-list-product__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seller-reviews-list-product__name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--admin-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.seller-reviews-list-product__id {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-reviews-list-customer {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--admin-text);
}

.seller-reviews-td-rating {
  font-variant-numeric: tabular-nums;
}

.seller-reviews-list-rating-num {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--admin-text);
}

.seller-reviews-list-rating-max {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--admin-text-muted);
  margin-left: 1px;
}

.seller-reviews-td-date {
  font-size: 0.82rem;
  white-space: nowrap;
}

.seller-reviews-td-preview {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
  max-width: 280px;
}

.seller-reviews-list-empty {
  padding: 28px 18px 32px;
}

@media (max-width: 900px) {
  .seller-reviews-table-wrap {
    margin-left: 12px;
    margin-right: 12px;
  }
}

.seller-review-card {
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  background: linear-gradient(155deg, #ffffff 0%, #f1f5f9 55%, #f8fafc 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.seller-review-card__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.08fr) minmax(300px, 0.92fr);
  gap: 0;
  align-items: stretch;
}

.seller-review-card__main {
  position: relative;
  padding: 22px 24px 22px 22px;
  min-width: 0;
}

.seller-review-card__main::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  right: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(148, 163, 184, 0.35) 20%,
    rgba(148, 163, 184, 0.35) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.seller-review-card__eyebrow {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--admin-accent);
}

.seller-review-card__aside {
  padding: 18px 20px 20px;
  background: rgba(241, 245, 249, 0.65);
  border-left: 1px solid var(--admin-border);
  min-width: 0;
}

.seller-review-card__aside--locked {
  border-left: 3px solid rgba(217, 119, 6, 0.5);
  background: linear-gradient(145deg, rgba(255, 251, 235, 0.75) 0%, rgba(241, 245, 249, 0.9) 55%, rgba(248, 250, 252, 0.95) 100%);
}

.seller-review-card__aside--editable {
  border-left-color: rgba(37, 99, 235, 0.28);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.5) 0%, rgba(241, 245, 249, 0.75) 100%);
}

/* [hidden] loses to .admin-btn { display:inline-flex } — force hide */
button.admin-btn[hidden] {
  display: none !important;
}

.seller-review-lock-callout[hidden] {
  display: none !important;
}

.seller-review-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.seller-review-card__customer {
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--admin-text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.seller-review-card__rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.seller-reviews-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}

.seller-reviews-star {
  display: flex;
  color: #cbd5e1;
  line-height: 0;
}

.seller-reviews-star--on {
  color: #d97706;
}

.seller-review-card__rating-num {
  font-size: 0.86rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--admin-text-muted);
}

.seller-review-card__rating-max {
  font-weight: 600;
  opacity: 0.75;
}

.seller-review-card__product {
  margin-top: 16px;
  padding: 0;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.seller-review-card__product-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.seller-review-card__product-icon {
  display: flex;
  color: var(--admin-text-muted);
  opacity: 0.85;
}

.seller-review-card__product-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--admin-text-muted);
}

.seller-review-card__product-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seller-review-card__product-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--admin-text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.seller-review-card__product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-review-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--admin-border);
  background: #fff;
  color: var(--admin-text);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.seller-review-pill-link:hover {
  border-color: var(--admin-accent);
  color: var(--admin-accent);
  background: rgba(229, 57, 53, 0.04);
}

.seller-review-pill-link--primary {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(239, 246, 255, 0.85);
  color: #1d4ed8;
}

.seller-review-pill-link--primary:hover {
  border-color: #2563eb;
  color: #1e40af;
  background: rgba(219, 234, 254, 0.95);
}

.seller-review-quote {
  margin: 16px 0 0;
  padding: 0 0 0 14px;
  border: none;
  border-left: 3px solid rgba(229, 57, 53, 0.35);
}

.seller-review-quote__body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 0.93rem;
  color: var(--admin-text);
}

.seller-review-text--empty {
  color: var(--admin-text-muted);
  font-style: italic;
  white-space: normal;
}

.seller-review-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--admin-text-muted);
  font-variant-numeric: tabular-nums;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.seller-review-time__icon {
  display: flex;
  color: var(--admin-text-muted);
  opacity: 0.8;
}

.seller-review-time__text strong {
  color: var(--admin-text);
  font-weight: 700;
}

.seller-review-form {
  margin: 0;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06);
}

.seller-review-card__aside--locked .seller-review-form {
  box-shadow:
    0 1px 2px rgba(180, 83, 9, 0.06),
    0 8px 22px rgba(15, 23, 42, 0.05);
  border-color: rgba(217, 119, 6, 0.22);
}

.seller-review-form__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.seller-review-form__head-titles {
  min-width: 0;
}

.seller-review-form__eyebrow {
  margin: 0 0 4px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--admin-accent);
}

.seller-review-form__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--admin-text);
  line-height: 1.25;
}

.seller-review-form__state-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #b45309;
}

.seller-review-form__state-badge--editing {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
  color: #1d4ed8;
}

.seller-review-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seller-review-form__field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  margin-bottom: 6px;
}

.seller-review-status-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.seller-review-form__hint {
  margin: 6px 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}

.seller-review-reply-input {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
  box-sizing: border-box;
  border-radius: 10px;
}

.seller-review-card__aside--locked .seller-review-status-select:disabled,
.seller-review-card__aside--locked .seller-review-reply-input:disabled {
  opacity: 0.88;
  cursor: not-allowed;
  background: rgba(248, 250, 252, 0.95);
  color: var(--admin-text);
}

.seller-review-meta-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.seller-review-meta-times__item {
  min-width: 0;
}

.seller-review-meta-times__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-muted);
  margin-bottom: 4px;
}

.seller-review-meta-times__value {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--admin-text);
  line-height: 1.35;
}

.seller-review-lock-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(217, 119, 6, 0.35);
  background: rgba(255, 251, 235, 0.85);
}

.seller-review-lock-callout__icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: #b45309;
  opacity: 0.9;
}

.seller-review-lock-callout__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--admin-text);
}

.seller-review-form__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  margin-left: -2px;
  margin-right: -2px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.seller-review-form--editing .seller-review-form__actions {
  border-top-color: rgba(37, 99, 235, 0.22);
}

.seller-review-form__actions .seller-review-edit-btn {
  min-width: min(100%, 160px);
  font-weight: 700;
}

.seller-review-form__actions .admin-btn--primary {
  min-width: min(100%, 140px);
  font-weight: 700;
}

.seller-reviews-no-match {
  border: 1px dashed var(--admin-border);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.75);
}

.seller-reviews-no-match__inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
}

.seller-reviews-no-match__icon {
  flex-shrink: 0;
  color: var(--admin-text-muted);
  opacity: 0.85;
  margin-top: 2px;
}

.seller-reviews-no-match__title {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.seller-reviews-no-match__text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--admin-text-muted);
  line-height: 1.45;
}

.seller-reviews-empty .seller-txn-empty__title::before {
  content: '';
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center / 22px no-repeat;
}

@media (max-width: 920px) {
  .seller-review-card__grid {
    grid-template-columns: 1fr;
  }

  .seller-review-card__main::after {
    display: none;
  }

  .seller-review-card__aside {
    border-left: none;
    border-top: 1px solid var(--admin-border);
  }

  .seller-review-card__aside--locked {
    border-left: none;
    border-top: 3px solid rgba(217, 119, 6, 0.55);
  }

  .seller-review-card__aside--editable {
    border-top: 3px solid rgba(37, 99, 235, 0.22);
  }

  .seller-review-meta-times {
    grid-template-columns: 1fr;
  }

  .seller-review-form__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .seller-review-form__actions .admin-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .seller-reviews-card .seller-txn-card-head .seller-txn-count-pill {
    order: 1;
  }
}

html.admin-theme-dark .seller-review-card {
  background: linear-gradient(165deg, #151a22 0%, #121212 100%);
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

html.admin-theme-dark .seller-review-card__aside {
  background: rgba(30, 41, 59, 0.35);
  border-left-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-review-card__aside--locked {
  background: linear-gradient(145deg, rgba(120, 53, 15, 0.22) 0%, rgba(30, 41, 59, 0.5) 100%);
  border-left-color: rgba(251, 191, 36, 0.45);
}

html.admin-theme-dark .seller-review-card__aside--editable {
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.15) 0%, rgba(30, 41, 59, 0.4) 100%);
  border-left-color: rgba(96, 165, 250, 0.35);
}

html.admin-theme-dark .seller-review-form {
  background: rgba(18, 24, 32, 0.92);
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

html.admin-theme-dark .seller-review-card__aside--locked .seller-review-form {
  border-color: rgba(251, 191, 36, 0.25);
}

html.admin-theme-dark .seller-review-form__head {
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-review-form__state-badge {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

html.admin-theme-dark .seller-review-form__state-badge--editing {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  color: #93c5fd;
}

html.admin-theme-dark .seller-review-meta-times {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-review-lock-callout {
  background: rgba(120, 53, 15, 0.22);
  border-color: rgba(251, 191, 36, 0.35);
}

html.admin-theme-dark .seller-review-lock-callout__icon {
  color: #fbbf24;
}

html.admin-theme-dark .seller-review-lock-callout__text {
  color: #e8edf3;
}

html.admin-theme-dark .seller-review-form__actions {
  border-top-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-review-card__product {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: none;
}

html.admin-theme-dark .seller-review-card__product-head {
  background: rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-review-pill-link {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(243, 243, 243, 0.12);
  color: #e8edf3;
}

html.admin-theme-dark .seller-review-pill-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

html.admin-theme-dark .seller-review-pill-link--primary {
  background: rgba(30, 58, 138, 0.35);
  border-color: rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

html.admin-theme-dark .seller-review-quote {
  border-left-color: rgba(248, 113, 113, 0.45);
}

html.admin-theme-dark .seller-review-quote__body {
  color: #e8edf3;
}

html.admin-theme-dark .seller-review-time {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-review-card__aside--locked .seller-review-status-select:disabled,
html.admin-theme-dark .seller-review-card__aside--locked .seller-review-reply-input:disabled {
  background: rgba(0, 0, 0, 0.25);
  color: #e8edf3;
}

html.admin-theme-dark .seller-reviews-star {
  color: rgba(148, 163, 184, 0.35);
}

html.admin-theme-dark .seller-review-moderate-breadcrumb a {
  color: #94a3b8;
}

html.admin-theme-dark .seller-review-moderate-breadcrumb__here {
  color: var(--admin-text);
}

html.admin-theme-dark .seller-reviews-list-product__thumb,
html.admin-theme-dark .seller-reviews-list-product__emoji {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--admin-border);
}

html.admin-theme-dark .seller-reviews-star--on {
  color: #fbbf24;
}

html.admin-theme-dark .seller-reviews-no-match {
  background: rgba(30, 41, 59, 0.35);
  border-color: rgba(243, 243, 243, 0.12);
}

@media (max-width: 920px) {
  html.admin-theme-dark .seller-review-card__aside {
    border-top-color: rgba(243, 243, 243, 0.1);
  }
}

html.admin-theme-dark .seller-reviews-empty .seller-txn-empty__title::before {
  background-color: rgba(255, 255, 255, 0.06);
}

/* ----- Inventory page ----- */
.seller-inventory-flash {
  margin-bottom: 16px;
}

.seller-inventory-kpi {
  margin-top: 4px;
  margin-bottom: 18px;
}

.seller-inventory-card {
  margin-bottom: 0;
  overflow: hidden;
}

.seller-inventory-search-bar {
  padding: 14px 18px;
  border-bottom: 1px solid var(--admin-border);
  background: rgba(248, 250, 252, 0.65);
}

.seller-inventory-search-bar .seller-inventory-search-wrap--bar {
  max-width: min(100%, 420px);
}

.seller-inventory-table-wrap {
  border-radius: 0 0 calc(var(--admin-radius, 10px) - 1px) calc(var(--admin-radius, 10px) - 1px);
}

.seller-inventory-table {
  min-width: 960px;
}

.seller-inventory-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  box-shadow: 0 1px 0 var(--admin-border);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-muted);
}

.seller-inventory-th-price,
.seller-inventory-th-stock,
.seller-inventory-td-price,
.seller-inventory-td-stock {
  text-align: right;
}

.seller-inventory-th-stock,
.seller-inventory-td-stock .seller-inventory-stock-input {
  text-align: right;
}

.seller-inventory-td-stock {
  vertical-align: top;
}

.seller-inventory-td-stock .seller-inventory-stock-hint {
  margin: 6px 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--admin-text-muted);
  text-align: right;
  max-width: 11rem;
  margin-left: auto;
}

.seller-inventory-td-muted {
  font-size: 0.86rem;
  color: var(--admin-text-muted);
  vertical-align: top;
}

.seller-inventory-td-price {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  vertical-align: top;
  white-space: nowrap;
}

.seller-inventory-td-preview {
  vertical-align: top;
  white-space: nowrap;
}

.seller-inventory-main-row td {
  padding-top: 14px;
  padding-bottom: 12px;
  vertical-align: top;
}

.seller-inventory-product-cell {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.seller-inventory-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.seller-inventory-product-meta {
  min-width: 0;
  flex: 1;
}

.seller-inventory-product-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.seller-inventory-product-name {
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--admin-text);
  letter-spacing: -0.01em;
}

.seller-inventory-id-pill {
  flex-shrink: 0;
  font-size: 0.72rem !important;
}

.seller-inventory-slug {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--admin-text-muted);
  word-break: break-word;
}

.seller-inventory-stock-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.seller-inventory-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seller-inventory-chip--variants {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #1d4ed8;
}

.seller-inventory-chip--low {
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #b45309;
}

.seller-inventory-chip--out {
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.28);
  color: #b91c1c;
}

.seller-inventory-stock-input {
  max-width: 6.5rem;
  margin-left: auto;
  display: block;
}

.seller-inventory-status-select,
.seller-inventory-badge-input {
  min-width: 0;
  max-width: 100%;
}

.seller-inventory-badge-input {
  max-width: 10rem;
}

.seller-inventory-preview-link {
  font-size: 0.78rem;
  padding: 6px 10px;
  min-height: 0;
}

.seller-variant-summary-row td {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.seller-variant-cell {
  padding: 12px 16px 14px !important;
}

.seller-inventory-variant-empty {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.seller-inventory-variant-empty__icon {
  flex-shrink: 0;
  display: flex;
  margin-top: 1px;
  color: var(--admin-text-muted);
  opacity: 0.85;
}

.seller-inventory-variant-empty__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--admin-text-muted);
}

.seller-inventory-variant-empty__text a {
  font-weight: 700;
  color: var(--admin-accent);
}

.seller-inventory-no-match-tbody td {
  padding: 0 !important;
  border-bottom: none !important;
}

.seller-inventory-no-match-inner {
  margin: 0 16px 16px;
  border-radius: 12px;
}

.seller-inventory-empty .seller-txn-empty__title::before {
  content: '';
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 7h-9M14 17H5'/%3E%3Ccircle cx='17' cy='17' r='3'/%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3C/svg%3E") center / 22px no-repeat;
}

@media (max-width: 720px) {
  .seller-inventory-card .seller-txn-card-head .seller-txn-count-pill {
    order: 1;
  }

  .seller-inventory-card-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .seller-inventory-card-actions .admin-btn {
    flex: 1;
    justify-content: center;
  }
}

html.admin-theme-dark .seller-inventory-search-bar {
  background: rgba(30, 41, 59, 0.25);
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-inventory-table thead th {
  background: linear-gradient(180deg, #222222 0%, #121212 100%);
  box-shadow: 0 1px 0 rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-variant-summary-row td {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(18, 18, 18, 0.5) 100%);
  border-top-color: rgba(243, 243, 243, 0.08);
}

html.admin-theme-dark .seller-inventory-chip--variants {
  background: rgba(30, 58, 138, 0.35);
  border-color: rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

html.admin-theme-dark .seller-inventory-chip--low {
  background: rgba(120, 53, 15, 0.35);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

html.admin-theme-dark .seller-inventory-chip--out {
  background: rgba(127, 29, 29, 0.3);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

html.admin-theme-dark .seller-inventory-no-match-inner {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(18, 18, 18, 0.6) 100%);
}

html.admin-theme-dark .seller-inventory-empty .seller-txn-empty__title::before {
  background-color: rgba(255, 255, 255, 0.06);
}

/* ----- Seller profile page ----- */
.seller-profile-page-head .seller-txn-subtitle a {
  font-weight: 700;
  color: var(--admin-accent);
}

.seller-profile-flash {
  margin-bottom: 16px;
}

.seller-profile-kpi {
  margin-top: 4px;
  margin-bottom: 18px;
}

.seller-profile-callouts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.seller-profile-callout {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 119, 6, 0.35);
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.95) 0%, rgba(254, 252, 232, 0.6) 100%);
}

.seller-profile-callout--warn .seller-profile-callout__title {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #b45309;
}

.seller-profile-callout__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--admin-text);
}

.seller-profile-card {
  margin-bottom: 18px;
  overflow: hidden;
}

.seller-profile-card--last {
  margin-bottom: 0;
}

.seller-profile-card-body {
  padding-top: 6px;
}

.seller-profile-detail-grid {
  gap: 12px;
}

.seller-profile-detail-item {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.seller-profile-brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.seller-profile-brand-card {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--admin-border);
  background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.seller-profile-brand-card--wide {
  min-width: 0;
}

.seller-profile-brand-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--admin-text-muted);
}

.seller-profile-brand-img {
  display: block;
  margin: 0;
}

.seller-profile-brand-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  border-radius: 10px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(248, 250, 252, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  text-align: center;
  padding: 12px;
}

.seller-profile-brand-placeholder--banner {
  min-height: 120px;
}

.seller-profile-form .seller-profile-textarea {
  resize: vertical;
  min-height: 4.5rem;
  line-height: 1.45;
  font-family: inherit;
}

.seller-profile-file-input {
  padding: 10px 12px;
  font-size: 0.82rem;
  cursor: pointer;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, #fff 100%);
  width: 100%;
}

.seller-profile-file-input:hover {
  border-color: rgba(229, 57, 53, 0.38);
  background: #fff;
}

.seller-profile-file-input::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.seller-profile-file-input::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.seller-profile-file-input::file-selector-button:hover,
.seller-profile-file-input::-webkit-file-upload-button:hover {
  filter: brightness(0.97);
}

.seller-profile-upload-field {
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 12px;
  background: rgba(248, 250, 252, 0.65);
}

.seller-profile-file-name {
  margin: 8px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--admin-text);
  word-break: break-word;
}

.seller-profile-file-hint {
  margin: 6px 0 0;
  font-size: 0.76rem;
  color: var(--admin-text-muted);
  line-height: 1.4;
}

.seller-profile-form-actions {
  margin-top: 4px;
}

.seller-profile-mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.seller-profile-doc-cell {
  display: block;
}

.seller-profile-doc-btn {
  font-size: 0.78rem;
  padding: 6px 12px;
  min-height: 0;
}

@media (max-width: 900px) {
  .seller-profile-brand-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .seller-profile-card .seller-txn-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .seller-profile-card .seller-txn-card-head .admin-btn {
    width: 100%;
    justify-content: center;
  }

  .seller-profile-page-head .seller-txn-card-head-actions {
    width: 100%;
  }

  .seller-profile-page-head .seller-txn-card-head-actions .admin-btn {
    flex: 1;
    justify-content: center;
  }
}

html.admin-theme-dark .seller-profile-callout {
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.25) 0%, rgba(30, 41, 59, 0.35) 100%);
  border-color: rgba(251, 191, 36, 0.35);
}

html.admin-theme-dark .seller-profile-callout--warn .seller-profile-callout__title {
  color: #fbbf24;
}

html.admin-theme-dark .seller-profile-callout__text {
  color: #e8edf3;
}

html.admin-theme-dark .seller-profile-brand-card {
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.45) 0%, rgba(18, 18, 18, 0.65) 100%);
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

html.admin-theme-dark .seller-profile-brand-placeholder {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(243, 243, 243, 0.15);
  color: #94a3b8;
}

html.admin-theme-dark .seller-profile-upload-field {
  background: rgba(30, 41, 59, 0.35);
  border-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-profile-file-input {
  background: rgba(18, 18, 18, 0.62);
  border-color: rgba(243, 243, 243, 0.15);
  color: #e5e7eb;
}

html.admin-theme-dark .seller-profile-file-input:hover {
  border-color: rgba(248, 113, 113, 0.45);
}

html.admin-theme-dark .seller-profile-file-input::file-selector-button,
html.admin-theme-dark .seller-profile-file-input::-webkit-file-upload-button {
  background: rgba(229, 57, 53, 0.18);
  border-color: rgba(243, 243, 243, 0.14);
  color: #fecaca;
}

html.admin-theme-dark .seller-profile-file-name {
  color: #e5e7eb;
}

/* ----- KYC & Bank page ----- */
.seller-kyc-page-head .seller-txn-subtitle a {
  font-weight: 700;
  color: var(--admin-accent);
}

.seller-kyc-kpi {
  margin-top: 4px;
  margin-bottom: 18px;
}

.seller-kyc-callout {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(185, 28, 28, 0.28);
  background: linear-gradient(90deg, rgba(254, 242, 242, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.seller-kyc-callout--reject .seller-kyc-callout__title {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b91c1c;
}

.seller-kyc-callout__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--admin-text);
}

.seller-kyc-card {
  margin-bottom: 0;
  overflow: hidden;
}

.seller-kyc-card-body {
  padding-top: 8px;
}

.seller-kyc-flash {
  margin-bottom: 14px;
}

.seller-kyc-pill--locked {
  background: rgba(217, 119, 6, 0.12) !important;
  border: 1px solid rgba(217, 119, 6, 0.35) !important;
  color: #b45309 !important;
}

.seller-kyc-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 14px;
}

.seller-kyc-status-meta {
  font-size: 0.8rem;
  color: var(--admin-text-muted);
  margin-left: auto;
}

.seller-kyc-status-meta strong {
  color: var(--admin-text);
  font-weight: 700;
}

.seller-kyc-intro {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.85) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.seller-kyc-intro__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--admin-text);
}

.seller-kyc-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.seller-kyc-doc-card {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--admin-border);
  background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.seller-kyc-doc-card__title {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--admin-text-muted);
}

.seller-kyc-doc-btn {
  font-size: 0.78rem;
  padding: 6px 12px;
  min-height: 0;
}

.seller-kyc-doc-missing {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-kyc-request-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(217, 119, 6, 0.45);
  background: rgba(255, 251, 235, 0.65);
}

.seller-kyc-request-banner__text {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--admin-text);
  max-width: 42rem;
}

.seller-kyc-request-form {
  margin: 0;
}

.seller-kyc-request-btn {
  font-weight: 700;
  white-space: nowrap;
}

.seller-kyc-section {
  margin: 0;
  padding: 20px 18px 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.72);
}

.seller-kyc-section + .seller-kyc-section {
  margin-top: 14px;
}

.seller-kyc-section:first-of-type {
  margin-top: 4px;
}

.seller-kyc-section__head {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.seller-kyc-section__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--admin-text);
  line-height: 1.25;
}

.seller-kyc-section__sub {
  margin: 0;
  max-width: 40rem;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--admin-text-muted);
}

.seller-kyc-form__row {
  gap: 18px;
  align-items: start;
}

.seller-kyc-field-group {
  min-width: 0;
  margin-bottom: 10px;
}

.seller-kyc-field-group > label:not(.seller-kyc-file-label) {
  margin-bottom: 8px;
  font-size: 0.84rem;
}

.seller-kyc-field-group--stack > input[type='text'],
.seller-kyc-field-group--stack > input[type='file'] {
  max-width: 100%;
}

.seller-kyc-input--gst {
  max-width: 18rem;
}

.seller-kyc-input--pan {
  max-width: 12rem;
}

.seller-kyc-input--aadhaar {
  max-width: 14rem;
}

.seller-kyc-input--ifsc {
  max-width: 11rem;
}

.seller-kyc-input--city {
  max-width: 16rem;
}

.seller-kyc-input--state {
  max-width: 12rem;
}

.seller-kyc-input--pin {
  max-width: 8.5rem;
}

.seller-kyc-input--mono {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.seller-kyc-optional {
  font-weight: 500;
  font-size: 0.82em;
  color: var(--admin-text-muted);
}

.seller-kyc-file-hint-inline {
  font-weight: 500;
  font-size: 0.78em;
  color: var(--admin-text-muted);
}

.seller-kyc-file-label {
  display: block;
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-kyc-attach {
  margin-top: 14px;
}

.seller-kyc-attach--locked {
  opacity: 0.92;
}

.seller-kyc-attach__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 8px;
}

.seller-kyc-attach__title {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-kyc-attach__types {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--admin-text-muted);
  opacity: 0.88;
}

.seller-kyc-attach__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.seller-kyc-attach__row:hover {
  border-color: rgba(229, 57, 53, 0.32);
  background: #fff;
}

.seller-kyc-attach__row:focus-within {
  outline: none;
  border-color: rgba(229, 57, 53, 0.55);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.16);
}

.seller-kyc-attach__row--readonly {
  cursor: default;
  background: rgba(248, 250, 252, 0.95);
}

.seller-kyc-attach__row--readonly:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(248, 250, 252, 0.95);
  box-shadow: none;
}

.seller-kyc-attach__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

.seller-kyc-attach__icon {
  flex-shrink: 0;
  display: flex;
  color: var(--admin-text-muted);
  opacity: 0.85;
  pointer-events: none;
}

.seller-kyc-attach__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.seller-kyc-attach__filename {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--admin-text, #0f172a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-kyc-attach__hint {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--admin-text-muted);
}

.seller-kyc-attach__badge {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--admin-accent);
  background: var(--admin-accent-soft);
  border: 1px solid rgba(229, 57, 53, 0.22);
  pointer-events: none;
}

.seller-kyc-attach__footer {
  margin-top: 8px;
}

.seller-kyc-attach__open {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--admin-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 57, 53, 0.35);
}

.seller-kyc-attach__open:hover {
  border-bottom-color: var(--admin-accent);
}

.seller-kyc-file {
  padding: 8px 10px;
  font-size: 0.82rem;
  cursor: pointer;
  border-radius: 8px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.85);
}

.seller-kyc-file:hover {
  border-color: rgba(229, 57, 53, 0.35);
  background: #fff;
}

.seller-kyc-file::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.seller-kyc-file::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.seller-kyc-file::file-selector-button:hover {
  filter: brightness(0.97);
}

.seller-kyc-file::-webkit-file-upload-button:hover {
  filter: brightness(0.97);
}

.seller-kyc-uploaded-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.seller-kyc-uploaded-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.seller-kyc-uploaded-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--admin-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 57, 53, 0.35);
}

.seller-kyc-uploaded-link:hover {
  border-bottom-color: var(--admin-accent);
}

.seller-kyc-submit-panel {
  margin-top: 16px;
  padding: 18px 18px 16px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.seller-kyc-submit-panel__hint {
  margin: 0 0 14px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
  max-width: 44rem;
}

.seller-kyc-submit-btn {
  min-width: 12rem;
  font-weight: 800;
}

.seller-kyc-form-actions {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.seller-kyc-form--locked {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .seller-kyc-doc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .seller-kyc-card .seller-txn-card-head .seller-txn-count-pill {
    order: 1;
  }

  .seller-kyc-status-meta {
    margin-left: 0;
    width: 100%;
  }

  .seller-kyc-request-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .seller-kyc-request-btn {
    width: 100%;
    justify-content: center;
  }
}

html.admin-theme-dark .seller-kyc-callout {
  background: linear-gradient(90deg, rgba(127, 29, 29, 0.25) 0%, rgba(30, 41, 59, 0.35) 100%);
  border-color: rgba(248, 113, 113, 0.35);
}

html.admin-theme-dark .seller-kyc-callout--reject .seller-kyc-callout__title {
  color: #fca5a5;
}

html.admin-theme-dark .seller-kyc-callout__text {
  color: #e8edf3;
}

html.admin-theme-dark .seller-kyc-intro {
  border-color: rgba(96, 165, 250, 0.35);
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.25) 0%, rgba(30, 41, 59, 0.35) 100%);
}

html.admin-theme-dark .seller-kyc-intro__text {
  color: #e8edf3;
}

html.admin-theme-dark .seller-kyc-doc-card {
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.45) 0%, rgba(18, 18, 18, 0.55) 100%);
  border-color: rgba(243, 243, 243, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

html.admin-theme-dark .seller-kyc-request-banner {
  background: rgba(120, 53, 15, 0.2);
  border-color: rgba(251, 191, 36, 0.35);
}

html.admin-theme-dark .seller-kyc-section {
  border-color: rgba(243, 243, 243, 0.12);
  background: rgba(30, 41, 59, 0.38);
}

html.admin-theme-dark .seller-kyc-section__head {
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-kyc-attach__row {
  background: rgba(18, 18, 18, 0.55);
  border-color: rgba(243, 243, 243, 0.14);
}

html.admin-theme-dark .seller-kyc-attach__row:hover {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(24, 24, 24, 0.65);
}

html.admin-theme-dark .seller-kyc-attach__row:focus-within {
  border-color: rgba(248, 113, 113, 0.55);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

html.admin-theme-dark .seller-kyc-attach__row--readonly {
  background: rgba(30, 41, 59, 0.35);
}

html.admin-theme-dark .seller-kyc-attach__row--readonly:hover {
  border-color: rgba(243, 243, 243, 0.14);
  background: rgba(30, 41, 59, 0.35);
}

html.admin-theme-dark .seller-kyc-attach__filename {
  color: #e5e7eb;
}

html.admin-theme-dark .seller-kyc-attach__badge {
  background: rgba(229, 57, 53, 0.18);
  border-color: rgba(243, 243, 243, 0.12);
  color: #fecaca;
}

html.admin-theme-dark .seller-kyc-attach__open {
  color: #fca5a5;
  border-bottom-color: rgba(248, 113, 113, 0.45);
}

html.admin-theme-dark .seller-kyc-attach__open:hover {
  color: #fecaca;
  border-bottom-color: #fecaca;
}

html.admin-theme-dark .seller-kyc-file {
  background: rgba(18, 18, 18, 0.65);
  border-color: rgba(243, 243, 243, 0.14);
  color: #e5e7eb;
}

html.admin-theme-dark .seller-kyc-file:hover {
  border-color: rgba(248, 113, 113, 0.45);
}

html.admin-theme-dark .seller-kyc-file::file-selector-button,
html.admin-theme-dark .seller-kyc-file::-webkit-file-upload-button {
  background: rgba(229, 57, 53, 0.18);
  border-color: rgba(243, 243, 243, 0.14);
  color: #fecaca;
}

html.admin-theme-dark .seller-kyc-uploaded-pill {
  color: #86efac;
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.35);
}

html.admin-theme-dark .seller-kyc-uploaded-link {
  color: #fca5a5;
  border-bottom-color: rgba(248, 113, 113, 0.45);
}

html.admin-theme-dark .seller-kyc-uploaded-link:hover {
  color: #fecaca;
  border-bottom-color: #fecaca;
}

html.admin-theme-dark .seller-kyc-submit-panel {
  border-color: rgba(243, 243, 243, 0.12);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(18, 18, 18, 0.55) 100%);
}

/* Add product wizard — Riho / Pixelstrap–style (add-product.php) */
.seller-add-product--riho {
  max-width: 1280px;
  margin: 0 auto;
}

.seller-wizard-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--admin-text-muted);
  margin-bottom: 8px;
}

.seller-wizard-breadcrumb a {
  color: var(--admin-text-muted);
  text-decoration: none;
}

.seller-add-product--riho .seller-wizard-breadcrumb a:hover {
  color: #dc2626;
}

.seller-wizard-breadcrumb a:hover {
  color: var(--admin-accent);
}

.seller-wizard-breadcrumb__sep {
  opacity: 0.6;
}

.seller-wizard-breadcrumb__current {
  color: var(--admin-text);
  font-weight: 600;
}

.seller-wizard-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.seller-wizard-page-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--admin-text);
  letter-spacing: -0.02em;
}

.seller-wizard-back-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--admin-text-muted);
  text-decoration: none;
}

.seller-add-product--riho .seller-wizard-back-link:hover {
  color: #b91c1c;
}

.seller-wizard-back-link:hover {
  color: var(--admin-accent);
}

.seller-add-product-kyc {
  margin-bottom: 16px;
}

.seller-wizard-card {
  border-radius: 12px;
  box-shadow: var(--admin-shadow-card);
  border: 1px solid var(--admin-border);
  overflow: hidden;
}

.seller-add-product--riho .seller-wizard-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 40px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.04);
}

.seller-add-product--riho .seller-wizard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b91c1c 0%, #dc2626 45%, #f87171 100%);
  pointer-events: none;
  z-index: 2;
}

.seller-product-wizard {
  --seller-wizard-active: #dc2626;
  --seller-wizard-active-hover: #b91c1c;
  --seller-wizard-active-soft: rgba(220, 38, 38, 0.2);
  --seller-wizard-active-muted: rgba(220, 38, 38, 0.1);
  --seller-wizard-line: #e2e8f0;
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: var(--admin-surface);
}

.seller-wizard-sidebar-title {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.seller-wizard-steps {
  flex: 0 0 100%;
  max-width: 100%;
  border-right: 1px solid var(--admin-border);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 22px 18px 20px;
}

@media (min-width: 900px) {
  .seller-wizard-steps {
    flex: 0 0 28%;
    max-width: 320px;
    min-width: 260px;
    padding: 28px 22px 28px;
  }

  .seller-wizard-main {
    flex: 1 1 0;
    min-width: 0;
  }
}

.seller-wizard-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.seller-wizard-step {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 0 0 20px 0;
}

.seller-wizard-step__rail {
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 0;
  width: 0;
  border-left: 1px dashed var(--seller-wizard-line);
}

.seller-wizard-step__rail--last {
  display: none;
}

.seller-wizard-step:last-child .seller-wizard-step__rail {
  display: none;
}

.seller-wizard-step__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #94a3b8;
  border: 1px solid var(--admin-border);
  z-index: 1;
}

.seller-wizard-step--active .seller-wizard-step__icon {
  background: var(--seller-wizard-active);
  color: #fff;
  border-color: var(--seller-wizard-active);
  box-shadow: 0 2px 8px var(--seller-wizard-active-soft);
}

.seller-wizard-step--done .seller-wizard-step__icon {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.4);
}

.seller-wizard-step__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-top: 2px;
}

.seller-wizard-step__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #94a3b8;
}

.seller-wizard-step--active .seller-wizard-step__title {
  color: var(--admin-text);
}

.seller-wizard-step--done .seller-wizard-step__title {
  color: #64748b;
}

.seller-wizard-step__desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.35;
}

.seller-wizard-main {
  flex: 1 1 100%;
  padding: 28px 28px 24px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 14%);
}

.seller-wizard-form-title {
  margin: 0 0 20px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--admin-text);
}

.seller-wizard-panel[hidden] {
  display: none !important;
}

.seller-wizard-panel__lead,
.seller-wizard-panel__note {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--admin-text-muted);
  line-height: 1.45;
}

.seller-form-field {
  margin-bottom: 18px;
}

.seller-form-field--editor {
  margin-bottom: 8px;
}

.seller-form-field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}

.seller-req {
  color: #dc2626;
  font-weight: 700;
}

.seller-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.seller-input-wrap__input {
  width: 100%;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 10px 36px 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--admin-text);
}

.seller-input-wrap__input:focus {
  outline: none;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px var(--admin-accent-soft);
}

.seller-input-wrap--error .seller-input-wrap__input,
.seller-input-wrap__input.seller-input-wrap__input--error {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.2);
}

.seller-input-wrap__icon {
  position: absolute;
  right: 10px;
  display: flex;
  color: #dc2626;
  pointer-events: none;
}

.seller-form-field__error {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #dc2626;
}

.seller-form-field__success {
  margin: 6px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #16a34a;
}

.seller-form-field__hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--admin-text-muted);
}

/* Wizard form — scoped polish + theme (add-product.php) */
.seller-product-wizard .seller-form-field {
  margin-bottom: 22px;
}

.seller-product-wizard .seller-form-field__label {
  margin-bottom: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.01em;
}

.seller-product-wizard .seller-input-wrap__input,
.seller-product-wizard .seller-wizard-select,
.seller-product-wizard .seller-wizard-textarea {
  border-radius: 10px;
  border-color: #e2e8f0;
  padding: 11px 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.seller-product-wizard .seller-input-wrap__input {
  padding-right: 40px;
}

.seller-product-wizard .seller-input-wrap__input:focus,
.seller-product-wizard .seller-wizard-select:focus,
.seller-product-wizard .seller-wizard-textarea:focus {
  outline: none;
  border-color: var(--seller-wizard-active);
  box-shadow:
    0 0 0 3px var(--seller-wizard-active-soft),
    0 1px 2px rgba(15, 23, 42, 0.06);
}

.seller-product-wizard .seller-form-field__hint {
  line-height: 1.45;
  color: #64748b;
}

.seller-product-wizard .seller-form-field__success {
  color: #15803d;
}

.seller-form-field--disabled .seller-input-wrap__input,
.seller-form-field--disabled .seller-wizard-select,
.seller-form-field--disabled .seller-wizard-file {
  opacity: 0.65;
  pointer-events: none;
}

.seller-quill-wrap {
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.seller-product-wizard .seller-quill-wrap {
  border-radius: 12px;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.seller-product-wizard .seller-quill-wrap:focus-within {
  border-color: var(--seller-wizard-active);
  box-shadow:
    0 0 0 3px var(--seller-wizard-active-soft),
    0 1px 3px rgba(15, 23, 42, 0.06);
}

.seller-quill-wrap--error {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.2);
}

.seller-quill-editor .ql-toolbar.ql-snow {
  border: none;
  border-bottom: 1px solid var(--admin-border);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.seller-quill-editor .ql-container.ql-snow {
  border: none;
  font-family: inherit;
}

.seller-quill-editor .ql-editor {
  min-height: 200px;
  font-size: 0.92rem;
}

.seller-quill-editor--disabled {
  pointer-events: none;
  opacity: 0.65;
}

.seller-wizard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.seller-wizard-select {
  width: 100%;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--admin-text);
}

.seller-wizard-file {
  width: 100%;
  font-size: 0.85rem;
}

.seller-wizard-file-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.seller-wizard-drop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) {
  .seller-wizard-drop-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.seller-wizard-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 168px;
  padding: 22px 18px;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.seller-wizard-dropzone:hover,
.seller-wizard-dropzone:focus {
  outline: none;
  border-color: var(--seller-wizard-active);
  background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.12);
}

.seller-wizard-dropzone--drag {
  border-color: var(--seller-wizard-active);
  background: rgba(220, 38, 38, 0.08);
  box-shadow: 0 0 0 2px var(--seller-wizard-active-soft);
}

.seller-wizard-dropzone--filled {
  border-style: solid;
  border-color: rgba(220, 38, 38, 0.45);
  background: linear-gradient(180deg, #fff 0%, #fef2f2 55%);
}

.seller-wizard-dropzone--error {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.2);
}

.seller-wizard-dropzone__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.seller-wizard-dropzone__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--admin-text);
  margin-bottom: 6px;
}

.seller-wizard-dropzone__hint {
  font-size: 0.8rem;
  color: var(--admin-text-muted);
}

.seller-add-product-wizard-flash {
  margin-bottom: 16px;
}

.seller-wizard-current-images {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--admin-border);
}

.seller-wizard-current-images__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.seller-wizard-current-images__clear-btn {
  border: 1px solid var(--admin-border);
  background: #fff;
  color: var(--admin-text-muted);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.seller-wizard-current-images__clear-btn:hover {
  border-color: rgba(220, 38, 38, 0.45);
  color: #dc2626;
}

.seller-wizard-current-images__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.seller-wizard-current-image-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
  cursor: pointer;
}

.seller-wizard-current-image-item:has(.seller-wizard-current-image-item__remove-input:checked) {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.14);
  background: #fff5f5;
}

.seller-wizard-current-images__thumb {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-alt, #f8fafc);
}

.seller-wizard-current-image-item__meta {
  min-width: 0;
}

.seller-wizard-current-image-item__name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.73rem;
  color: var(--admin-text-muted);
}

.seller-wizard-current-image-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #b91c1c;
  background: #fff;
}

.seller-wizard-current-image-item__remove-input {
  accent-color: #dc2626;
}

.seller-wizard-current-image-item__remove-label {
  line-height: 1;
}

.seller-wizard-style-group-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.seller-wizard-style-copy-btn {
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.seller-wizard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-wizard-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  border: 1px solid var(--admin-border);
  background: #fff;
  color: var(--admin-text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.seller-wizard-chip:hover {
  border-color: var(--seller-wizard-active);
  color: var(--seller-wizard-active);
}

.seller-wizard-chip--active {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  border-color: #b91c1c;
  color: #fff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.seller-wizard-product-type-wrap {
  margin-top: 18px;
}

.seller-wizard-select--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.seller-wizard-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-wizard-pills--compact {
  gap: 6px;
}

.seller-wizard-pill {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--admin-border);
  background: #fff;
  color: var(--admin-text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.seller-wizard-pill:hover {
  border-color: rgba(220, 38, 38, 0.45);
  color: var(--admin-text);
}

.seller-wizard-pill--active {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  border-color: #b91c1c;
  color: #fff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.28);
}

.seller-wizard-grid--prices {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* Offer strip — Selling prices step (add-product.php) */
.seller-wizard-offer-card {
  /* margin: 22px 0 20px; */
  /* padding: 18px 18px 16px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: #fafbfc; */
}

.seller-wizard-offer-card__head {
  margin-bottom: 14px;
}

.seller-wizard-offer-card__title {
  margin: 0 0 6px;
  padding-left: 12px;
  border-left: 4px solid var(--seller-wizard-active);
  font-size: 1rem;
  font-weight: 700;
  color: var(--admin-text);
  line-height: 1.3;
}

.seller-wizard-offer-card__sub {
  margin: 0;
  padding-left: 16px;
  font-size: 0.82rem;
  color: var(--admin-text-muted);
  line-height: 1.45;
}

.seller-wizard-offer-card__body {
  padding-top: 2px;
}

.seller-wizard-offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .seller-wizard-offer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
  }
}

.seller-wizard-input-mono {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.seller-wizard-offer-card--disabled {
  opacity: 0.65;
  pointer-events: none;
}

/* Merchandising — Product categories step (add-product.php) */
.seller-wizard-merch-card .seller-wizard-offer-card__body {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--admin-border);
}

.seller-wizard-grid--tight {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.seller-wizard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--admin-border);
  padding-bottom: 0;
}

.seller-wizard-tab {
  padding: 10px 16px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  border-radius: 8px 8px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--admin-text-muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.seller-wizard-tab:hover {
  color: var(--admin-text);
  background: rgba(220, 38, 38, 0.05);
}

.seller-wizard-tab--active {
  color: #b91c1c;
  border-bottom-color: var(--seller-wizard-active);
  background: rgba(220, 38, 38, 0.07);
  font-weight: 800;
}

.seller-wizard-tab-panel {
  padding-top: 4px;
}

.seller-wizard-mfg-intro {
  margin: 0 0 14px;
}

.seller-wizard-textarea--mfg {
  min-height: 96px;
}

.seller-wizard-textarea {
  width: 100%;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  min-height: 100px;
  resize: vertical;
}

.seller-wizard-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--admin-text-muted);
  cursor: not-allowed;
}

.seller-wizard-check--disabled {
  opacity: 0.65;
}

.seller-wizard-sku-field {
  margin-bottom: 22px;
  padding: 18px 18px 20px;
  border-bottom: 1px solid var(--admin-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.seller-wizard-sku-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.seller-wizard-sku-mode-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--admin-border);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.seller-wizard-sku-mode-opt:hover {
  border-color: rgba(220, 38, 38, 0.4);
  color: var(--admin-text);
}

.seller-wizard-sku-mode-opt input {
  margin: 0;
  accent-color: var(--seller-wizard-active);
}

.seller-wizard-sku-mode-opt:has(input:checked) {
  border-color: var(--seller-wizard-active);
  background: rgba(220, 38, 38, 0.09);
  color: var(--admin-text);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.12);
}

.seller-wizard-sku-manual {
  margin-top: 4px;
}

.seller-wizard-sku-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.seller-wizard-sku-row .seller-input-wrap__input {
  flex: 1 1 200px;
  min-width: 0;
}

.seller-wizard-sku-gen-btn {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.82rem;
  padding: 8px 12px;
}

.seller-wizard-sku-manual-hint {
  margin-top: 6px;
}

.seller-wizard-stock-inv-input {
  max-width: 280px;
}

.seller-wizard-variant-kicker {
  font-weight: 500;
  color: var(--admin-text-muted);
  font-size: 0.78em;
}

.seller-wizard-variant-hint {
  margin-bottom: 12px;
}

.seller-wizard-variant-block {
  margin-top: 4px;
}

.seller-wizard-opt-group {
  margin-bottom: 18px;
}

.seller-wizard-opt-group:last-child {
  margin-bottom: 0;
}

.seller-wizard-opt-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--admin-text);
}

.seller-wizard-opt-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-wizard-opt-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.seller-wizard-opt-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  clip: rect(0, 0, 0, 0);
}

.seller-wizard-opt-chip span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--admin-border);
  background: #fff;
  color: var(--admin-text);
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.seller-wizard-opt-chip:hover span {
  border-color: rgba(220, 38, 38, 0.45);
  color: var(--seller-wizard-active);
}

.seller-wizard-opt-chip input:focus-visible + span {
  outline: 2px solid var(--seller-wizard-active);
  outline-offset: 2px;
}

.seller-wizard-opt-chip input:checked + span {
  background: rgba(220, 38, 38, 0.12);
  border-color: var(--seller-wizard-active);
  color: #991b1b;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.28);
}

.seller-wizard-opt-chip--color span {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  padding: 0;
  justify-content: center;
  border-color: #e2e8f0;
  background: #e5e7eb;
}

.seller-wizard-opt-chip--color span i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--seller-swatch-color, #94a3b8);
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.seller-wizard-opt-chip--color:hover span {
  border-color: #cbd5e1;
  color: inherit;
}

.seller-wizard-opt-chip--color input:focus-visible + span {
  outline-offset: 1px;
}

.seller-wizard-opt-chip--color input:checked + span {
  background: #dbeafe;
  border-color: #93c5fd;
  color: inherit;
  box-shadow: 0 0 0 1px #60a5fa;
}

.seller-form-field--disabled .seller-wizard-opt-chip {
  pointer-events: none;
  opacity: 0.65;
}

.seller-wizard-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 22px 20px 6px;
  border-top: 1px solid var(--admin-border);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, #fff 100%);
  margin-left: -28px;
  margin-right: -28px;
  margin-bottom: -24px;
  padding-left: 28px;
  padding-right: 28px;
  padding-bottom: 24px;
}

.seller-wizard-footer__spacer {
  flex: 1;
  min-width: 8px;
}

.seller-wizard-btn-prev,
.seller-wizard-btn-next {
  min-width: 108px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: none;
}

.seller-wizard-btn-next .seller-wizard-btn-arrow {
  margin-left: 6px;
  vertical-align: -2px;
}

.seller-wizard-btn-submit {
  min-width: 120px;
  border-radius: 8px;
  font-weight: 600;
}

@media (max-width: 599px) {
  .seller-wizard-footer__spacer {
    display: none;
  }

  .seller-wizard-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .seller-wizard-btn-back,
  .seller-wizard-btn-next,
  .seller-wizard-btn-submit {
    width: 100%;
    justify-content: center;
  }
}

html.admin-theme-dark .seller-add-product--riho .seller-wizard-card {
  border-color: rgba(243, 243, 243, 0.12);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

html.admin-theme-dark .seller-wizard-main {
  background: linear-gradient(180deg, #121212 0%, var(--admin-surface) 18%);
}

html.admin-theme-dark .seller-wizard-steps {
  background: linear-gradient(180deg, #141a24 0%, rgba(15, 23, 42, 0.75) 100%);
}

html.admin-theme-dark .seller-product-wizard .seller-form-field__label {
  color: #e2e8f0;
}

html.admin-theme-dark .seller-product-wizard .seller-form-field__hint {
  color: #94a3b8;
}

html.admin-theme-dark .seller-wizard-footer {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, var(--admin-surface) 100%);
  border-top-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-wizard-sku-field {
  background: linear-gradient(180deg, #222222 0%, #121212 100%);
  border-color: rgba(243, 243, 243, 0.12);
  box-shadow: none;
}

html.admin-theme-dark .seller-input-wrap__input,
html.admin-theme-dark .seller-wizard-select {
  background: rgba(15, 23, 42, 0.45);
  color: #e5e7eb;
  border-color: rgba(243, 243, 243, 0.12);
}

html.admin-theme-dark .seller-quill-wrap {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(243, 243, 243, 0.12);
}

html.admin-theme-dark .seller-quill-wrap--error {
  border-color: #f87171;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}

html.admin-theme-dark .seller-quill-editor .ql-toolbar.ql-snow {
  background: rgba(15, 23, 42, 0.55);
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-quill-editor .ql-stroke {
  stroke: #cbd5e1;
}

html.admin-theme-dark .seller-quill-editor .ql-fill {
  fill: #cbd5e1;
}

html.admin-theme-dark .seller-quill-editor .ql-picker {
  color: #cbd5e1;
}

html.admin-theme-dark .seller-quill-editor .ql-editor {
  color: #e5e7eb;
}

html.admin-theme-dark .seller-wizard-step__icon {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(243, 243, 243, 0.1);
  color: #94a3b8;
}

html.admin-theme-dark .seller-wizard-dropzone {
  background: rgba(15, 23, 42, 0.35);
  border-color: rgba(243, 243, 243, 0.15);
}

html.admin-theme-dark .seller-wizard-dropzone--error {
  border-color: #f87171;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}

html.admin-theme-dark .seller-wizard-chip {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(243, 243, 243, 0.12);
  color: #e5e7eb;
}

html.admin-theme-dark .seller-wizard-chip--active {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  border-color: #f87171;
  color: #fff;
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.35);
}

html.admin-theme-dark .seller-wizard-pill {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(243, 243, 243, 0.12);
  color: #cbd5e1;
}

html.admin-theme-dark .seller-wizard-pill--active {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  border-color: #f87171;
  color: #fff;
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.3);
}

html.admin-theme-dark .seller-wizard-readonly-value {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(243, 243, 243, 0.12);
  color: #e5e7eb;
}

html.admin-theme-dark .seller-wizard-tab--active {
  background: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
}

html.admin-theme-dark .seller-wizard-textarea {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(243, 243, 243, 0.12);
  color: #e5e7eb;
}

html.admin-theme-dark .seller-wizard-opt-chip span {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(243, 243, 243, 0.12);
  color: #e5e7eb;
}

html.admin-theme-dark .seller-wizard-opt-chip input:checked + span {
  background: rgba(220, 38, 38, 0.22);
  border-color: #f87171;
  color: #fecaca;
}

html.admin-theme-dark .seller-wizard-opt-chip--color span {
  background: rgba(148, 163, 184, 0.2);
  border-color: rgba(148, 163, 184, 0.45);
}

html.admin-theme-dark .seller-wizard-opt-chip--color input:checked + span {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(125, 211, 252, 0.75);
  color: inherit;
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.65);
}

html.admin-theme-dark .seller-wizard-sku-mode-opt {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(243, 243, 243, 0.12);
  color: #cbd5e1;
}

html.admin-theme-dark .seller-wizard-sku-mode-opt:has(input:checked) {
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(248, 113, 113, 0.55);
  color: #f1f5f9;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.2);
}

html.admin-theme-dark .seller-wizard-sku-field {
  border-bottom-color: rgba(243, 243, 243, 0.1);
}

html.admin-theme-dark .seller-wizard-offer-card {
  background: rgba(15, 23, 42, 0.35);
  border-color: rgba(243, 243, 243, 0.12);
}

html.admin-theme-dark .seller-wizard-offer-card__title {
  color: #f1f5f9;
}

html.admin-theme-dark .seller-wizard-merch-card .seller-wizard-offer-card__body {
  border-top-color: rgba(243, 243, 243, 0.12);
}
.admin-sidebar__brand{
  border-bottom: 1px solid #222222;
}

body.admin-app--merchant .admin-sidebar {
  background: #121212;
}

/* body.admin-app--merchant .admin-sidebar__title {
  color: #f8fafc;
} */

/* body.admin-app--merchant .admin-sidebar__subtitle,
body.admin-app--merchant .admin-nav__label {
  color: #ffffff;
} */

body.admin-app--merchant .admin-nav__link {
  color: #a1a1a1;
}

body.admin-app--merchant .admin-nav__link:hover {
  background: rgba(148, 163, 184, 0.14);
  color: #f8fafc;
}

body.admin-app--merchant .admin-nav__link--active {
  background: rgb(87 87 87 / 22%);
  color: #ffffffcc;
}

.admin-sidebar__brand{
  padding: 10px 20px;
}

.admin-table th {
  padding: 15px 12px;
  font-weight: 600;
  font-size: 0.75rem;
}

.admin-table td {
  font-size: 0.7rem;
}

.admin-nav__link--active svg {
  stroke: none;
}

.admin-nav__link--active:hover svg {
  stroke: none;
}

.admin-sidebar__logo {
  background: #1e222c;
  border-color:rgba(243,243,243,0.08);
}

/* ----- Seller login / onboarding (standalone — not shared with admin login) ----- */
body.seller-login {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(145deg, #f8f9fa 0%, #eef0f4 50%, #fde8e8 100%);
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--admin-text);
}

.seller-login-shell {
  width: 100%;
  max-width: 440px;
}

.seller-login-shell--wide {
  max-width: 760px;
}

html.admin-theme-dark body.seller-login {
  background: linear-gradient(160deg, #0c0a09 0%, #1a1412 45%, #221a18 100%);
}

html.admin-theme-dark .seller-login-card {
  background: #161618;
  border-color: var(--admin-border);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
}

html.admin-theme-dark .seller-login-card h1 {
  color: var(--admin-text);
}

html.admin-theme-dark .seller-login-card p,
html.admin-theme-dark .seller-login-card .hint {
  color: var(--admin-text-muted);
}

html.admin-theme-dark .seller-login-card label,
html.admin-theme-dark .seller-login-field label {
  color: var(--admin-text-muted);
}

html.admin-theme-dark .seller-login-card input,
html.admin-theme-dark .seller-login-input {
  background: #121212;
  border-color: var(--admin-border);
  color: var(--admin-text);
}

html.admin-theme-dark .seller-login-card input:focus,
html.admin-theme-dark .seller-login-input:focus {
  background: #171717;
}

html.admin-theme-dark .seller-login-card .err {
  background: rgba(220, 38, 38, 0.14);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

html.admin-theme-dark .seller-category-card {
  border-color: var(--admin-border);
  background: rgba(255, 255, 255, 0.04);
}

html.admin-theme-dark .seller-category-card:hover {
  border-color: #4b5563;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

html.admin-theme-dark .seller-category-card__label {
  color: var(--admin-text);
}

html.admin-theme-dark .seller-category-card__hint {
  color: var(--admin-text-muted);
}

html.admin-theme-dark .seller-category-card__check {
  border-color: #4b5563;
  background: #121212;
}

html.admin-theme-dark .seller-category-card:has(input:checked) {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(220, 38, 38, 0.12);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.seller-login-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--admin-border);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  padding: 32px 32px 28px;
  position: relative;
  overflow: hidden;
}

.seller-login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-accent), #ea580c);
}

.seller-login-card__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.seller-login-card__logo {
  width: 44px;
  height: 44px;
}

.seller-login-card__intro {
  margin-bottom: 22px;
}

.seller-login-card h1 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.seller-login-card p {
  margin: 0;
  color: var(--admin-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.seller-login-form {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seller-login-field {
  display: flex;
  flex-direction: column;
}

.seller-login-card label,
.seller-login-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 14px 0 6px;
  color: var(--admin-text);
}

.seller-login-card input,
.seller-login-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--admin-text);
  box-sizing: border-box;
  transition: border-color 0.15s ease, outline-color 0.15s ease, background 0.15s ease;
}

.seller-login-card input::placeholder,
.seller-login-input::placeholder {
  color: #9ca3af;
}

.seller-login-card input:focus,
.seller-login-input:focus {
  outline: 2px solid var(--admin-accent-soft);
  border-color: var(--admin-accent);
}

.seller-password-wrap {
  position: relative;
  width: 100%;
}

.seller-login-card .seller-password-wrap > input {
  padding-right: 2.75rem;
}

.seller-password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--admin-text-muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.seller-password-toggle:hover {
  color: var(--admin-text);
  background: rgba(15, 23, 42, 0.06);
}

.seller-password-toggle:focus-visible {
  outline: 2px solid var(--admin-accent);
  outline-offset: 1px;
}

.seller-password-toggle__icons {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.seller-password-toggle__eye {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
}

.seller-password-toggle__eye--closed {
  display: none;
}

.seller-password-toggle--on .seller-password-toggle__eye--open {
  display: none;
}

.seller-password-toggle--on .seller-password-toggle__eye--closed {
  display: block;
}

html.admin-theme-dark .seller-password-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.seller-login-card button[type="submit"],
.seller-login-submit {
  margin-top: 20px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--admin-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.seller-login-card button[type="submit"]:hover,
.seller-login-submit:hover {
  background: var(--admin-accent-hover);
}

.seller-login-card button[type="submit"]:active,
.seller-login-submit:active {
  transform: translateY(1px);
}

.seller-login-card .luxe-captcha-wrap {
  margin: 8px 0 4px;
  min-height: 78px;
  overflow: visible;
}

.seller-login-card .luxe-captcha-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin: 14px 0 6px;
  color: var(--admin-text);
}

.seller-login-card .luxe-captcha-input {
  width: auto;
  padding: 11px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  color: var(--admin-text);
}

.seller-login-card .luxe-captcha-input:focus {
  outline: 2px solid var(--admin-accent-soft);
  border-color: var(--admin-accent);
}

.seller-login-card .luxe-captcha-q {
  border-radius: 8px;
  border: 1px dashed var(--admin-border);
  background: #f8fafc;
  color: var(--admin-text);
  font-size: 0.95rem;
}

.seller-login-card .luxe-captcha-refresh {
  border-radius: 8px;
  border: 1px solid var(--admin-border);
  background: #fff;
  color: var(--admin-text-muted);
}

.seller-login-card .luxe-captcha-refresh:hover {
  color: var(--admin-text);
  background: rgba(15, 23, 42, 0.04);
}

html.admin-theme-dark .seller-login-card .luxe-captcha-label {
  color: var(--admin-text);
}

html.admin-theme-dark .seller-login-card .luxe-captcha-input,
html.admin-theme-dark .seller-login-card .luxe-captcha-refresh {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

html.admin-theme-dark .seller-login-card .luxe-captcha-input:focus {
  outline-color: rgba(248, 113, 113, 0.25);
  border-color: #f87171;
}

html.admin-theme-dark .seller-login-card .luxe-captcha-q {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

html.admin-theme-dark .seller-login-card .luxe-captcha-refresh:hover {
  background: rgba(255, 255, 255, 0.06);
}

.seller-login-card .luxe-captcha-mount {
  transform-origin: left top;
}

.seller-login-card .err {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.85rem;
}

.seller-login-card .hint {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--admin-text-muted);
}

.seller-login-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.seller-login-label-row label {
  margin-bottom: 0;
}

.seller-forgot-link,
.seller-forgot-linkbtn {
  font-size: 0.78rem;
  font-weight: 600;
  color: #b91c1c;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.seller-forgot-link:hover,
.seller-forgot-linkbtn:hover {
  text-decoration: underline;
}

.seller-login-footer-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--admin-text-muted);
}

.seller-login-footer-row a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.seller-login-footer-row a:hover {
  text-decoration: underline;
}

.seller-forgot-secondary {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.seller-forgot-inline-form {
  display: inline;
  margin: 0;
}

html.admin-theme-dark .seller-forgot-link,
html.admin-theme-dark .seller-forgot-linkbtn {
  color: #f87171;
}

html.admin-theme-dark .seller-forgot-secondary {
  border-top-color: rgba(248, 250, 252, 0.08);
}

.seller-register-cta {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(229, 57, 53, 0.18);
  background: linear-gradient(180deg, #fff7f7 0%, #fff 100%);
  text-align: center;
}

.seller-register-cta p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--admin-text);
}

.seller-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--admin-accent);
  background: #fff;
  color: var(--admin-accent);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.12);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.seller-register-link:hover {
  background: var(--admin-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(229, 57, 53, 0.28);
}

.seller-register-link:active {
  transform: translateY(1px);
}

.seller-register-cta span {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}

html.admin-theme-dark .seller-register-cta {
  border-color: rgba(248, 113, 113, 0.28);
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.1), rgba(255, 255, 255, 0.03));
}

html.admin-theme-dark .seller-register-cta p {
  color: var(--admin-text);
}

html.admin-theme-dark .seller-register-link {
  background: transparent;
  color: #fca5a5;
  border-color: #f87171;
}

html.admin-theme-dark .seller-register-link:hover {
  background: #ef4444;
  color: #fff;
}

.seller-login-card .hint a {
  color: var(--admin-accent);
  font-weight: 600;
}

.seller-login-card .hint a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  body.seller-login {
    padding: 16px;
  }

  .seller-login-card {
    padding: 24px 20px 20px;
    border-radius: 14px;
  }

  .seller-login-card .luxe-captcha-wrap {
    transform: scale(0.92);
    transform-origin: left top;
  }
}
