/* ============================================================
   WatchVault Core — sell-flow.css
   Stiluri pentru formularul de vânzare în 11 pași
   Importă design system-ul din child theme via variabile CSS
   ============================================================ */

/* ── LAYOUT ─────────────────────────────────────── */
.wv-sell-wrap {
  min-height: 80vh;
  padding: 2rem 0 6rem;
  background: var(--wv-bg);
}

/* ── PROGRESS BAR ──────────────────────────────── */
.wv-sell-progress {
  background: var(--wv-surface);
  border-bottom: 1px solid var(--wv-border);
  padding: 0.85rem 0;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.wv-sell-progress-inner {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.wv-progress-step-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wv-gold);
  white-space: nowrap;
}
.wv-progress-track {
  flex: 1;
  height: 2px;
  background: var(--wv-border);
}
.wv-progress-fill {
  height: 100%;
  background: var(--wv-gold);
  transition: width 0.4s ease;
}
.wv-progress-name {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wv-muted);
  white-space: nowrap;
}

/* ── STEP CONTENT ──────────────────────────────── */
.wv-step {
  display: none;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  animation: wv-step-in 0.35s ease;
}
.wv-step.wv-step--active { display: flex; }

@keyframes wv-step-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wv-step-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wv-gold);
  margin-bottom: 0.75rem;
}
.wv-step-title {
  font-family: var(--wv-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--wv-cream);
  margin-bottom: 0.75rem;
}
.wv-step-sub {
  font-size: 0.85rem;
  color: var(--wv-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* ── FORM FIELDS ───────────────────────────────── */
.wv-field { margin-bottom: 1.75rem; }
.wv-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wv-cream);
  margin-bottom: 0.5rem;
}
.wv-label .wv-req { color: var(--wv-red); margin-left: 2px; }
.wv-label .wv-opt { color: var(--wv-muted); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.7rem; margin-left: 0.4rem; }

.wv-input, .wv-select, .wv-textarea {
  width: 100%;
  background: var(--wv-card);
  border: 1px solid var(--wv-border);
  color: var(--wv-cream);
  font-family: var(--wv-font-body);
  font-size: 0.9rem;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.wv-input:focus, .wv-select:focus, .wv-textarea:focus { border-color: var(--wv-gold); }
.wv-input::placeholder, .wv-textarea::placeholder { color: var(--wv-subtle); }
.wv-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888880' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.wv-select option { background: var(--wv-card); color: var(--wv-cream); }
.wv-textarea { resize: vertical; min-height: 140px; }

.wv-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }

.wv-char-count { text-align: right; font-size: 0.7rem; color: var(--wv-subtle); margin-top: 0.4rem; }

/* ── ACCOUNT TYPE CARDS ────────────────────────── */
.wv-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.75rem; }
.wv-type-card {
  background: var(--wv-card);
  border: 1.5px solid var(--wv-border);
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  user-select: none;
}
.wv-type-card:hover { border-color: var(--wv-gold-dim); }
.wv-type-card.wv-type-card--active { border-color: var(--wv-gold); background: rgba(201,168,76,0.05); }
.wv-type-card__icon { font-size: 1.3rem; }
.wv-type-card__label { font-size: 0.82rem; font-weight: 500; color: var(--wv-cream); }
.wv-type-card__sub { font-size: 0.7rem; color: var(--wv-muted); }

