/* ==========================================================================
   BALUTH VENDOR ONBOARDING — ADVANCED PREMIUM ARTISAN REGISTRATION
   Theme: Warm Ivory, Forest Emerald (#1C4D35), Terracotta (#B85822), Gold (#D4AF37)
   ========================================================================== */

:root {
  /* Core Brand Colors */
  --vreg-emerald: #1C4D35;
  --vreg-emerald-dark: #123323;
  --vreg-emerald-light: #EDF6F1;
  --vreg-emerald-glow: rgba(28, 77, 53, 0.14);

  --vreg-terracotta: #B85822;
  --vreg-terracotta-dark: #8F4014;
  --vreg-terracotta-light: #FDF3EC;

  --vreg-gold: #D4AF37;
  --vreg-gold-dark: #B59325;
  --vreg-gold-light: #FBF8EE;
  --vreg-gold-glow: rgba(212, 175, 55, 0.22);

  --vreg-maroon: #6A1B29;

  /* Surfaces & Backgrounds */
  --vreg-bg: #FAF7F2;
  --vreg-surface: #FFFFFF;
  --vreg-surface-alt: #F6F2EA;
  --vreg-surface-card: #FFFFFF;

  /* Typography */
  --vreg-text-main: #1A211D;
  --vreg-text-body: #4A554E;
  --vreg-text-muted: #6E7A72;
  --vreg-text-dim: #9AA69E;

  /* Borders & Shadows */
  --vreg-border: #E8E2D7;
  --vreg-border-light: rgba(232, 226, 215, 0.7);
  --vreg-border-focus: #1C4D35;

  --vreg-radius-sm: 8px;
  --vreg-radius-md: 12px;
  --vreg-radius-lg: 18px;
  --vreg-radius-xl: 26px;
  --vreg-radius-pill: 9999px;

  --vreg-shadow-xs: 0 1px 3px rgba(26, 33, 29, 0.04);
  --vreg-shadow-sm: 0 3px 10px rgba(26, 33, 29, 0.05);
  --vreg-shadow-md: 0 10px 30px rgba(26, 33, 29, 0.07);
  --vreg-shadow-card: 0 24px 64px -12px rgba(28, 50, 38, 0.10), 0 4px 16px rgba(0, 0, 0, 0.02);
  --vreg-shadow-elevated: 0 20px 40px rgba(28, 77, 53, 0.22);
}

/* Base resets & layout */
body {
  background-color: var(--vreg-bg);
  color: var(--vreg-text-main);
  font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.vreg-main-wrapper {
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   1. HERO SECTION WITH CULTURAL MOTIFS & BENEFITS
   ========================================================================== */
.vendor-reg-hero {
  position: relative;
  padding: 64px 24px 44px;
  background: 
    radial-gradient(ellipse 65% 55% at 50% -10%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 25%, rgba(28, 77, 53, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 35%, rgba(184, 88, 34, 0.08) 0%, transparent 45%),
    var(--vreg-bg);
  text-align: center;
  overflow: hidden;
}

/* Ambient glow & cultural motifs */
.vreg-hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.vreg-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.vreg-glow-orb-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -40px;
  background: radial-gradient(circle, rgba(28, 77, 53, 0.15) 0%, transparent 70%);
  animation: vregFloatGlow 12s ease-in-out infinite alternate;
}

.vreg-glow-orb-2 {
  width: 380px;
  height: 380px;
  top: -60px;
  right: -60px;
  background: radial-gradient(circle, rgba(184, 88, 34, 0.14) 0%, transparent 70%);
  animation: vregFloatGlow 15s ease-in-out infinite alternate-reverse;
}

.vreg-glow-orb-3 {
  width: 260px;
  height: 260px;
  bottom: -40px;
  left: 45%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

@keyframes vregFloatGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 15px) scale(1.08); }
  100% { transform: translate(-15px, 25px) scale(0.95); }
}

.vreg-cultural-motif {
  position: absolute;
  width: 140px;
  height: 140px;
  color: var(--vreg-terracotta);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.motif-top-left {
  top: 15px;
  left: 3%;
  color: var(--vreg-emerald);
  animation: vregMotifRotate 60s linear infinite;
}

.motif-top-right {
  top: 25px;
  right: 4%;
  color: var(--vreg-gold);
  animation: vregMotifFloat 10s ease-in-out infinite alternate;
}

@keyframes vregMotifRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes vregMotifFloat {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(12px) rotate(8deg); }
}

