/* ========================================
   Vendor Portal — Page Styles
   Shared across all 6 vendor portal pages.
   Tokens map to css/tokens.css where possible;
   portal-specific tokens are defined below.
   ======================================== */

/* ─────────────────────────────────────────
   Portal-specific tokens
   (supplement css/tokens.css)
   ───────────────────────────────────────── */
:root {
  /* Vendor portal surface variants */
  --vp-navy-mid:   #0f1f38;
  --vp-navy-light: #1a2d4a;
  --vp-off-white:  #f7f8fa;

  /* Orange glow — slightly stronger than --color-accent-light for form focus rings */
  --vp-orange-glow: rgba(232, 98, 28, 0.15);

  /* Gold muted overlay */
  --vp-gold-muted: rgba(212, 160, 74, 0.3);

  /* Card shadow */
  --vp-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);

  /* Gray scale (shared across form elements) */
  --vp-gray-50:  #f9fafb;
  --vp-gray-100: #f3f4f6;
  --vp-gray-200: #e5e7eb;
  --vp-gray-300: #d1d5db;
  --vp-gray-400: #9ca3af;
  --vp-gray-500: #6b7280;
  --vp-gray-600: #4b5563;
  --vp-gray-700: #374151;
  --vp-gray-800: #1f2937;
}


/* ═══════════════════════════════════════════
   SHARED: HERO
   ═══════════════════════════════════════════ */
.vp-hero {
  position: relative;
  background: var(--color-primary);
  padding: 6rem 2rem 4.5rem;
  overflow: hidden;
}
.vp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232, 98, 28, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(212, 160, 74, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
/* Chart grid overlay */
.vp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.vp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.vp-hero__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(232, 98, 28, 0.3);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.vp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--color-surface);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.vp-hero__title span { color: var(--color-accent); }
.vp-hero__sub {
  font-size: 1.05rem;
  color: var(--color-text-on-dark-muted);
  line-height: 1.7;
  max-width: 650px;
}


/* ═══════════════════════════════════════════
   HUB: SECTION WRAPPER
   ═══════════════════════════════════════════ */
.vp-section {
  padding: 5rem 2rem;
}
.vp-section--alt { background: var(--vp-off-white); }
.vp-section--dark { background: var(--color-primary); color: var(--color-surface); }
.vp-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.vp-section__badge {
  font-size: 0.65rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.vp-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.vp-section__sub {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.vp-section--dark .vp-section__sub { color: var(--color-text-on-dark-muted); }


/* ═══════════════════════════════════════════
   HUB: VALUE PROPS
   ═══════════════════════════════════════════ */
.vp-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.vp-value {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--vp-gray-200);
  position: relative;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.vp-value:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.vp-value::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--accent-gold));
  border-radius: 0 0 3px 3px;
}
.vp-value__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--vp-orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
}
.vp-value__icon svg { width: 22px; height: 22px; }
.vp-value__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.vp-value__desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════
   HUB: PORTAL NAV CARDS
   ═══════════════════════════════════════════ */
.vp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.vp-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--vp-gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.vp-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.vp-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(232, 98, 28, 0.08);
  transform: translateY(-2px);
}
.vp-card:hover::after { transform: scaleX(1); }
.vp-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.vp-card__icon svg { width: 22px; height: 22px; }
.vp-card__content { flex: 1; }
.vp-card__title {
  font-weight: var(--font-weight-bold);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.vp-card__arrow {
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s ease;
}
.vp-card:hover .vp-card__arrow {
  opacity: 1;
  transform: translateX(0);
}
.vp-card__desc {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}
.vp-card__tag {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.65rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 0.15rem 0.5rem;
  background: var(--vp-orange-glow);
  border-radius: var(--radius-full);
}


/* ═══════════════════════════════════════════
   HUB: ISO BADGES
   ═══════════════════════════════════════════ */
.vp-badges {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.vp-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.vp-badge:hover { opacity: 1; }
.vp-badge__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 0.65rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.03em;
}
.vp-badge__label {
  font-size: 0.65rem;
  color: var(--color-text-on-dark-muted);
  text-align: center;
  line-height: 1.3;
}


/* ═══════════════════════════════════════════
   HUB: CTA BAND
   ═══════════════════════════════════════════ */
.vp-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--vp-navy-mid) 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vp-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--vp-orange-glow) 0%, transparent 70%);
  pointer-events: none;
}
.vp-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-surface);
  margin-bottom: 0.75rem;
  position: relative;
}
.vp-cta__sub {
  color: var(--color-text-on-dark-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  position: relative;
}
.vp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  position: relative;
}
.vp-btn--primary {
  background: var(--color-accent);
  color: var(--color-surface);
}
.vp-btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 98, 28, 0.35);
}
.vp-btn--outline {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--color-surface);
}
.vp-btn--outline:hover {
  border-color: var(--color-accent);
  background: rgba(232, 98, 28, 0.08);
}
.vp-btn svg { width: 16px; height: 16px; }