/* ── ACCESSORIES GRID ──────────────────────────── */
.wv-acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.75rem; }
.wv-acc-card {
  background: var(--wv-card);
  border: 2px solid var(--wv-border);
  padding: 2rem 1.5rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.wv-acc-card:hover { border-color: var(--wv-gold-dim); }
.wv-acc-card.wv-acc-card--selected {
  border-color: var(--wv-gold);
  background: rgba(201,168,76,0.05);
}
.wv-acc-card.wv-acc-card--selected::after {
  content: '✓';
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 22px; height: 22px;
  background: var(--wv-gold);
  color: #0A0A0A;
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.wv-acc-card__icon { font-size: 2rem; color: var(--wv-muted); line-height: 1; }
.wv-acc-card__label { font-size: 0.82rem; font-weight: 500; color: var(--wv-cream); line-height: 1.3; }

/* ── UPLOAD ZONE ───────────────────────────────── */
.wv-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.wv-upload-zone {
  border: 1.5px dashed var(--wv-border);
  background: var(--wv-card);
  padding: 2.5rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  position: relative;
}
.wv-upload-zone:hover { border-color: var(--wv-gold); background: rgba(201,168,76,0.03); }
.wv-upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.wv-upload-icon { font-size: 1.75rem; color: var(--wv-muted); }
.wv-upload-label { font-size: 0.8rem; color: var(--wv-muted); text-align: center; }
.wv-upload-label small { font-size: 0.7rem; color: var(--wv-subtle); display: block; }

/* Thumb-uri uploadate */
.wv-photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.wv-photo-thumb {
  width: 70px; height: 70px;
  object-fit: cover;
  border: 1px solid var(--wv-border);
  position: relative;
}

/* ── PROOF GRID ────────────────────────────────── */
.wv-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.wv-proof-item { background: var(--wv-card); border: 1px solid var(--wv-border); overflow: hidden; }
.wv-proof-clock {
  background: var(--wv-surface);
  padding: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--wv-border);
}
.wv-clock-face {
  width: 80px; height: 80px;
  border: 2px solid var(--wv-border);
  border-radius: 50%;
  position: relative;
  background: var(--wv-card);
}
.wv-clock-hand {
  position: absolute;
  bottom: 50%; left: 50%;
  transform-origin: bottom center;
  background: var(--wv-gold);
  border-radius: 2px;
}
.wv-hand-h { width: 2px; height: 26px; margin-left: -1px; }
.wv-hand-m { width: 1.5px; height: 32px; margin-left: -0.75px; }
.wv-clock-time { font-family: var(--wv-font-display); font-size: 1rem; color: var(--wv-cream); letter-spacing: 0.1em; }
.wv-proof-upload {
  border: 1.5px dashed var(--wv-border);
  margin: 1rem;
  padding: 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  cursor: pointer; transition: border-color 0.18s ease;
  position: relative;
}
.wv-proof-upload:hover { border-color: var(--wv-gold); }
.wv-proof-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.wv-proof-upload-icon { font-size: 1.25rem; color: var(--wv-muted); }
.wv-proof-upload-label { font-size: 0.72rem; color: var(--wv-muted); text-align: center; }

/* ── YES/NO BUTTONS ────────────────────────────── */
.wv-yn-group { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.wv-yn-btn {
  padding: 0.7rem 2.5rem;
  background: var(--wv-card);
  border: 1px solid var(--wv-border);
  color: var(--wv-muted);
  font-family: var(--wv-font-body);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.wv-yn-btn:hover { border-color: var(--wv-gold-dim); color: var(--wv-cream); }
.wv-yn-btn.wv-yn-btn--active { border-color: var(--wv-gold); color: var(--wv-gold); background: rgba(201,168,76,0.06); }

/* ── PRICE INPUT ───────────────────────────────── */
.wv-price-wrap {
  display: flex;
  background: var(--wv-card);
  border: 1px solid var(--wv-border);
  margin-bottom: 1rem;
  transition: border-color 0.18s ease;
}
.wv-price-wrap:focus-within { border-color: var(--wv-gold); }
.wv-price-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--wv-cream);
  font-family: var(--wv-font-display);
  font-size: 1.6rem;
  font-weight: 300;
  padding: 1rem 1.25rem;
  outline: none;
}
.wv-price-input::placeholder { color: var(--wv-subtle); }
.wv-currency-select {
  background: var(--wv-surface);
  border: none;
  border-left: 1px solid var(--wv-border);
  color: var(--wv-cream);
  font-family: var(--wv-font-body);
  font-size: 0.82rem;
  padding: 0 1.25rem 0 1rem;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888880' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  padding-right: 1.8rem;
}
.wv-commission-box {
  background: var(--wv-card);
  border: 1px solid var(--wv-border);
  margin-bottom: 1rem;
  display: none;
}
.wv-commission-box.wv-visible { display: block; }
.wv-commission-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--wv-border);
  font-size: 0.82rem;
}
.wv-commission-row:last-child { border-bottom: none; font-weight: 500; }
.wv-commission-row .wv-ck { color: var(--wv-muted); }
.wv-commission-row .wv-cv { color: var(--wv-cream); font-family: var(--wv-font-display); font-size: 1rem; }
.wv-commission-row .wv-cv--green { color: var(--wv-green); }