.vendor-reg-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: vregHeroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vregHeroEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Badge Pill */
.vendor-reg-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 12px;
  border-radius: var(--vreg-radius-pill);
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 14px rgba(28, 77, 53, 0.06), 0 0 0 3px rgba(212, 175, 55, 0.08);
  font-size: 13px;
  font-weight: 700;
  color: var(--vreg-emerald-dark);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.vreg-pill-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--vreg-emerald);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.vreg-pill-badge {
  background: var(--vreg-terracotta-light);
  color: var(--vreg-terracotta);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--vreg-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Titles */
.vreg-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4vw + 10px, 46px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--vreg-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.vreg-hero-sub {
  font-size: clamp(14.5px, 1.2vw + 1px, 16.5px);
  color: var(--vreg-text-body);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* 3 Benefit Cards Grid */
.vreg-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.vreg-benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--vreg-border-light);
  border-radius: var(--vreg-radius-lg);
  padding: 22px 20px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--vreg-shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.vreg-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.vreg-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vreg-shadow-md);
  border-color: rgba(28, 77, 53, 0.2);
}

.vreg-benefit-card:nth-child(1):hover::before { background: var(--vreg-emerald); }
.vreg-benefit-card:nth-child(2):hover::before { background: var(--vreg-gold); }
.vreg-benefit-card:nth-child(3):hover::before { background: var(--vreg-terracotta); }

.vreg-benefit-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.vreg-benefit-card:hover .vreg-benefit-icon-wrap {
  transform: scale(1.08);
}

.icon-emerald {
  background: var(--vreg-emerald-light);
  color: var(--vreg-emerald);
  border: 1px solid rgba(28, 77, 53, 0.15);
}

.icon-gold {
  background: var(--vreg-gold-light);
  color: var(--vreg-gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.icon-terracotta {
  background: var(--vreg-terracotta-light);
  color: var(--vreg-terracotta);
  border: 1px solid rgba(184, 88, 34, 0.18);
}

.vreg-benefit-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--vreg-text-main);
  margin-bottom: 4px;
  line-height: 1.35;
}

.vreg-benefit-text p {
  font-size: 12.5px;
  color: var(--vreg-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Trust Ribbon */
.vreg-trust-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 226, 215, 0.8);
  border-radius: var(--vreg-radius-pill);
  box-shadow: var(--vreg-shadow-xs);
}

.vreg-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--vreg-emerald-dark);
}

.vreg-trust-item i {
  color: var(--vreg-gold-dark);
  font-size: 13px;
}

.vreg-trust-sep {
  color: var(--vreg-border);
  font-size: 12px;
}

/* ==========================================================================
   2. ONBOARDING CARD & PROGRESS BAR
   ========================================================================== */
.vendor-reg-container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 80px;
  position: relative;
  z-index: 3;
}

.vendor-reg-card {
  background: var(--vreg-surface);
  border-radius: var(--vreg-radius-xl);
  border: 1px solid var(--vreg-border-light);
  box-shadow: var(--vreg-shadow-card);
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
  animation: vregCardRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vregCardRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle Paithani Gold & Emerald Top Accent Bar */
.vendor-reg-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--vreg-emerald) 0%, var(--vreg-gold) 45%, var(--vreg-terracotta) 80%, var(--vreg-maroon) 100%);
}

/* Card Header with Step Title & Progress Percentage */
.vreg-card-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--vreg-border-light);
  gap: 16px;
}

.vreg-step-counter {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vreg-terracotta);
  margin-bottom: 4px;
}

.vreg-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--vreg-text-main);
  margin: 0;
  line-height: 1.25;
}

.vreg-progress-tracker {
  min-width: 200px;
  text-align: right;
}

.vreg-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--vreg-text-muted);
  margin-bottom: 6px;
}

.vreg-progress-text strong {
  color: var(--vreg-emerald);
  font-weight: 800;
}

.vreg-progress-track {
  width: 100%;
  height: 6px;
  background: var(--vreg-surface-alt);
  border-radius: var(--vreg-radius-pill);
  overflow: hidden;
  border: 1px solid rgba(232, 226, 215, 0.8);
}

.vreg-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--vreg-emerald) 0%, var(--vreg-gold) 100%);
  border-radius: var(--vreg-radius-pill);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   3. INTERACTIVE STEPPER NAVIGATION
   ========================================================================== */
.vendor-reg-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
  gap: 8px;
  padding: 0 8px;
}

.vendor-reg-stepper::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: #E8E2D7;
  z-index: 1;
}

