/* ==========================================================
   Brandvertiz Driver Registration – style.css
   Brand Primary: #c8102e | Font: Roboto / Avenir fallback
   ========================================================== */

/* ── CSS Custom Properties ── */
:root {
  --red-600:    #c8102e;
  --red-700:    #a80d25;
  --red-800:    #880a1e;
  --red-50:     #fff0f2;
  --red-100:    #ffd6db;

  --dark-900:   #0d0e0e;
  --dark-800:   #1a1c1c;
  --dark-700:   #333;
  --gray-600:   #555;
  --gray-500:   #717171;
  --gray-400:   #9d9d9d;
  --gray-300:   #aeadad;
  --gray-200:   #ddd;
  --gray-100:   #f5f5f5;
  --gray-50:    #fafafa;
  --white:      #ffffff;

  --success:    #1a7a3c;
  --error:      #c8102e;

  --font-body:  'Roboto', 'Avenir', 'Avenir Next', Arial, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);

  --transition: 200ms ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--red-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout Container ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header-logo { display: flex; align-items: center; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-700);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: .02em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red-600);
  background: var(--red-50);
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--gray-200);
  padding: 8px 0;
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  padding: 12px 24px;
  border-radius: 0;
}

/* ── HERO BANNER ── */
.hero-banner {
  position: relative;
  background: var(--dark-900);
  background-image: linear-gradient(135deg, #0d0e0e 0%, #1e0509 50%, #2a0810 100%);
  padding: 72px 0 64px;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8102e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: .6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13,14,14,.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  background: var(--red-600);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  font-weight: 400;
  letter-spacing: .02em;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}

/* ── FORM SECTION ── */
.form-section {
  background: var(--gray-50);
  padding: 56px 0 80px;
  min-height: 60vh;
}

.form-container {
  max-width: 760px;
}

/* ── PROGRESS INDICATOR ── */
.progress-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.progress-steps {
  display: flex;
  align-items: center;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  position: relative;
}

.step-num {
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-400);
  transition: opacity var(--transition);
}

.step-check {
  position: absolute;
  opacity: 0;
  transition: opacity var(--transition);
}

.progress-step.active .step-circle {
  border-color: var(--red-600);
  background: var(--red-600);
}

.progress-step.active .step-num {
  color: var(--white);
}

.progress-step.completed .step-circle {
  border-color: var(--red-600);
  background: var(--red-600);
}

.progress-step.completed .step-num { opacity: 0; }
.progress-step.completed .step-check { opacity: 1; }

.step-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  white-space: nowrap;
  transition: color var(--transition);
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: var(--red-600);
  font-weight: 600;
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  margin: 0 16px;
  margin-bottom: 24px;
  overflow: hidden;
}

.progress-line-fill {
  height: 100%;
  width: 0%;
  background: var(--red-600);
  transition: width 500ms ease;
}

/* ── FORM STEP ── */
.form-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow-md);
}

.form-step.hidden { display: none; }

.form-header { margin-bottom: 32px; }

.form-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--dark-900);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 400;
}

/* ── FORM GRID ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-full  { grid-column: 1 / -1; }
.field-half  { grid-column: span 1; }

.field-section-divider {
  grid-column: 1 / -1;
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
  margin-top: 4px;
}

.field-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-700);
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ── INPUTS ── */
.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-700);
  letter-spacing: .01em;
}

.required { color: var(--red-600); }

.field-input {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark-700);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.field-input::placeholder { color: var(--gray-300); }

.field-input:hover { border-color: var(--gray-400); }

.field-input:focus {
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(200,16,46,.12);
}

.field-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(200,16,46,.10);
}

.field-input.valid {
  border-color: #1a7a3c;
  box-shadow: 0 0 0 3px rgba(26,122,60,.08);
}

.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23717171' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.field-error {
  font-size: 12px;
  color: var(--error);
  font-weight: 500;
  min-height: 16px;
  display: block;
}

/* ── RADIO BUTTONS ── */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--dark-700);
  user-select: none;
}

.radio-option input[type="radio"] { display: none; }

.radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
}

.radio-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-600);
  transform: scale(0);
  transition: transform var(--transition);
}

.radio-option input[type="radio"]:checked ~ .radio-custom {
  border-color: var(--red-600);
}

.radio-option input[type="radio"]:checked ~ .radio-custom::after {
  transform: scale(1);
}

/* ── RADIO CARDS (Wrap Type) ── */
.radio-group-cards {
  gap: 16px;
}

.radio-card {
  flex: 1;
  min-width: 160px;
  cursor: pointer;
  user-select: none;
}

.radio-card input[type="radio"] { display: none; }

.radio-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: center;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.radio-card:hover .radio-card-inner {
  border-color: var(--gray-400);
  box-shadow: var(--shadow-sm);
}