.wv-rec-box {
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 1.25rem;
  display: none;
}
.wv-rec-box.wv-visible { display: block; }
.wv-rec-label { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wv-gold); margin-bottom: 0.5rem; }
.wv-rec-price { font-family: var(--wv-font-display); font-size: 1.5rem; font-weight: 300; color: var(--wv-cream); margin-bottom: 0.4rem; }
.wv-rec-range { font-size: 0.78rem; color: var(--wv-muted); }

/* ── OVERVIEW ──────────────────────────────────── */
.wv-ov-preview {
  display: grid; grid-template-columns: 90px 1fr;
  background: var(--wv-card); border: 1px solid var(--wv-border);
  margin-bottom: 1.5rem; overflow: hidden;
}
.wv-ov-img {
  background: #111; display: flex; align-items: center;
  justify-content: center; font-size: 2.5rem; color: var(--wv-subtle);
}
.wv-ov-info { padding: 1.25rem; }
.wv-ov-brand { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wv-gold); margin-bottom: 0.3rem; }
.wv-ov-name { font-family: var(--wv-font-display); font-size: 1.2rem; font-weight: 300; color: var(--wv-cream); margin-bottom: 0.5rem; }
.wv-ov-price { font-family: var(--wv-font-display); font-size: 1.3rem; color: var(--wv-cream); }

.wv-checklist-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0; border-bottom: 1px solid var(--wv-border);
  cursor: pointer; transition: background 0.18s ease; font-size: 0.85rem;
}
.wv-checklist-row:hover { background: rgba(255,255,255,0.015); }
.wv-cl-left { display: flex; align-items: center; gap: 0.75rem; color: var(--wv-cream); }
.wv-status-ok  { color: var(--wv-green); }
.wv-status-warn { color: var(--wv-red); }
.wv-cl-right { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--wv-muted); }

/* ── FOOTER CONTROLS ───────────────────────────── */
.wv-sell-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--wv-border);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.wv-btn-back {
  background: none; border: none; color: var(--wv-muted);
  font-family: var(--wv-font-body); font-size: 0.78rem;
  letter-spacing: 0.08em; cursor: pointer;
  transition: color 0.18s ease;
  text-decoration: underline; text-underline-offset: 3px;
}
.wv-btn-back:hover { color: var(--wv-cream); }
.wv-sell-footer .wv-btn-primary { width: auto; padding: 0.9rem 2.5rem; }

/* ── SUCCESS ───────────────────────────────────── */
.wv-success {
  display: none;
  flex-direction: column; align-items: center; text-align: center;
  padding: 6rem 1.5rem 4rem; max-width: 520px; margin: 0 auto;
}
.wv-success.wv-success--active { display: flex; }
.wv-success__icon {
  width: 64px; height: 64px;
  border: 1px solid var(--wv-gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--wv-gold); margin-bottom: 1.5rem;
}
.wv-success__title {
  font-family: var(--wv-font-display);
  font-size: 2.5rem; font-weight: 300; color: var(--wv-cream);
  line-height: 1.1; margin-bottom: 1rem;
}
.wv-success__sub { font-size: 0.88rem; color: var(--wv-muted); line-height: 1.7; margin-bottom: 2rem; }