/* ═══════════════════════════════════════════
   VENDOR PORTAL: HIDE MAIN SITE HEADER
   The portal sub-nav replaces the main header
   ═══════════════════════════════════════════ */
.vendor-portal .site-header,
.vendor-portal .mobile-backdrop,
.vendor-portal .nav-panel {
  display: none !important;
}

/* ═══════════════════════════════════════════
   PORTAL SUB-NAV
   ═══════════════════════════════════════════ */
.vp-subnav {
  position: sticky;
  top: 0;
  z-index: 250;
  background: var(--color-surface);
  border-bottom: 1px solid var(--vp-gray-200);
  padding: 0 2rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.vp-subnav__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  height: 44px;
}
.vp-subnav__logo {
  display: flex;
  align-items: center;
  margin-right: 0.75rem;
  padding-right: 0.75rem;
  border-right: 1px solid var(--vp-gray-200);
  flex-shrink: 0;
}
.vp-subnav__logo img {
  height: 28px;
  width: auto;
  transition: opacity 0.2s ease;
}
.vp-subnav__logo:hover img { opacity: 0.7; }
.vp-subnav__back {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: var(--font-weight-semibold);
  color: var(--vp-gray-500);
  padding-right: 1rem;
  margin-right: 0.75rem;
  border-right: 1px solid var(--vp-gray-200);
  white-space: nowrap;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.vp-subnav__back:hover { color: var(--color-accent); }
.vp-subnav__back svg { width: 14px; height: 14px; }
.vp-subnav__links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}
.vp-subnav__links::-webkit-scrollbar { display: none; }
.vp-subnav__link {
  font-size: 0.72rem;
  font-weight: var(--font-weight-medium);
  color: var(--vp-gray-500);
  padding: 0.65rem 0.85rem;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}
.vp-subnav__link:hover { color: var(--color-text); }
.vp-subnav__link.active {
  color: var(--color-accent);
  font-weight: var(--font-weight-bold);
}
.vp-subnav__link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px 2px 0 0;
}
.vp-subnav__register {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.03em;
  color: var(--color-surface);
  background: var(--color-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.vp-subnav__register:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}


/* ═══════════════════════════════════════════
   FORM: PROGRESS INDICATOR
   ═══════════════════════════════════════════ */
.vf-progress {
  background: var(--color-surface);
  border-bottom: 1px solid var(--vp-gray-200);
  padding: 1.25rem 2rem;
  position: sticky;
  top: 44px; /* below .vp-subnav */
  z-index: 100;
}
.vf-progress__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.vf-progress__step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.vf-progress__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--vp-gray-300);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: var(--font-weight-bold);
  color: var(--vp-gray-400);
  transition: all 0.3s var(--ease-spring);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.vf-progress__step.active .vf-progress__dot {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--vp-orange-glow);
}
.vf-progress__step.complete .vf-progress__dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-surface);
}
.vf-progress__label {
  font-size: 0.62rem;
  font-weight: var(--font-weight-semibold);
  color: var(--vp-gray-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.vf-progress__step.active .vf-progress__label { color: var(--color-accent); }
.vf-progress__step.complete .vf-progress__label { color: var(--color-text); }

/* Progress line between dots */
.vf-progress__line {
  flex: 1;
  height: 2px;
  background: var(--vp-gray-200);
  margin: 0 0.25rem;
  position: relative;
  z-index: 1;
}
.vf-progress__line-fill {
  height: 100%;
  background: var(--color-accent);
  width: 0;
  transition: width 0.4s var(--ease-out-expo);
}
.vf-progress__step.complete + .vf-progress__line .vf-progress__line-fill,
.vf-progress__step.complete ~ .vf-progress__line .vf-progress__line-fill {
  width: 100%;
}

@media (max-width: 768px) {
  .vf-progress__label { display: none; }
  .vf-progress__step { gap: 0; justify-content: center; }
}


/* ═══════════════════════════════════════════
   FORM: CONTAINER
   ═══════════════════════════════════════════ */
.vf-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}


/* ═══════════════════════════════════════════
   FORM: STEP SECTIONS
   ═══════════════════════════════════════════ */
.vf-step {
  display: none;
  animation: vfStepIn 0.35s var(--ease-out-expo);
}
.vf-step.active { display: block; }

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

.vf-step__header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--vp-gray-200);
}
.vf-step__number {
  font-size: 0.6rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}
