/* ═══════════════════════════════════════════════════════════════════
   MCSepeti — v2.6.1 MARKETPLACE COMPONENTS
   - Escrow banner + action card
   - Satıcı başvuru karşılaştırma + KVKK + form
   - Admin TC görüntüleyici
   - Ürün-ekle 5 adım wizard
   ═══════════════════════════════════════════════════════════════════ */

/* ════ 1) ESCROW BANNER ════ */
.escrow-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 20px;
  border: 1px solid;
}
.escrow-banner__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.escrow-banner__icon i { width: 22px; height: 22px; }
.escrow-banner__body strong {
  display: block;
  font-size: 15px;
  font-family: var(--font-display, 'Sora', sans-serif);
  margin-bottom: 3px;
}
.escrow-banner__body small {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted, #A0AAB8);
  line-height: 1.5;
}

.escrow-banner--held {
  background: linear-gradient(135deg, rgba(245,182,66,0.10), rgba(245,182,66,0.02));
  border-color: rgba(245,182,66,0.30);
}
.escrow-banner--held .escrow-banner__icon { background: rgba(245,182,66,0.15); color: #F5B642; }
.escrow-banner--held strong { color: #F5B642; }

.escrow-banner--released {
  background: linear-gradient(135deg, rgba(61,214,140,0.12), rgba(61,214,140,0.02));
  border-color: rgba(61,214,140,0.30);
}
.escrow-banner--released .escrow-banner__icon { background: rgba(61,214,140,0.15); color: #3DD68C; }
.escrow-banner--released strong { color: #3DD68C; }

.escrow-banner--refunded {
  background: linear-gradient(135deg, rgba(157,78,221,0.10), rgba(157,78,221,0.02));
  border-color: rgba(157,78,221,0.25);
}
.escrow-banner--refunded .escrow-banner__icon { background: rgba(157,78,221,0.15); color: #9D4EDD; }
.escrow-banner--refunded strong { color: #9D4EDD; }

.escrow-banner--disputed {
  background: linear-gradient(135deg, rgba(239,68,68,0.10), rgba(239,68,68,0.02));
  border-color: rgba(239,68,68,0.30);
}
.escrow-banner--disputed .escrow-banner__icon { background: rgba(239,68,68,0.15); color: #EF4444; }
.escrow-banner--disputed strong { color: #EF4444; }

.escrow-banner--pending {
  background: var(--bg-elevated, #151B24);
  border-color: var(--border, rgba(255,255,255,0.07));
}
.escrow-banner--pending .escrow-banner__icon { background: rgba(255,255,255,0.06); color: var(--text-muted, #A0AAB8); }

/* ════ 2) ESCROW ACTION CARD ════ */
.escrow-action-card {
  padding: 20px 24px;
  border-radius: 12px;
}
.escrow-action-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.07));
}
.escrow-action-card__head h3 {
  margin: 0;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 16px;
  font-weight: 700;
}

/* ════ 3) SELLER APPLY HERO ════ */
.seller-apply-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(245,182,66,0.10), rgba(245,182,66,0.02));
  border: 1px solid rgba(245,182,66,0.25);
  border-radius: 16px;
  margin-bottom: 18px;
}
.seller-apply-hero__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F5B642, #E89B1A);
  color: #0A0E14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.seller-apply-hero__icon i { width: 28px; height: 28px; stroke-width: 2.5; }
.seller-apply-hero h1 {
  margin: 0;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 24px;
  letter-spacing: -0.5px;
}
.seller-apply-hero p {
  margin: 6px 0 0;
  color: var(--text-muted, #A0AAB8);
  font-size: 14px;
  line-height: 1.5;
}

/* ════ 4) SELLER COMPARE TABLE ════ */
.seller-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}
@media (max-width: 700px) {
  .seller-compare { grid-template-columns: 1fr; }
}

.seller-compare__card {
  background: var(--bg-card, #1A2230);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.seller-compare__card--pro {
  border-color: rgba(61,214,140,0.40);
  background: linear-gradient(135deg, var(--bg-card, #1A2230), rgba(61,214,140,0.04));
  box-shadow: 0 8px 32px rgba(61,214,140,0.12);
  position: relative;
}
.seller-compare__head {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.07));
}
.seller-compare__badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted, #A0AAB8);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.seller-compare__badge--gold {
  background: linear-gradient(135deg, #F5B642, #E89B1A);
  color: #0A0E14;
}
.seller-compare__card h3 {
  margin: 0;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 19px;
}
.seller-compare__card p {
  margin: 4px 0 0;
  color: var(--text-muted, #A0AAB8);
  font-size: 13px;
}

.seller-compare__features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.seller-compare__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--text, #ECEFF4);
}
.seller-compare__features li i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #3DD68C;
}
.seller-compare__features li.is-disabled {
  color: var(--text-dim, #6E7889);
}
.seller-compare__features li.is-disabled i { color: var(--text-dim, #6E7889); }

/* ════ 5) KVKK NOTICE ════ */
.kvkk-notice {
  background: linear-gradient(135deg, rgba(91,159,255,0.06), transparent);
  border: 1px solid rgba(91,159,255,0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 18px;
}
.kvkk-notice__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #5B9FFF;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 14px;
}
.kvkk-notice__head i { width: 18px; height: 18px; }
.kvkk-notice p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted, #A0AAB8);
  line-height: 1.6;
}

/* ════ 6) SELLER APPLY FORM ════ */
.seller-apply-form {
  padding: 28px;
}
.seller-apply-form__section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.07));
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 16px;
  font-weight: 700;
}
.seller-apply-form__section-title i { color: var(--secondary, #5B9FFF); }

/* ════ 7) ADMIN SELLER APP CARD ════ */
.seller-app-card {
  margin-bottom: 16px;
  padding: 0;
  overflow: hidden;
}
.seller-app-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--crm-border, rgba(255,255,255,0.07));
  flex-wrap: wrap;
}
.seller-app-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--crm-border, rgba(255,255,255,0.07));
}
.seller-app-card__body { padding: 18px 22px; }
.seller-app-card__label {
  display: block;
  font-size: 11px;
  color: var(--crm-text-muted, #A0AAB8);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
  margin-bottom: 3px;
}
.seller-app-card__actions {
  display: flex;
  gap: 8px;
  padding: 14px 22px;
  background: var(--crm-bg-3, rgba(255,255,255,0.02));
  border-top: 1px solid var(--crm-border, rgba(255,255,255,0.07));
}
.seller-app-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: var(--crm-bg-3, rgba(255,255,255,0.02));
  border-top: 1px solid var(--crm-border, rgba(255,255,255,0.07));
  font-size: 12.5px;
  color: var(--crm-text-muted, #A0AAB8);
}

/* ════ 8) TC VIEWER ════ */
.tc-viewer {
  background: linear-gradient(135deg, rgba(245,182,66,0.05), transparent);
  border: 1px solid rgba(245,182,66,0.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 14px;
}
.tc-viewer__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 13.5px;
}
.tc-viewer__head i { width: 18px; height: 18px; }
.tc-viewer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tc-viewer__item {
  position: relative;
}
.tc-viewer__item small {
  display: block;
  font-size: 11px;
  color: var(--crm-text-muted, #A0AAB8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.tc-viewer__item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid var(--crm-border, rgba(255,255,255,0.07));
  transition: border-color 0.15s;
}
.tc-viewer__item a:hover { border-color: rgba(245,182,66,0.5); }
.tc-viewer__item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.tc-viewer__item span {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

/* ════ 9) SELLER INFO BAR (ürün-ekle üst) ════ */
.seller-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: var(--bg-card, #1A2230);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 14px;
  margin: 16px 0 18px;
  flex-wrap: wrap;
}
.seller-info-bar__stats {
  display: flex;
  gap: 24px;
}
.seller-info-bar__stats > div {
  text-align: center;
}
.seller-info-bar__stats small {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted, #A0AAB8);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}
.seller-info-bar__stats strong {
  display: block;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 16px;
  font-weight: 800;
  margin-top: 3px;
}

/* ════ 10) WIZARD ════ */
.wizard {
  margin-bottom: 30px;
}

.wizard__steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.wizard__step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.wizard__step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated, #151B24);
  border: 2px solid var(--border, rgba(255,255,255,0.07));
  color: var(--text-muted, #A0AAB8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.wizard__step.is-active span {
  background: var(--accent, #3DD68C);
  border-color: var(--accent, #3DD68C);
  color: #0A0E14;
}
.wizard__step.is-current span {
  box-shadow: 0 0 0 4px rgba(61,214,140,0.15);
}
.wizard__step label {
  font-size: 12px;
  color: var(--text-muted, #A0AAB8);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wizard__step.is-current label,
.wizard__step.is-active label {
  color: var(--text, #ECEFF4);
}
@media (max-width: 700px) {
  .wizard__step label { display: none; }
}

.wizard__progress {
  height: 4px;
  background: var(--bg-elevated, #151B24);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 18px;
}
.wizard__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent, #3DD68C), var(--secondary, #5B9FFF));
  transition: width 0.3s ease;
}

.wizard__form {
  padding: 28px;
}

.wizard__panel { display: none; }
.wizard__panel.is-active { display: block; animation: wizardFade 0.25s ease-out; }
@keyframes wizardFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard__panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 20px;
  font-weight: 700;
}
.wizard__panel-title i { color: var(--accent, #3DD68C); }

.wizard__panel-desc {
  margin: 0 0 22px;
  color: var(--text-muted, #A0AAB8);
  font-size: 13.5px;
}

.wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border, rgba(255,255,255,0.07));
}

/* ════ 11) IMAGE PREVIEW GRID ════ */
.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .image-preview-grid { grid-template-columns: repeat(3, 1fr); }
}
.image-preview-grid__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-elevated, #151B24);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
}
.image-preview-grid__item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.image-preview-grid__item span {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
}

/* ════ 12) DELIVERY OPTIONS (Radio kart) ════ */
.delivery-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 700px) { .delivery-options { grid-template-columns: 1fr; } }

.delivery-option {
  position: relative;
  cursor: pointer;
}
.delivery-option input { position: absolute; opacity: 0; }
.delivery-option__body {
  padding: 16px 14px;
  background: var(--bg-elevated, #151B24);
  border: 2px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 12px;
  text-align: center;
  transition: all 0.15s;
}
.delivery-option__body i {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto 8px;
  color: var(--text-muted, #A0AAB8);
}
.delivery-option__body strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 4px;
}
.delivery-option__body small {
  font-size: 11.5px;
  color: var(--text-muted, #A0AAB8);
  line-height: 1.4;
}
.delivery-option input:checked + .delivery-option__body {
  border-color: var(--accent, #3DD68C);
  background: rgba(61,214,140,0.08);
}
.delivery-option input:checked + .delivery-option__body i { color: var(--accent, #3DD68C); }

/* ════ 13) FEATURED OPTIONS ════ */
.featured-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 800px) { .featured-options { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .featured-options { grid-template-columns: 1fr; } }

.featured-option {
  position: relative;
  cursor: pointer;
}
.featured-option input { position: absolute; opacity: 0; }
.featured-option__body {
  padding: 16px 14px;
  background: var(--bg-elevated, #151B24);
  border: 2px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 12px;
  text-align: center;
  transition: all 0.15s;
  position: relative;
}
.featured-option__body strong { display: block; font-size: 13.5px; margin-bottom: 6px; }
.featured-option__price {
  display: block;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold, #F5B642);
  margin-bottom: 4px;
}
.featured-option__body small { font-size: 11px; color: var(--text-muted, #A0AAB8); }
.featured-option__badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold, #F5B642);
  color: #0A0E14;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.featured-option input:checked + .featured-option__body {
  border-color: var(--gold, #F5B642);
  background: rgba(245,182,66,0.08);
}
.featured-option--popular .featured-option__body {
  border-color: rgba(245,182,66,0.3);
}

/* ════ 14) CONTRACT BOX ════ */
.contract-box {
  background: var(--bg-elevated, #151B24);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 13.5px;
  line-height: 1.6;
}
.contract-box h3 {
  margin: 0 0 12px;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 15px;
}
.contract-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted, #A0AAB8);
}
.contract-box ul li {
  margin-bottom: 8px;
}
.contract-box ul li strong { color: var(--text, #ECEFF4); }

/* ════ 15) WIZARD SUMMARY ════ */
.wizard__summary {
  background: rgba(61,214,140,0.04);
  border: 1px dashed rgba(61,214,140,0.25);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.7;
}
.wizard__summary strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display, 'Sora', sans-serif);
  color: var(--accent, #3DD68C);
}
.wizard__summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wizard__summary li {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: var(--text-muted, #A0AAB8);
}
.wizard__summary span {
  color: var(--text, #ECEFF4);
  font-weight: 600;
}

/* ════ LIGHT MODE ════ */
:root[data-theme="light"] .seller-compare__card {
  background: #FFFFFF;
  border-color: #E2E8F0;
}
:root[data-theme="light"] .delivery-option__body,
:root[data-theme="light"] .featured-option__body,
:root[data-theme="light"] .contract-box,
:root[data-theme="light"] .seller-info-bar,
:root[data-theme="light"] .wizard__summary {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