/* ── ACCOUNT ───────────────────────────────────── */
.wv-my-listings { }
.wv-my-listings__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem;
}
.wv-my-listings__header h3 {
  font-family: var(--wv-font-display); font-size: 1.5rem;
  font-weight: 300; color: var(--wv-cream);
}
.wv-listings-grid { display: flex; flex-direction: column; gap: 1rem; }
.wv-listing-card {
  display: grid; grid-template-columns: 100px 1fr;
  background: var(--wv-card); border: 1px solid var(--wv-border); overflow: hidden;
  transition: border-color 0.18s ease;
}
.wv-listing-card:hover { border-color: var(--wv-gold-dim); }
.wv-listing-card__img {
  background: #111; display: flex; align-items: center;
  justify-content: center; font-size: 2rem; color: var(--wv-subtle);
}
.wv-listing-card__img img { width: 100%; height: 100%; object-fit: cover; }
.wv-listing-card__body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.wv-listing-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.wv-listing-card__title { font-family: var(--wv-font-display); font-size: 1rem; font-weight: 400; color: var(--wv-cream); }
.wv-listing-card__ref { font-size: 0.7rem; color: var(--wv-muted); }
.wv-listing-card__footer { display: flex; justify-content: space-between; margin-top: 0.5rem; }
.wv-listing-card__price { font-family: var(--wv-font-display); font-size: 1.1rem; font-weight: 300; color: var(--wv-cream); }
.wv-listing-card__buyers { font-size: 0.7rem; color: var(--wv-subtle); }
.wv-listing-card__actions { display: flex; gap: 0.75rem; margin-top: 0.75rem; }

.wv-status-badge {
  font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; padding: 0.2rem 0.6rem;
}
.wv-status--published { background: rgba(74,222,128,0.12); color: var(--wv-green); }
.wv-status--pending   { background: rgba(201,168,76,0.12); color: var(--wv-gold); }
.wv-status--draft     { background: var(--wv-subtle); color: var(--wv-muted); }

.wv-empty-state {
  background: var(--wv-surface); border: 1px solid var(--wv-border);
  padding: 4rem 2rem; text-align: center;
}
.wv-empty-state__icon { font-size: 2.5rem; color: var(--wv-subtle); margin-bottom: 1rem; }
.wv-empty-state h4 { font-family: var(--wv-font-display); font-size: 1.3rem; font-weight: 300; color: var(--wv-cream); margin-bottom: 0.5rem; }
.wv-empty-state p { font-size: 0.82rem; color: var(--wv-muted); }

.wv-dashboard__welcome { font-size: 1rem; color: var(--wv-muted); margin-bottom: 1.5rem; }
.wv-dashboard__welcome strong { color: var(--wv-cream); }
.wv-dashboard__stats { display: flex; gap: 2rem; margin-bottom: 2rem; }
.wv-dash-stat { }
.wv-dash-stat__val { font-family: var(--wv-font-display); font-size: 2rem; font-weight: 300; color: var(--wv-cream); line-height: 1; }
.wv-dash-stat__label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wv-muted); margin-top: 0.3rem; }
.wv-dashboard__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.wv-btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--wv-cream);
  font-family: var(--wv-font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.75rem 1.5rem; border: 1px solid var(--wv-border);
  cursor: pointer; transition: border-color 0.18s ease, color 0.18s ease;
  text-decoration: none;
}
.wv-btn-outline:hover { border-color: var(--wv-gold); color: var(--wv-gold); }

/* ── PROFILE EXTRA FIELDS ──────────────────────── */
.wv-profile-extra {
  border: 1px solid var(--wv-border);
  padding: 1.5rem;
  margin: 1.5rem 0;
  background: var(--wv-surface);
}
.wv-profile-extra legend {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wv-gold);
  padding: 0 0.5rem;
}

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 640px) {
  .wv-fields-row { grid-template-columns: 1fr; }
  .wv-acc-grid { grid-template-columns: 1fr; }
  .wv-upload-grid { grid-template-columns: 1fr; }
  .wv-proof-grid { grid-template-columns: 1fr; }
  .wv-type-grid { grid-template-columns: 1fr; }
  .wv-listing-card { grid-template-columns: 80px 1fr; }
}