.vf-step__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
}
.vf-step__desc {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}


/* ═══════════════════════════════════════════
   FORM: FIELD GROUPS
   ═══════════════════════════════════════════ */
.vf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.vf-row--single  { grid-template-columns: 1fr; }
.vf-row--triple  { grid-template-columns: 1fr 1fr 1fr; }

@media (max-width: 600px) {
  .vf-row,
  .vf-row--triple { grid-template-columns: 1fr; }
}

.vf-group { position: relative; }

.vf-label {
  display: block;
  font-size: 0.78rem;
  font-weight: var(--font-weight-semibold);
  color: var(--vp-gray-700);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.vf-label .required {
  color: var(--color-accent);
  margin-left: 2px;
}
.vf-hint {
  font-size: 0.7rem;
  color: var(--vp-gray-400);
  margin-top: 0.3rem;
}

.vf-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--vp-gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text);
  background: var(--color-surface);
  transition: all 0.2s ease;
  outline: none;
}
.vf-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--vp-orange-glow);
}
.vf-input::placeholder { color: var(--vp-gray-400); }
.vf-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.vf-error {
  font-size: 0.7rem;
  color: #ef4444;
  margin-top: 0.25rem;
  display: none;
}
.vf-group.has-error .vf-error { display: block; }

select.vf-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

textarea.vf-input {
  min-height: 80px;
  resize: vertical;
}


/* ═══════════════════════════════════════════
   FORM: CHECKBOXES
   ═══════════════════════════════════════════ */
.vf-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
}
.vf-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--vp-gray-300);
  border-radius: 4px;
  appearance: none;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}
.vf-check input[type="checkbox"]:checked {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.vf-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.vf-check__label {
  font-size: 0.82rem;
  color: var(--vp-gray-700);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════
   FORM: FILE UPLOAD
   ═══════════════════════════════════════════ */
.vf-upload {
  border: 2px dashed var(--vp-gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.vf-upload:hover {
  border-color: var(--color-accent);
  background: var(--vp-orange-glow);
}
.vf-upload.dragover {
  border-color: var(--color-accent);
  background: var(--vp-orange-glow);
}
.vf-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.vf-upload__icon {
  color: var(--vp-gray-400);
  margin-bottom: 0.5rem;
}
.vf-upload__icon svg { width: 28px; height: 28px; margin: 0 auto; }
.vf-upload__text {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}
.vf-upload__text strong { color: var(--color-accent); }
.vf-upload__meta {
  font-size: 0.68rem;
  color: var(--vp-gray-400);
  margin-top: 0.3rem;
}


/* ═══════════════════════════════════════════
   FORM: CONDITIONAL FIELDS
   ═══════════════════════════════════════════ */
.vf-conditional {
  display: none;
  margin-top: 0.75rem;
  padding: 1rem;
  background: var(--vp-gray-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent);
  animation: vfSlideDown 0.25s var(--ease-out-expo);
}
.vf-conditional.visible { display: block; }

@keyframes vfSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════
   FORM: RADIO BUTTONS
   ═══════════════════════════════════════════ */
.vf-radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}
.vf-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.vf-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--vp-gray-300);
  border-radius: 50%;
  appearance: none;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}
.vf-radio input[type="radio"]:checked {
  border-color: var(--color-accent);
}
.vf-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}
.vf-radio__label {
  font-size: 0.82rem;
  color: var(--vp-gray-700);
}


/* ═══════════════════════════════════════════
   FORM: NAVIGATION BUTTONS
   ═══════════════════════════════════════════ */