.vreg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  flex: 1;
  cursor: pointer;
  outline: none;
}

.vreg-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #D8D2C4;
  color: var(--vreg-text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.vreg-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--vreg-text-muted);
  text-align: center;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

/* Active Step */
.vreg-step.active .vreg-step-num {
  background: linear-gradient(135deg, var(--vreg-emerald) 0%, var(--vreg-emerald-dark) 100%);
  border-color: var(--vreg-emerald);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(28, 77, 53, 0.35), 0 0 0 4px rgba(28, 77, 53, 0.12);
  transform: scale(1.1);
}

.vreg-step.active .vreg-step-label {
  color: var(--vreg-emerald);
  font-weight: 800;
}

/* Completed Step */
.vreg-step.completed .vreg-step-num {
  background: var(--vreg-emerald-light);
  border-color: var(--vreg-emerald);
  color: var(--vreg-emerald);
}

.vreg-step.completed .vreg-step-num i::before {
  content: "\f00c"; /* FontAwesome check */
}

.vreg-step.completed .vreg-step-label {
  color: var(--vreg-emerald);
  font-weight: 700;
}

/* Hover state for past steps */
.vreg-step.completed:hover .vreg-step-num {
  transform: scale(1.06);
  background: var(--vreg-emerald);
  color: #FFFFFF;
}

/* ==========================================================================
   4. FORM STEP CONTENT & SECTION HEADERS
   ========================================================================== */
.vreg-step-content {
  display: none;
}

.vreg-step-content.active {
  display: block;
  animation: vregSlideFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vregSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vreg-step-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.vreg-step-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--vreg-emerald-light);
  color: var(--vreg-emerald);
  border: 1px solid rgba(28, 77, 53, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.vreg-section-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--vreg-text-main);
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.vreg-section-sub {
  font-size: 13px;
  color: var(--vreg-text-muted);
  margin: 0;
  line-height: 1.45;
}

.vreg-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--vreg-text-body);
  background: var(--vreg-surface-alt);
  padding: 12px 18px;
  border-radius: var(--vreg-radius-md);
  border-left: 3.5px solid var(--vreg-gold-dark);
  margin-bottom: 24px;
  line-height: 1.5;
}

.vreg-hint i {
  color: var(--vreg-gold-dark);
  font-size: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   5. FORM GRIDS & INPUT CONTROLS
   ========================================================================== */
.vreg-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.vreg-span-2 {
  grid-column: 1 / -1;
}

.vreg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vreg-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--vreg-text-main);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Modern Input Groups with Icons */
.vreg-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.vreg-input-icon {
  position: absolute;
  left: 15px;
  color: var(--vreg-text-dim);
  font-size: 15px;
  pointer-events: none;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.vreg-input-group:focus-within .vreg-input-icon {
  color: var(--vreg-emerald);
  transform: scale(1.05);
}

.vreg-input-group input[type="text"],
.vreg-input-group input[type="email"],
.vreg-input-group input[type="tel"],
.vreg-input-group input[type="password"],
.vreg-input-group select {
  width: 100%;
  height: 48px;
  padding: 12px 16px 12px 42px;
  border: 1.5px solid var(--vreg-border);
  border-radius: var(--vreg-radius-md);
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--vreg-text-main);
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.vreg-input-group.is-textarea {
  align-items: flex-start;
}

.vreg-input-group.is-textarea .vreg-input-icon {
  top: 15px;
}

.vreg-input-group.is-textarea textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 16px 12px 42px;
  border: 1.5px solid var(--vreg-border);
  border-radius: var(--vreg-radius-md);
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--vreg-text-main);
  background: #FFFFFF;
  outline: none;
  resize: vertical;
  line-height: 1.55;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vreg-input-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236E7A72' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px 20px;
  padding-right: 40px;
  cursor: pointer;
}

/* Input Focus States */
.vreg-input-group input:focus,
.vreg-input-group select:focus,
.vreg-input-group textarea:focus {
  border-color: var(--vreg-border-focus);
  box-shadow: 0 0 0 4px var(--vreg-emerald-glow);
  background: #FFFFFF;
}

.vreg-input-group input::placeholder,
.vreg-input-group textarea::placeholder {
  color: var(--vreg-text-dim);
  font-weight: 400;
}

/* Password Toggle */
.vreg-password-wrap input {
  padding-right: 46px;
}