.radio-card input:checked ~ .radio-card-inner {
  border-color: var(--red-600);
  background: var(--red-50);
  box-shadow: 0 0 0 3px rgba(200,16,46,.08);
}

.radio-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: background var(--transition), color var(--transition);
}

.radio-card input:checked ~ .radio-card-inner .radio-card-icon {
  background: var(--red-100);
  color: var(--red-600);
}

.radio-card-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-700);
}

.radio-card-desc {
  font-size: 12px;
  color: var(--gray-500);
}

/* ── CHECKBOXES ── */
.checkbox-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--dark-700);
  user-select: none;
  padding: 4px 0;
}

.checkbox-agreement { padding: 0; }

.checkbox-option input[type="checkbox"] { display: none; }

.checkbox-custom {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: border-color var(--transition), background var(--transition);
}

.checkbox-custom::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) translateY(-1px) scale(0);
  transition: transform var(--transition);
}

.checkbox-option input:checked ~ .checkbox-custom {
  border-color: var(--red-600);
  background: var(--red-600);
}

.checkbox-option input:checked ~ .checkbox-custom::after {
  transform: rotate(-45deg) translateY(-1px) scale(1);
}

.link-inline {
  color: var(--red-600);
  font-weight: 600;
  text-decoration: underline;
}

/* ── FORM SECTION BLOCKS ── */
.form-section-block {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.section-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-900);
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-block-desc {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
  margin-top: -8px;
}

/* ── FILE UPLOAD ── */
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.upload-item { display: flex; flex-direction: column; }

.upload-label { cursor: pointer; }

.upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
  min-height: 140px;
  position: relative;
  overflow: hidden;
}

.upload-zone:hover {
  border-color: var(--red-600);
  background: var(--red-50);
}

.upload-zone.has-file {
  border-color: var(--red-600);
  background: var(--red-50);
}

.upload-zone.drag-over {
  border-color: var(--red-600);
  background: var(--red-50);
  box-shadow: 0 0 0 3px rgba(200,16,46,.10);
}

.upload-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-700);
}

.upload-hint {
  font-size: 12px;
  color: var(--gray-400);
}

.upload-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: none;
}

.upload-preview.visible { display: block; }

.upload-input { display: none; }

/* ── BUTTONS ── */
.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red-600);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 15px 36px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  width: 100%;
  margin-top: 32px;
}

.btn-primary-cta:hover {
  background: var(--red-700);
  box-shadow: 0 4px 20px rgba(200,16,46,.35);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--white);
}

.btn-primary-cta:active {
  background: var(--red-800);
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary-cta:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline-cta {
  background: transparent;
  color: var(--red-600);
  border: 2px solid var(--red-600);
  width: auto;
}

.btn-outline-cta:hover {
  background: var(--red-600);
  color: var(--white);
}

.btn-secondary-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  color: var(--gray-600);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary-back:hover {
  border-color: var(--gray-400);
  color: var(--dark-700);
  background: var(--gray-50);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.form-actions .btn-primary-cta {
  margin-top: 0;
  flex: 1;
}

/* ── ERROR SUMMARY ── */
.form-error-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff0f2;
  border: 1px solid var(--red-100);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--red-600);
  font-weight: 500;
  margin-top: 20px;
}

.form-error-summary.hidden { display: none; }

/* ── SUCCESS PANEL ── */
.success-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 16px;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 400ms cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--dark-900);
  letter-spacing: -.02em;
}

.success-msg {
  font-size: 17px;
  font-weight: 500;
  color: var(--dark-700);
  max-width: 480px;
}

.success-sub {
  font-size: 14px;
  color: var(--gray-500);
  max-width: 400px;
}

/* ── LOADING OVERLAY ── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,14,14,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.loading-overlay.hidden { display: none; }

.loading-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}

.loading-box p {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-700);
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--red-600);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark-900);
  padding: 32px 0;
  border-top: 3px solid var(--red-600);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--white);
  text-decoration: none;
}

/* ── HONEYPOT ── */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── STEP TRANSITIONS ── */
.form-step {
  animation: none;
}

.form-step.step-enter {
  animation: stepEnter 350ms cubic-bezier(.22,.61,.36,1) both;
}