.vf-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--vp-gray-200);
}
.vf-nav__back {
  font-size: 0.82rem;
  font-weight: var(--font-weight-semibold);
  color: var(--vp-gray-500);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}
.vf-nav__back:hover { color: var(--color-text); }
.vf-nav__back svg { width: 16px; height: 16px; }
.vf-nav__next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--color-accent);
  color: var(--color-surface);
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-semibold);
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.vf-nav__next:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 98, 28, 0.3);
}
.vf-nav__next svg { width: 16px; height: 16px; }

/* ── Validation Error States ── */
.vf-group--error .vf-input,
.vf-input--error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}
.vf-group--error .vf-error {
  display: block;
}
.vf-group--error .vf-upload {
  border-color: #dc2626;
}
.vf-check--error .vf-check__label {
  color: #dc2626 !important;
}
.vf-check--error input[type="checkbox"] {
  border-color: #dc2626 !important;
}

/* ═══════════════════════════════════════════
   FORM: MULTI-CHECKBOX GRID
   ═══════════════════════════════════════════ */
.vf-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-top: 0.25rem;
}


/* ═══════════════════════════════════════════
   FORM: REFERENCE BLOCK
   ═══════════════════════════════════════════ */
.vf-ref-block {
  background: var(--vp-gray-50);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.vf-ref-block__title {
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--vp-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}


/* ═══════════════════════════════════════════
   FORM: AGREEMENT SECTION
   ═══════════════════════════════════════════ */
.vf-agreement {
  background: var(--color-primary);
  color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.vf-agreement__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.vf-agreement__text {
  font-size: 0.82rem;
  color: var(--color-text-on-dark-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.vf-agreement .vf-check__label { color: var(--color-text-on-dark-muted); }
.vf-agreement .vf-check input[type="checkbox"] {
  border-color: rgba(255, 255, 255, 0.3);
}


/* ═══════════════════════════════════════════
   FORM: SUCCESS STATE
   ═══════════════════════════════════════════ */
.vf-success {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  animation: vfStepIn 0.5s var(--ease-out-expo);
}
.vf-success.visible { display: block; }
.vf-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-surface);
}
.vf-success__icon svg { width: 36px; height: 36px; }
.vf-success__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.vf-success__desc {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.vf-success__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}


/* ═══════════════════════════════════════════
   GOOGLE PLACES AUTOCOMPLETE OVERRIDES
   ═══════════════════════════════════════════ */
.pac-container {
  border-radius: 8px !important;
  margin-top: 4px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid var(--color-border) !important;
  font-family: var(--font-primary) !important;
  z-index: 10000 !important;
}
.pac-item {
  padding: 8px 12px !important;
  font-size: 0.85rem !important;
  cursor: pointer !important;
  border-top: 1px solid var(--vp-gray-100) !important;
}
.pac-item:first-child { border-top: none !important; }
.pac-item:hover,
.pac-item-selected {
  background: rgba(232, 98, 28, 0.06) !important;
}
.pac-item-query {
  font-weight: var(--font-weight-semibold) !important;
  color: var(--color-text) !important;
}
.pac-icon { display: none !important; }
.pac-matched { color: var(--color-accent) !important; }


/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .vp-values          { grid-template-columns: 1fr; }
  .vp-cards           { grid-template-columns: 1fr; }
  .vp-hero            { padding: 4rem 1.5rem 3rem; }
  .vp-section         { padding: 3rem 1.5rem; }
  .vp-badges          { gap: 1.25rem; }
  .vf-container       { padding: 1.5rem 1.25rem 3rem; }
  .vf-nav             { flex-direction: column-reverse; gap: 1rem; }
  .vf-nav__next       { width: 100%; justify-content: center; }
  .vp-subnav          { padding: 0 0.75rem; }
  .vp-subnav__logo    { margin-right: 0.5rem; padding-right: 0.5rem; }
  .vp-subnav__logo img { height: 24px; }
  .vp-subnav__back    { padding-right: 0.5rem; margin-right: 0.4rem; font-size: 0.65rem; }
  .vp-subnav__links   { gap: 0; }
  .vp-subnav__link    { padding: 0.65rem 0.5rem; font-size: 0.65rem; }
  .vp-subnav__register { display: none; }
}