.vreg-toggle-pass {
  position: absolute;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: var(--vreg-radius-sm);
  border: none;
  background: transparent;
  color: var(--vreg-text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: color 0.18s ease, background-color 0.18s ease;
  z-index: 3;
}

.vreg-toggle-pass:hover {
  color: var(--vreg-emerald);
  background-color: var(--vreg-emerald-light);
}

/* Error messages */
.vreg-error {
  font-size: 12px;
  font-weight: 600;
  color: #DC2626;
  min-height: 18px;
  display: block;
  margin-top: 2px;
  transition: opacity 0.2s ease;
}

/* ==========================================================================
   6. DOCUMENT & PHOTO UPLOADS
   ========================================================================== */
.vreg-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.vreg-upload-box {
  border: 1.5px dashed #D6CEC0;
  border-radius: var(--vreg-radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  background: #FAF8F5;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 145px;
  position: relative;
  outline: none;
}

.vreg-upload-box:hover,
.vreg-upload-box:focus {
  border-color: var(--vreg-emerald);
  background: var(--vreg-emerald-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28, 77, 53, 0.08);
}

.vreg-upload-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--vreg-emerald);
  border: 1px solid rgba(28, 77, 53, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.vreg-upload-box:hover .vreg-upload-icon-circle {
  transform: scale(1.08);
}

.vreg-upload-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--vreg-text-main);
  margin-top: 2px;
}

.vreg-upload-sub {
  font-size: 12px;
  color: var(--vreg-text-muted);
  max-width: 240px;
  line-height: 1.4;
  word-break: break-word;
}

.vreg-upload-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--vreg-text-dim);
  background: rgba(0, 0, 0, 0.04);
  padding: 3px 10px;
  border-radius: var(--vreg-radius-pill);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Uploaded State */
.vreg-upload-box.has-file {
  border-style: solid;
  border-color: var(--vreg-emerald);
  background: #F2F8F4;
  box-shadow: 0 6px 18px rgba(28, 77, 53, 0.1);
}

.vreg-upload-box.has-file .vreg-upload-icon-circle {
  background: var(--vreg-emerald);
  color: #FFFFFF;
  border-color: var(--vreg-emerald);
}

.vreg-upload-box.has-file .vreg-upload-sub {
  color: var(--vreg-emerald-dark);
  font-weight: 700;
}

.vreg-upload-box.has-file .vreg-upload-badge {
  background: var(--vreg-emerald);
  color: #FFFFFF;
}

/* ==========================================================================
   7. REVIEW PANEL & TERMS AGREEMENT
   ========================================================================== */
.vreg-review-box {
  background: #FAF8F5;
  border: 1px solid var(--vreg-border);
  border-radius: var(--vreg-radius-lg);
  padding: 26px;
  margin-bottom: 24px;
}

.vreg-review-section {
  margin-bottom: 22px;
}

.vreg-review-section:last-child {
  margin-bottom: 0;
}

.vreg-review-section-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vreg-emerald);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(28, 77, 53, 0.14);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vreg-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed #E5E0D5;
  font-size: 13.5px;
}

.vreg-review-row:last-child {
  border-bottom: none;
}

.vreg-review-row span:first-child {
  color: var(--vreg-text-muted);
  font-weight: 500;
}

.vreg-review-row span:last-child {
  color: var(--vreg-text-main);
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

/* Terms Row */
.vreg-terms-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--vreg-text-body);
  line-height: 1.55;
  background: var(--vreg-surface-alt);
  padding: 16px 20px;
  border-radius: var(--vreg-radius-md);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
}

.vreg-terms-row input[type="checkbox"] {
  margin-top: 3px;
  width: 19px;
  height: 19px;
  accent-color: var(--vreg-emerald);
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 4px;
}

.vreg-terms-row label {
  cursor: pointer;
  user-select: none;
}

.vreg-terms-row a {
  color: var(--vreg-emerald);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   8. FOOTER ACTIONS & BUTTONS
   ========================================================================== */
.vreg-footer {
  display: flex;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1.5px solid var(--vreg-border-light);
  gap: 14px;
}

.vreg-footer-spacer {
  flex: 1;
}

/* Primary Hero Button */
.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  height: 52px;
  background: linear-gradient(135deg, var(--vreg-emerald) 0%, var(--vreg-emerald-dark) 100%);
  color: #FFFFFF !important;
  border: none;
  border-radius: var(--vreg-radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(28, 77, 53, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary-hero:hover::after {
  left: 120%;
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(28, 77, 53, 0.38);
  filter: brightness(1.06);
}

.btn-primary-hero:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(28, 77, 53, 0.22);
}

.btn-primary-hero:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

/* Secondary Button */
.btn-secondary-hero.vreg-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  height: 52px;
  background: #FFFFFF !important;
  border: 1.5px solid var(--vreg-border) !important;
  color: var(--vreg-text-main) !important;
  border-radius: var(--vreg-radius-md);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--vreg-shadow-xs);
  transition: all 0.18s ease;
}