@keyframes stepEnter {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

.form-step.step-exit {
  animation: stepExit 250ms ease both;
}

@keyframes stepExit {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-32px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero-banner { padding: 48px 0 40px; }
  .hero-title { font-size: 28px; }

  .trust-bar-inner { gap: 20px; }
  .trust-item span { font-size: 12px; }

  .form-section { padding: 32px 0 56px; }

  .progress-wrapper { padding: 20px 24px; }

  .form-step { padding: 28px 24px; }

  .form-grid { grid-template-columns: 1fr; }
  .field-half { grid-column: span 1; }

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

  .radio-group-cards { flex-direction: column; }
  .radio-card { min-width: unset; }

  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn-secondary-back { width: 100%; justify-content: center; }
  .form-actions .btn-primary-cta { width: 100%; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-banner { padding: 40px 0 32px; }

  .trust-bar-inner { flex-direction: column; gap: 12px; }

  .progress-wrapper { padding: 16px 16px; }
  .step-label { font-size: 11px; }
  .progress-line { margin: 0 8px; margin-bottom: 24px; }

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

  .form-step { padding: 20px 16px; }
}

/* ==========================================================
   ADDITIONS v2 — Signature, Pricing, License, Trust
   ========================================================== */

/* ── Required badge ── */
.required-badge {
  display: inline-block;
  background: var(--red-600);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Driver license upload (wide single zone) ── */
.upload-single { width: 100%; }

.upload-zone-wide {
  min-height: 110px;
  flex-direction: row;
  gap: 16px;
  padding: 20px 24px;
  justify-content: flex-start;
  text-align: left;
}

.upload-zone-wide .upload-title { font-size: 15px; }

.upload-filename {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-600);
  margin-top: 4px;
  word-break: break-all;
}

/* ── Pricing cards ── */
.radio-card-price {
  display: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-600);
  background: var(--red-50);
  border: 1px solid var(--red-100);
  border-radius: 100px;
  padding: 3px 10px;
  margin-top: 4px;
}

.radio-card input:checked ~ .radio-card-inner .radio-card-price {
  background: var(--red-600);
  color: var(--white);
  border-color: var(--red-600);
}

/* ── Selected price banner ── */
.price-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0faf4;
  border: 1px solid #a3d9b5;
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.price-banner-label {
  font-size: 13px;
  color: #555;
  font-weight: 500;
}

.price-banner-value {
  font-size: 22px;
  font-weight: 900;
  color: #1a7a3c;
  letter-spacing: -.01em;
}

/* ── Terms scroll box ── */
.terms-section-block { padding: 24px; }

.terms-scroll-box {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--gray-50);
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 8px;
  scroll-behavior: smooth;
}

.terms-scroll-box h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--dark-900);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 12px;
}

.terms-scroll-box h5 {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-700);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 16px 0 6px;
}

.terms-scroll-box p { margin: 0 0 10px; }

.terms-company {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray-500);
}

.terms-read-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 16px;
  transition: color var(--transition);
}

/* ── Signature section ── */
.signature-section-block { padding: 28px; }

.sig-mode-toggle {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 16px;
}

.sig-mode-btn {
  background: var(--white);
  border: none;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.sig-mode-btn.active {
  background: var(--red-600);
  color: var(--white);
}

.sig-canvas-wrapper {
  position: relative;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  cursor: crosshair;
  transition: border-color var(--transition);
}

.sig-canvas-wrapper:hover { border-color: var(--gray-400); }

.sig-canvas {
  display: block;
  width: 100%;
  height: 160px;
  touch-action: none;
}

.sig-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-style: italic;
  color: var(--gray-300);
  pointer-events: none;
  user-select: none;
}

.sig-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.sig-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.sig-clear-btn:hover { border-color: var(--gray-400); color: var(--dark-700); }

.sig-type-input {
  font-size: 22px;
  font-style: italic;
  padding: 16px 18px;
  font-family: 'Georgia', serif;
  height: 72px;
}

.sig-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0;
}

.sig-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
}

.sig-consent-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 12px;
}

/* ── Trust section block ── */
.trust-section-block {
  background: #f0faf4;
  border: 1px solid #a3d9b5;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.trust-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trust-block-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1a5c2e;
  line-height: 1.4;
}

.trust-block-item svg { flex-shrink: 0; margin-top: 1px; }

/* ── Admin dashboard (admin/style.css reuses these) ── */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--dark-700);
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--gray-50); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-pending  { background: #fff3cd; color: #856404; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }

/* ── Upload grid two-column (license front/back) ── */
.upload-grid-two {
  grid-template-columns: 1fr 1fr;
}

/* ── Credit card fields animated reveal ── */
.cc-fields-wrap {
  overflow: hidden;
  transition: opacity .25s ease;
}
.cc-fields-inner {
  border-top: 2px solid #c8102e;
  margin-top: 8px;
  padding-top: 16px;
}

/* ── Field hint text ── */
.field-hint {
  display: block;
  font-size: 12px;
  color: #717171;
  margin-top: 4px;
}

/* ── Responsive additions ── */
@media (max-width: 768px) {
  .upload-zone-wide {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 110px;
  }
  .trust-block-grid { grid-template-columns: 1fr; }
  .sig-mode-toggle { width: 100%; }
  .sig-mode-btn { flex: 1; text-align: center; }
}

@media (max-width: 480px) {
  .radio-group-cards { flex-direction: column; }
  .radio-card { min-width: unset; }
}
