/* ═══════════════════════════════════════════════════════════
   HitMouse Multi-Vendor — All Frontend Styles
   Registration Form + Vendor Dashboard
═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
.hmv-reg-page,
.hmv-dash-wrap {
  --c-bg:      #0b1524;
  --c-bg2:     #111e33;
  --c-bg3:     #172540;
  --c-bg4:     #1e2e4a;
  --c-border:  rgba(255,255,255,.09);
  --c-accent:  #00d4ff;
  --c-accent2: #0ea5e9;
  --c-text:    #e2e8f0;
  --c-text2:   #7e9ab5;
  --c-green:   #10b981;
  --c-red:     #db1600;
  --c-yellow:  #f59e0b;
  --c-orange:  #f97316;
  --c-radius:  12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--c-text);
  box-sizing: border-box;
}
.hmv-reg-page *, .hmv-dash-wrap * { box-sizing: border-box; }

/* ════════════════════════════════════════
   REGISTRATION PAGE
════════════════════════════════════════ */
.hmv-reg-page {
  background: var(--c-bg);
  min-height: 100vh;
  margin: -20px -20px 0;
  padding: 0;
}

/* ── Hero Banner ── */
.hmv-reg-hero {
  background: linear-gradient(135deg, #0b1a30 0%, #0d2545 50%, #091829 100%);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,212,255,.15);
}
.hmv-reg-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hmv-reg-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hmv-reg-hero-badge {
  display: inline-block; background: rgba(0,212,255,.12); border: 1px solid rgba(0,212,255,.3);
  color: var(--c-accent); font-size: 13px; font-weight: 700; letter-spacing: .5px;
  padding: 6px 18px; border-radius: 40px; margin-bottom: 20px;
}
.hmv-reg-hero h1 {
  font-size: clamp(28px,5vw,48px); font-weight: 800; color: #fff;
  line-height: 1.15; margin: 0 0 16px;
  background: linear-gradient(135deg,#fff 40%,#00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hmv-reg-hero p { font-size: 16px; color: #94a3b8; margin: 0 0 32px; line-height: 1.6; }
.hmv-reg-hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.hmv-reg-stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--c-accent); }
.hmv-reg-stat span   { font-size: 12px; color: #64748b; letter-spacing: .5px; }

/* ── Steps bar ── */
.hmv-reg-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 28px 20px; background: var(--c-bg2);
  border-bottom: 1px solid var(--c-border);
}
.hmv-reg-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--c-text2);
  transition: color .3s;
}
.hmv-reg-step.active { color: var(--c-accent); }
.hmv-reg-step.done   { color: var(--c-green); }
.hmv-reg-step-num {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  background: var(--c-bg3); border: 2px solid var(--c-border); color: var(--c-text2);
  transition: all .3s;
}
.hmv-reg-step.active .hmv-reg-step-num { background: var(--c-accent); border-color: var(--c-accent); color: #000; }
.hmv-reg-step.done   .hmv-reg-step-num { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.hmv-reg-step-line {
  width: 60px; height: 2px; background: var(--c-border); margin: 0 8px;
}

/* ── Form Wrap ── */
.hmv-reg-form-wrap {
  max-width: 700px; margin: 0 auto; padding: 40px 20px 60px;
}

/* ── Step Panels ── */
.hmv-reg-step-panel { display: none; }
.hmv-reg-step-panel.active { display: block; animation: hmvFadeIn .3s ease; }
@keyframes hmvFadeIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }

.hmv-reg-panel-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.hmv-reg-panel-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 26px;
  background: var(--c-bg3); border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hmv-reg-panel-head h2 { margin: 0 0 4px; font-size: 22px; font-weight: 700; color: #fff; }
.hmv-reg-panel-head p  { margin: 0; color: var(--c-text2); font-size: 14px; }

/* ── Fields ── */
.hmv-reg-fields { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.hmv-reg-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hmv-reg-field  { display: flex; flex-direction: column; gap: 7px; }

.hmv-reg-field label {
  font-size: 13px; font-weight: 600; color: var(--c-text2);
  letter-spacing: .2px;
}
.hmv-reg-field label em { color: var(--c-red); font-style: normal; margin-left: 2px; }

.hmv-reg-field input[type=text],
.hmv-reg-field input[type=email],
.hmv-reg-field input[type=tel],
.hmv-reg-field input[type=password],
.hmv-reg-field textarea,
.hmv-reg-field select {
  width: 100% !important;
  padding: 13px 16px !important;
  background: var(--c-bg3) !important;
  border: 1.5px solid var(--c-border) !important;
  border-radius: 10px !important;
  color: var(--c-text) !important;
  font-size: 15px !important;
  font-family: inherit !important;
  outline: none !important;
  transition: border-color .2s, box-shadow .2s !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
}
.hmv-reg-field input:focus,
.hmv-reg-field textarea:focus,
.hmv-reg-field select:focus {
  border-color: var(--c-accent) !important;
  box-shadow: 0 0 0 3px rgba(0,212,255,.1) !important;
}
.hmv-reg-field input.hmv-error,
.hmv-reg-field textarea.hmv-error { border-color: var(--c-red) !important; }
.hmv-reg-field input::placeholder,
.hmv-reg-field textarea::placeholder { color: #3d5a78 !important; }
.hmv-reg-field textarea { resize: vertical; min-height: 90px; }
.hmv-reg-field small { font-size: 12px; color: var(--c-text2); margin-top: -3px; }
.hmv-field-err { font-size: 12px; color: var(--c-red); min-height: 16px; display: block; }

/* Password toggle */
.hmv-pw-wrap { position: relative; }
.hmv-pw-wrap input { padding-right: 46px !important; }
.hmv-pw-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 16px; line-height: 1;
  color: var(--c-text2); padding: 4px; transition: color .2s;
}
.hmv-pw-toggle:hover { color: var(--c-accent); }

/* Password strength */
.hmv-pw-strength { height: 4px; background: var(--c-bg4); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.hmv-pw-bar { height: 100%; width: 0; border-radius: 2px; transition: width .3s, background .3s; }

/* ── Category dropdown ── */
.hmv-cat-select { position: relative; }
.hmv-cat-trigger {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; background: var(--c-bg3); border: 1.5px solid var(--c-border);
  border-radius: 10px; cursor: pointer; color: #3d5a78; font-size: 15px;
  transition: border-color .2s; user-select: none;
}
.hmv-cat-trigger.has-value { color: var(--c-text); }
.hmv-cat-trigger.open { border-color: var(--c-accent); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hmv-cat-dropdown {
  display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
  background: var(--c-bg3); border: 1.5px solid var(--c-accent);
  border-top: none; border-radius: 0 0 10px 10px;
  max-height: 220px; overflow-y: auto;
}
.hmv-cat-dropdown.open { display: block; }
.hmv-cat-option {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; cursor: pointer; font-size: 14px; color: var(--c-text);
  transition: background .15s; border-bottom: 1px solid var(--c-border);
}
.hmv-cat-option:last-child { border-bottom: none; }
.hmv-cat-option:hover { background: rgba(0,212,255,.06); }
.hmv-cat-option input { width: 16px; height: 16px; accent-color: var(--c-accent); flex-shrink: 0; cursor: pointer; }

/* ── Summary box ── */
.hmv-reg-summary {
  background: var(--c-bg3); border: 1px solid var(--c-border);
  border-radius: 12px; padding: 18px 20px; margin: 4px 0;
}
.hmv-reg-summary h4 { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--c-accent); text-transform: uppercase; letter-spacing: .6px; }
.hmv-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--c-border); font-size: 14px; }
.hmv-summary-row:last-child { border-bottom: none; }
.hmv-summary-row span { color: var(--c-text2); }
.hmv-summary-row strong { color: var(--c-text); font-weight: 600; text-align: right; max-width: 60%; }

/* ── Agreement checkbox ── */
.hmv-reg-agree { padding: 4px 0; }
.hmv-agree-label {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; font-size: 14px; color: var(--c-text2); line-height: 1.5;
}
.hmv-agree-label input { display: none; }
.hmv-agree-box {
  width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0; margin-top: 1px;
  background: var(--c-bg3); border: 2px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; position: relative;
}
.hmv-agree-label input:checked + .hmv-agree-box {
  background: var(--c-accent); border-color: var(--c-accent);
}
.hmv-agree-label input:checked + .hmv-agree-box::after {
  content: '✓'; color: #000; font-size: 12px; font-weight: 900;
}
.hmv-agree-label a { color: var(--c-accent); text-decoration: underline; }

/* ── Navigation buttons ── */
.hmv-reg-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px;
}
.hmv-reg-btn-next, .hmv-reg-submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent2));
  color: #000; font-size: 15px; font-weight: 700;
  padding: 13px 28px; border-radius: 10px; border: none; cursor: pointer;
  transition: opacity .2s, transform .15s; letter-spacing: .2px;
}
.hmv-reg-btn-next:hover, .hmv-reg-submit:hover { opacity: .9; transform: translateY(-1px); }
.hmv-reg-btn-next:active, .hmv-reg-submit:active { transform: translateY(0); }
.hmv-reg-btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-bg3); border: 1.5px solid var(--c-border);
  color: var(--c-text2); font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: 10px; cursor: pointer;
  transition: all .2s;
}
.hmv-reg-btn-back:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* Submit spinner */
.hmv-spinner {
  width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.3);
  border-top-color: #000; border-radius: 50%;
  display: inline-block; animation: hmvSpin .7s linear infinite;
}
@keyframes hmvSpin { to { transform: rotate(360deg); } }