.btn-secondary-hero.vreg-btn-dark:hover {
  background: var(--vreg-surface-alt) !important;
  border-color: #D6CEC0 !important;
  color: var(--vreg-emerald) !important;
  transform: translateY(-1px);
}

/* Security Note at bottom */
.vreg-card-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--vreg-text-muted);
  text-align: center;
}

.vreg-card-footer-note i {
  color: var(--vreg-emerald);
}

/* ==========================================================================
   9. SUCCESS STATE WITH ROADMAP
   ========================================================================== */
.vreg-success {
  text-align: center;
  padding: 44px 20px 28px;
  animation: vregCardRise 0.5s ease forwards;
}

.vreg-success-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #E8F7EE;
  border: 2px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.vreg-success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vreg-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--vreg-text-main);
  margin-bottom: 12px;
}

.vreg-success p {
  font-size: 15px;
  color: var(--vreg-text-body);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.vreg-success strong {
  color: var(--vreg-emerald);
}

/* Success Roadmap */
.vreg-success-roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: left;
}

.vreg-roadmap-step {
  background: var(--vreg-surface-alt);
  border: 1px solid var(--vreg-border-light);
  border-radius: var(--vreg-radius-md);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.vreg-roadmap-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vreg-emerald);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vreg-roadmap-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--vreg-text-main);
  margin-bottom: 3px;
}

.vreg-roadmap-info span {
  font-size: 11.5px;
  color: var(--vreg-text-muted);
  line-height: 1.4;
  display: block;
}

.vreg-success-home-btn {
  display: inline-flex;
  min-width: 200px;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .vreg-benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vendor-reg-card {
    padding: 32px 28px;
  }

  .vreg-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vreg-progress-tracker {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .vendor-reg-hero {
    padding: 40px 16px 28px;
  }

  .vendor-reg-container {
    padding: 0 14px 48px;
  }

  .vendor-reg-card {
    padding: 26px 18px;
    border-radius: var(--vreg-radius-lg);
  }

  .vreg-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vreg-upload-grid {
    grid-template-columns: 1fr;
  }

  .vendor-reg-stepper {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
    gap: 12px;
  }

  .vendor-reg-stepper::-webkit-scrollbar {
    display: none;
  }

  .vendor-reg-stepper::before {
    left: 20px;
    right: 20px;
    width: 460px;
  }

  .vreg-step {
    min-width: 68px;
    flex: 0 0 auto;
  }

  .vreg-step-num {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .vreg-step-label {
    font-size: 11px;
    white-space: nowrap;
  }

  .vreg-footer {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .vreg-footer-spacer {
    display: none;
  }

  .btn-primary-hero,
  .btn-secondary-hero.vreg-btn-dark {
    width: 100%;
    height: 48px;
  }

  .vreg-success-roadmap {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .motif-top-left,
  .motif-top-right {
    display: none;
  }
}

@media (max-width: 480px) {
  .vendor-reg-hero {
    padding: 30px 12px 20px;
  }

  .vendor-reg-pill {
    padding: 4px 12px;
    font-size: 11.5px;
  }

  .vreg-hero-title {
    font-size: 26px;
  }

  .vreg-hero-sub {
    font-size: 13.5px;
    margin-bottom: 24px;
  }

  .vreg-trust-ribbon {
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--vreg-radius-md);
  }

  .vreg-trust-sep {
    display: none;
  }

  .vendor-reg-card {
    padding: 22px 14px;
  }

  .vreg-card-title {
    font-size: 20px;
  }

  .vreg-input-group input[type="text"],
  .vreg-input-group input[type="email"],
  .vreg-input-group input[type="tel"],
  .vreg-input-group input[type="password"],
  .vreg-input-group select,
  .vreg-input-group textarea {
    height: 46px;
    font-size: 13.5px;
  }
}

/* ==========================================================================
   11. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .vendor-reg-card,
  .vendor-reg-hero-inner,
  .vreg-step-content,
  .vreg-glow-orb,
  .vreg-cultural-motif,
  .vreg-benefit-card,
  .vreg-upload-box,
  .btn-primary-hero {
    animation: none !important;
    transition: none !important;
  }
}