/* ── Success State ── */
.hmv-reg-success {
  text-align: center; padding: 60px 20px;
  animation: hmvFadeIn .4s ease;
}
.hmv-success-icon { font-size: 72px; margin-bottom: 20px; }
.hmv-reg-success h2 { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 14px; }
.hmv-reg-success p  { font-size: 16px; color: var(--c-text2); margin: 0 0 10px; line-height: 1.6; }
.hmv-success-steps {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  margin: 32px 0; padding: 24px; background: var(--c-bg3);
  border: 1px solid var(--c-border); border-radius: 14px;
}
.hmv-success-step { text-align: center; }
.hmv-success-step span { font-size: 28px; display: block; margin-bottom: 8px; }
.hmv-success-step p  { font-size: 13px; color: var(--c-text2); margin: 0; }
.hmv-reg-btn-home {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg,var(--c-accent),var(--c-accent2));
  color: #000; font-size: 15px; font-weight: 700; padding: 13px 28px;
  border-radius: 10px; text-decoration: none; transition: opacity .2s;
}
.hmv-reg-btn-home:hover { opacity: .88; color: #000; }

/* ── Inline notice (pending/approved state) ── */
.hmv-notice {
  padding: 16px 20px; border-radius: 12px; margin: 20px 0;
  font-size: 15px; line-height: 1.5;
}
.hmv-success { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.3); color: #6ee7b7; }
.hmv-warning { background: rgba(245,158,11,.12);  border: 1px solid rgba(245,158,11,.3);  color: #fcd34d; }
.hmv-error   { background: rgba(219,22,0,.12);    border: 1px solid rgba(219,22,0,.35);   color: #fca5a5; }
.hmv-info    { background: rgba(0,212,255,.09);   border: 1px solid rgba(0,212,255,.25);  color: #7dd3fc; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hmv-reg-row { grid-template-columns: 1fr; }
  .hmv-reg-hero { padding: 40px 16px; }
  .hmv-reg-hero-stats { gap: 24px; }
  .hmv-reg-steps { padding: 18px 12px; gap: 0; }
  .hmv-reg-step-line { width: 30px; }
  .hmv-reg-form-wrap { padding: 24px 16px 48px; }
  .hmv-success-steps { flex-direction: column; gap: 16px; }
}

/* ════════════════════════════════════════
   VENDOR DASHBOARD
════════════════════════════════════════ */
.hmv-dash-outer {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.hmv-dash-wrap {
  display: flex; min-height: 85vh;
  background: var(--c-bg); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--c-border);
  width: 100%;
}

/* ── Sidebar ── */
.hmv-sidebar {
  width: 240px; min-width: 240px; background: var(--c-bg2);
  border-right: 1px solid var(--c-border);
  display: flex; flex-direction: column; padding-bottom: 16px;
}
.hmv-sidebar-store {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 16px; border-bottom: 1px solid var(--c-border);
}
.hmv-store-logo {
  width: 44px; height: 44px; border-radius: 10px; object-fit: cover;
  border: 2px solid var(--c-border); flex-shrink: 0;
}
.hmv-store-avatar {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg,var(--c-accent),var(--c-accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; color: #000;
}
.hmv-sidebar-store strong { display: block; font-size: 14px; font-weight: 700; color: var(--c-text); }
.hmv-status-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px; margin-top: 3px; text-transform: uppercase;
}
.hmv-status-approved { background: rgba(16,185,129,.18); color: #34d399; }
.hmv-status-pending  { background: rgba(245,158,11,.18);  color: #fbbf24; }
.hmv-status-suspended{ background: rgba(219,22,0,.18);    color: #f87171; }

.hmv-nav { display: flex; flex-direction: column; flex: 1; padding: 10px 0; }
.hmv-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; font-size: 14px; color: var(--c-text2);
  text-decoration: none; border-left: 3px solid transparent;
  transition: all .15s; white-space: nowrap;
}
.hmv-nav-item:hover  { color: var(--c-accent); background: rgba(0,212,255,.04); }
.hmv-nav-item.active { color: var(--c-accent); background: rgba(0,212,255,.07); border-left-color: var(--c-accent); }
.hmv-nav-logout      { color: #f87171 !important; margin-top: auto; }
.hmv-nav-logout:hover{ background: rgba(248,113,113,.06) !important; }

/* ── Main ── */
.hmv-main { flex: 1; padding: 28px; overflow-x: auto; background: var(--c-bg); }
.hmv-page-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.hmv-page-header h2 { margin: 0; font-size: 22px; font-weight: 700; color: var(--c-text); }
.hmv-page-header p  { margin: 4px 0 0; font-size: 14px; color: var(--c-text2); }

/* ── Stats ── */
.hmv-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.hmv-stats-2    { grid-template-columns: repeat(2,1fr); }
.hmv-stat-card  { background: var(--c-bg2); border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 20px; text-align: center; }
.hmv-stat-green { border-color: rgba(16,185,129,.25); }
.hmv-stat-yellow{ border-color: rgba(245,158,11,.25); }
.hmv-stat-icon  { font-size: 28px; margin-bottom: 8px; }
.hmv-stat-val   { font-size: 26px; font-weight: 800; color: var(--c-text); }
.hmv-stat-lbl   { font-size: 12px; color: var(--c-text2); margin-top: 4px; }

/* ── Cards ── */
.hmv-card { background: var(--c-bg2); border: 1px solid var(--c-border); border-radius: var(--c-radius); margin-bottom: 20px; overflow: hidden; }
.hmv-card-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--c-border); }
.hmv-card-head h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--c-text); }
.hmv-card-head small { color: var(--c-text2); font-size: 12px; }
.hmv-form-body { padding: 20px; }

/* ── Tables ── */
.hmv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hmv-table th { padding: 11px 14px; text-align: left; color: var(--c-text2); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; border-bottom: 1px solid var(--c-border); }
.hmv-table td { padding: 12px 14px; color: var(--c-text); border-bottom: 1px solid var(--c-border); vertical-align: middle; }
.hmv-table tbody tr:last-child td { border-bottom: none; }
.hmv-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.hmv-prod-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid var(--c-border); }
.hmv-actions { display: flex; gap: 6px; }
.hmv-action-btn { background: var(--c-bg3); border: 1px solid var(--c-border); border-radius: 8px; padding: 6px 10px; font-size: 14px; text-decoration: none; color: var(--c-text); cursor: pointer; transition: all .15s; }
.hmv-action-btn:hover    { border-color: var(--c-accent); }
.hmv-btn-delete:hover    { border-color: var(--c-red) !important; }

/* ── Badges ── */
.hmv-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.hmv-badge-active,.hmv-badge-approved,.hmv-badge-paid,.hmv-badge-completed { background: rgba(16,185,129,.15); color: #34d399; }
.hmv-badge-draft,.hmv-badge-pending { background: rgba(245,158,11,.15); color: #fbbf24; }
.hmv-badge-suspended,.hmv-badge-refunded { background: rgba(219,22,0,.15); color: #f87171; }

/* ── Buttons ── */
.hmv-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; text-decoration: none; transition: all .2s; }
.hmv-btn-primary   { background: linear-gradient(135deg,var(--c-accent),var(--c-accent2)); color: #000; }
.hmv-btn-primary:hover { opacity: .88; color: #000; }
.hmv-btn-secondary { background: var(--c-bg3); border: 1.5px solid var(--c-border); color: var(--c-text); }
.hmv-btn-secondary:hover { border-color: var(--c-accent); color: var(--c-accent); }
.hmv-btn-full { width: 100%; justify-content: center; }

/* ── Dashboard Forms ── */
.hmv-form-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.hmv-form .hmv-field { margin-bottom: 16px; }
.hmv-form label { display: block; font-size: 13px; font-weight: 600; color: var(--c-text2); margin-bottom: 6px; }
.hmv-form label span { color: var(--c-red); }
.hmv-form input[type=text],
.hmv-form input[type=email],
.hmv-form input[type=tel],
.hmv-form input[type=number],
.hmv-form input[type=password],
.hmv-form select,
.hmv-form textarea {
  width: 100%; padding: 11px 14px; border-radius: 8px; font-size: 14px;
  background: var(--c-bg3); border: 1.5px solid var(--c-border);
  color: var(--c-text); outline: none; box-sizing: border-box;
  transition: border-color .2s; font-family: inherit;
}
.hmv-form input:focus,.hmv-form select:focus,.hmv-form textarea:focus { border-color: var(--c-accent); }
.hmv-form small { color: var(--c-text2); font-size: 12px; }
.hmv-form-section h3 { font-size: 12px; font-weight: 700; color: var(--c-accent); text-transform: uppercase; letter-spacing: .7px; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--c-border); }
.hmv-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hmv-input-note { font-size: 13px; color: var(--c-text2); padding: 10px 14px; background: var(--c-bg3); border-radius: 8px; }
.hmv-checkbox label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-text2); }
.hmv-checkbox input { width: auto; }

/* ── Image Upload ── */
.hmv-image-upload-zone { cursor: pointer; }
.hmv-img-preview { width:100%; aspect-ratio:1; max-width:200px; background:var(--c-bg3); border:2px dashed var(--c-border); border-radius:10px; overflow:hidden; margin-bottom:10px; cursor:pointer; transition:border-color .2s; display:block; }
.hmv-img-preview img { width:100%; height:100%; object-fit:cover; display:block !important; }
.hmv-img-preview.has-image img { display:block !important; }
.hmv-img-preview.has-image .hmv-img-placeholder { display:none !important; }
.hmv-img-placeholder { text-align:center; color:var(--c-text2); padding:20px; }
.hmv-img-placeholder span { font-size:32px; display:block; margin-bottom:8px; }
.hmv-img-placeholder p { font-size:13px; margin:0 0 4px; color:var(--c-text); }
.hmv-img-placeholder small { font-size:11px; }
.hmv-gallery-preview { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.hmv-gallery-item { position:relative; width:72px; height:72px; }
.hmv-gallery-item img { width:100%; height:100%; object-fit:cover; border-radius:8px; border:1px solid var(--c-border); }
.hmv-remove-gallery { position:absolute; top:-6px; right:-6px; width:20px; height:20px; background:var(--c-red); border:none; border-radius:50%; color:#fff; font-size:13px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.hmv-add-gallery-btn { width:72px; height:72px; background:var(--c-bg3); border:2px dashed var(--c-border); border-radius:8px; color:var(--c-text2); font-size:11px; cursor:pointer; transition:all .2s; }
.hmv-add-gallery-btn:hover { border-color:var(--c-accent); color:var(--c-accent); }
.hmv-media-field { display:flex; align-items:center; gap:12px; }
.hmv-logo-preview { width:80px; height:80px; background:var(--c-bg3); border:1px solid var(--c-border); border-radius:10px; overflow:hidden; }
.hmv-banner-preview { width:200px; height:60px; background:var(--c-bg3); border:1px solid var(--c-border); border-radius:8px; overflow:hidden; }
.hmv-logo-preview img,.hmv-banner-preview img { width:100%; height:100%; object-fit:cover; }

/* ── Product search ── */
.hmv-product-search { padding:14px 20px; border-bottom:1px solid var(--c-border); }
.hmv-search-input { width:100%; max-width:340px; padding:9px 14px; background:var(--c-bg3); border:1.5px solid var(--c-border); border-radius:8px; color:var(--c-text); font-size:14px; outline:none; }
.hmv-search-input:focus { border-color:var(--c-accent); }

/* ── Empty ── */
.hmv-empty { text-align:center; padding:48px 20px; color:var(--c-text2); }
.hmv-empty-icon { font-size:48px; margin-bottom:12px; }
.hmv-empty h3 { color:var(--c-text); margin-bottom:8px; }

/* ── Colours ── */
.hmv-green { color:#34d399 !important; }
.hmv-red   { color:#f87171 !important; }
.hmv-muted { color:var(--c-text2); font-size:13px; }

/* ── Dashboard Responsive ── */
@media (max-width:900px) {
  .hmv-dash-wrap { flex-direction:column; }
  .hmv-sidebar { width:100%; min-width:unset; }
  .hmv-nav { flex-direction:row; flex-wrap:wrap; padding:6px; }
  .hmv-nav-item { padding:8px 12px; font-size:12px; border-left:none; border-bottom:2px solid transparent; }
  .hmv-nav-item.active { border-bottom-color:var(--c-accent); background:rgba(0,212,255,.07); }
  .hmv-stats-grid { grid-template-columns:repeat(2,1fr); }
  .hmv-form-grid  { grid-template-columns:1fr; }
  .hmv-main { padding:16px; }
}
@media (max-width:600px) {
  .hmv-stats-grid { grid-template-columns:1fr 1fr; }
  .hmv-two-col    { grid-template-columns:1fr; }
}

/* ════════════════════════════════════════
   VENDOR LOGIN PAGE
════════════════════════════════════════ */
.hmv-login-page {
  --c-bg:     #0b1524;
  --c-bg2:    #111e33;
  --c-bg3:    #172540;
  --c-border: rgba(255,255,255,.09);
  --c-accent: #00d4ff;
  --c-text:   #e2e8f0;
  --c-text2:  #7e9ab5;
  --c-red:    #db1600;
  --c-green:  #10b981;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  min-height: 88vh;
  background: var(--c-bg);
  margin: -20px -20px 0;
}

/* Left: login box */
.hmv-login-box {
  width: 480px;
  min-width: 340px;
  padding: 48px 44px;
  background: var(--c-bg2);
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Right: info panel */
.hmv-login-info {
  flex: 1;
  background: linear-gradient(135deg, #0d1f3c 0%, #091829 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.hmv-login-info::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(0,212,255,.07) 0%, transparent 70%);
}
.hmv-login-info-inner { position: relative; z-index: 1; max-width: 400px; }
.hmv-login-info h2 { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 14px; }
.hmv-login-info p  { color: #94a3b8; font-size: 15px; margin: 0 0 28px; line-height: 1.6; }
.hmv-login-features { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hmv-login-features li { color: #cbd5e1; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.hmv-login-support { font-size: 13px; color: #64748b; }
.hmv-login-support a { color: var(--c-accent); text-decoration: none; }
.hmv-login-support a:hover { text-decoration: underline; }

/* Brand header */
.hmv-login-brand { text-align: center; margin-bottom: 32px; }
.hmv-login-logo-wrap { font-size: 44px; margin-bottom: 12px; }
.hmv-login-logo { font-size: 44px; margin-bottom: 12px; }
.hmv-login-brand h1 { font-size: 24px; font-weight: 800; color: #fff; margin: 0 0 6px; }
.hmv-login-brand p  { color: var(--c-text2); font-size: 14px; margin: 0; }

/* Fields */
.hmv-login-field { margin-bottom: 18px; }
.hmv-login-field label { display: block; font-size: 13px; font-weight: 600; color: var(--c-text2); margin-bottom: 7px; }
.hmv-login-input-wrap {
  display: flex; align-items: center;
  background: var(--c-bg3); border: 1.5px solid var(--c-border);
  border-radius: 10px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.hmv-login-input-wrap:focus-within {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}
.hmv-login-icon { padding: 0 12px 0 14px; font-size: 16px; flex-shrink: 0; opacity: .7; }
.hmv-login-input-wrap input {
  flex: 1; border: none !important; background: transparent !important;
  padding: 13px 12px 13px 0 !important; color: var(--c-text) !important;
  font-size: 15px !important; outline: none !important;
  font-family: inherit !important; box-shadow: none !important;
}
.hmv-login-input-wrap input::placeholder { color: #3d5a78 !important; }
.hmv-login-pw-toggle {
  background: none; border: none; padding: 0 14px; cursor: pointer;
  font-size: 16px; color: var(--c-text2); transition: color .2s;
}
.hmv-login-pw-toggle:hover { color: var(--c-accent); }

/* Meta row */
.hmv-login-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; font-size: 13px;
}
.hmv-login-remember {
  display: flex; align-items: center; gap: 7px;
  color: var(--c-text2); cursor: pointer;
}
.hmv-login-remember input { accent-color: var(--c-accent); width: 15px; height: 15px; }
.hmv-login-forgot { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.hmv-login-forgot:hover { text-decoration: underline; }

/* Buttons */
.hmv-login-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px; border-radius: 10px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #00d4ff, #0ea5e9);
  color: #000; font-size: 15px; font-weight: 700; letter-spacing: .2px;
  transition: opacity .2s, transform .15s; text-decoration: none;
}
.hmv-login-btn:hover { opacity: .9; transform: translateY(-1px); color: #000; }
.hmv-login-btn:active { transform: translateY(0); }
.hmv-login-btn:disabled { opacity: .7; transform: none; }

/* Divider */
.hmv-login-divider {
  text-align: center; margin: 22px 0 14px; position: relative;
}
.hmv-login-divider::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--c-border);
}
.hmv-login-divider span {
  position: relative; background: var(--c-bg2);
  padding: 0 14px; font-size: 12px; color: var(--c-text2);
}

/* Register CTA */
.hmv-login-register-btn {
  display: block; text-align: center; padding: 12px;
  border: 1.5px solid var(--c-border); border-radius: 10px;
  color: var(--c-text); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .2s;
}
.hmv-login-register-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* Spinner (reuse) */
.hmv-spinner {
  width: 15px; height: 15px; border: 2px solid rgba(0,0,0,.25);
  border-top-color: #000; border-radius: 50%;
  display: inline-block; animation: hmvSpin .7s linear infinite;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 820px) {
  .hmv-login-page { flex-direction: column; }
  .hmv-login-box  { width: 100%; padding: 36px 24px; border-right: none; border-bottom: 1px solid var(--c-border); }
  .hmv-login-info { padding: 36px 24px; }
}
