/* ================================================================
   signup2.css — Custom styles for the LossPay signup2-web base.
   All classes prefixed with s2- to avoid collisions.
   ================================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Page background gradient */
  --s2-bg-from: #F8FAFC;
  --s2-bg-to: #F1F5F9;

  /* Text colors */
  --s2-text-dark: #0B1F33;
  --s2-text-muted: #5B6B7C;
  --s2-text-amber-dark: #92400E;

  /* Accent colors */
  --s2-accent-blue: #2F5BFF;
  --s2-amber: #F59E0B;
  --s2-amber-dark: #D97706;
  --s2-teal: #0D9488;
  --s2-teal-light: #14B8A6;
  --s2-blue-600: #2563EB;
  --s2-indigo: #4F46E5;

  /* Card gradient endpoints */
  --s2-amber-from: #FFFBEB;
  --s2-amber-to: #FEF3C7;
  --s2-blue-from: #EFF6FF;
  --s2-blue-to: #F8FAFC;
  --s2-teal-from: #F0FDFA;
  --s2-teal-to: #F8FAFC;

  /* Typography */
  --s2-font-heading: 'Manrope', sans-serif;
  --s2-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Page background ---------- */
.s2-page-bg {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--s2-bg-from) 0%, var(--s2-bg-to) 100%);
}

/* ---------- Sticky header ---------- */
.s2-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.s2-header-inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s2-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.s2-logo-img {
  height: 32px;
  width: auto;
}

.s2-header-tagline {
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--s2-text-muted);
  letter-spacing: 0.01em;
}

/* ---------- Content container ---------- */
.s2-content {
  max-width: 896px;
  margin: 0 auto;
  padding: 56px 24px 48px;
}

/* ---------- Typography ---------- */
.s2-h1 {
  font-family: var(--s2-font-heading);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.9px;
  color: var(--s2-text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.s2-h2 {
  font-family: var(--s2-font-heading);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.48px;
  color: var(--s2-text-dark);
  line-height: 32px;
  margin-bottom: 0;
}

.s2-h3 {
  font-family: var(--s2-font-heading);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.32px;
  color: var(--s2-text-dark);
  line-height: 24px;
  margin-bottom: 0;
}

.s2-text-muted {
  font-family: var(--s2-font-body);
  font-size: 16px;
  color: var(--s2-text-muted);
  line-height: 26px;
}

.s2-text-sm {
  font-size: 14px;
  line-height: 22px;
}

/* ---------- Hero section ---------- */
.s2-hero {
  padding: 0 0 48px;
}

.s2-hero-subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 29.25px;
}

/* ---------- Badge ---------- */
.s2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  color: var(--s2-accent-blue);
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.s2-badge i {
  font-size: 16px;
}

/* ---------- Cards (base) ---------- */
.s2-card {
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ---------- Card variants ---------- */
.s2-card-amber {
  background: linear-gradient(135deg, var(--s2-amber-from) 0%, var(--s2-amber-to) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.s2-card-blue {
  background: linear-gradient(135deg, var(--s2-blue-from) 0%, var(--s2-blue-to) 100%);
  border: 1px solid #BFDBFE;
  border-left: 4px solid var(--s2-accent-blue);
}

.s2-card-teal {
  background: linear-gradient(135deg, var(--s2-teal-from) 0%, var(--s2-teal-to) 100%);
  border: 1px solid #99F6E4;
  border-left: 4px solid var(--s2-teal);
}

.s2-card-white {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.s2-card-amber-border {
  background: #FFFFFF;
  border: 2px solid rgba(245, 158, 11, 0.35);
}

.s2-card-ack {
  background: linear-gradient(135deg, var(--s2-blue-from) 0%, var(--s2-blue-to) 100%);
  border: 2px solid rgba(47, 91, 255, 0.3);
  border-left: 4px solid var(--s2-accent-blue);
  padding: 0;
}

/* Ack card header band */
.s2-ack-header {
  background: linear-gradient(to right, #EEF2FF, #E0E7FF);
  padding: 20px 32px;
  border-bottom: 1px solid rgba(47, 91, 255, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Ack card body */
.s2-ack-body {
  padding: 32px;
}

/* Decorative circle for ack card (blue-tinted) */
.s2-ack-decorative-circle {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(47, 91, 255, 0.05);
  pointer-events: none;
}

/* ---------- Decorative circle (amber card top-right, quarter-circle) ---------- */
.s2-card-decorative-circle {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.10);
  pointer-events: none;
}

.s2-card-decorative-circle-teal {
  background: rgba(13, 148, 136, 0.08);
}

/* ---------- Icon circles ---------- */
.s2-icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.s2-icon-circle-sm {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  font-size: 16px;
}

.s2-icon-amber {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #fff;
}

.s2-icon-blue {
  background: linear-gradient(135deg, #2F5BFF 0%, #4F46E5 100%);
  color: #fff;
}

.s2-icon-teal {
  background: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%);
  color: #fff;
}

.s2-icon-purple {
  background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
  color: #7C3AED;
}

.s2-icon-circle-lg {
  width: 48px;
  height: 48px;
  min-width: 48px;
  font-size: 22px;
}

.s2-icon-amber-light {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: var(--s2-text-amber-dark);
}

.s2-icon-slate {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  color: #fff;
}

/* ---------- Sub-cards (VIN section) ---------- */
.s2-sub-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.s2-sub-card {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(245, 158, 11, 0.20);
  border-radius: 12px;
  padding: 16px;
}

/* ---------- Tip box ---------- */
.s2-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 10px;
  font-family: var(--s2-font-body);
  font-size: 14px;
  color: var(--s2-text-muted);
  line-height: 22px;
}

.s2-tip-icon {
  color: var(--s2-amber);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ---------- Callout (Key Distinction) ---------- */
.s2-callout {
  background: #EFF6FF;
  border-left: 4px solid #60A5FA;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-top: 16px;
}

.s2-callout-icon {
  color: #3B82F6;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.s2-callout-title {
  font-family: var(--s2-font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--s2-text-dark);
}

/* ---------- Eligibility list (driver requirements) ---------- */
.s2-eligibility-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s2-eligibility-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--s2-font-body);
  font-size: 15px;
  color: var(--s2-text-dark);
  line-height: 1.4;
}

.s2-eligibility-icon {
  color: #DC2626;
  font-size: 18px;
  flex-shrink: 0;
}

/* ---------- Exclusion grid ---------- */
.s2-exclusion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.s2-exclusion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #FFFBEB;
  border: 1px solid rgba(245, 158, 11, 0.20);
  border-radius: 10px;
  font-family: var(--s2-font-body);
  font-size: 15px;
  color: var(--s2-text-dark);
  line-height: 1.4;
}

.s2-exclusion-icon-circle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.12);
  color: #B45309;
  font-size: 14px;
  flex-shrink: 0;
}

/* ---------- Acknowledgements ---------- */
.s2-ack-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.s2-ack-label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--s2-font-body);
  font-size: 16px;
  color: var(--s2-text-dark);
  line-height: 24px;
  transition: all 0.15s ease;
  margin: 0;
}

.s2-ack-label:hover {
  border-color: #CBD5E1;
}

.s2-ack-label-amber {
  background: linear-gradient(135deg, #FFFBEB 0%, #FFF7ED 100%);
  border: 1px solid #FDE68A;
}

.s2-ack-label-amber:hover {
  border-color: #FCD34D;
}

.s2-ack-emphasis-danger {
  color: #DC2626;
}

.s2-ack-emphasis-strong {
  color: var(--s2-text-dark);
}

/* Custom checkbox */
.s2-acknowledgement-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #CBD5E1;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  margin-top: 3px;
  transition: all 0.15s ease;
  position: relative;
}

.s2-acknowledgement-checkbox:checked {
  background: var(--s2-accent-blue);
  border-color: var(--s2-accent-blue);
}

.s2-acknowledgement-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.s2-acknowledgement-checkbox:focus-visible {
  outline: 2px solid var(--s2-accent-blue);
  outline-offset: 2px;
}

/* Progress bar */
.s2-progress-bar-track {
  width: 100%;
  height: 10px;
  background: #E0E7FF;
  border-radius: 9999px;
  overflow: hidden;
}

.s2-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--s2-accent-blue) 0%, var(--s2-indigo) 100%);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Ack footer */
.s2-ack-footer {
  padding-top: 16px;
  margin-top: 8px;
}

.s2-ack-completed-label {
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--s2-text-muted);
}

/* Progress counter pill */
.s2-progress-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  background: #E0E7FF;
  color: var(--s2-accent-blue);
  border-radius: 9999px;
  font-family: var(--s2-font-body);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Submit section (separate from ack card) ---------- */
.s2-submit-section {
  text-align: center;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ---------- Submit button ---------- */
.s2-btn-submit {
  display: block;
  width: 100%;
  padding: 24px 40px;
  border: none;
  border-radius: 12px;
  font-family: var(--s2-font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: normal;
  cursor: pointer;
  transition: all 0.2s ease;
}

.s2-btn-submit:disabled {
  background: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
}

.s2-btn-submit:not(:disabled) {
  background: linear-gradient(135deg, var(--s2-accent-blue) 0%, var(--s2-indigo) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(47, 91, 255, 0.35);
}

.s2-btn-submit:not(:disabled):hover {
  box-shadow: 0 6px 20px rgba(47, 91, 255, 0.45);
  transform: translateY(-1px);
}

.s2-btn-submit:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(47, 91, 255, 0.3);
}

/* Helper text */
.s2-helper-text {
  font-family: var(--s2-font-body);
  font-size: 14px;
  color: var(--s2-text-muted);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.s2-footer {
  border-top: 1px solid #E2E8F0;
  padding-top: 40px;
  margin-top: 16px;
}

.s2-footer-brand {
  text-align: center;
  margin-bottom: 32px;
}

.s2-footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 8px;
  opacity: 0.7;
}

.s2-footer-disclosures {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.s2-footer-section {
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 20px;
}

.s2-footer-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.s2-footer-heading {
  font-family: var(--s2-font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--s2-text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.s2-footer-text {
  font-family: var(--s2-font-body);
  font-size: 13px;
  color: var(--s2-text-muted);
  line-height: 21px;
  margin-bottom: 0;
}

.s2-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 0 48px;
  border-top: 1px solid #E2E8F0;
}

.s2-footer-link {
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--s2-accent-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.s2-footer-link:hover {
  color: var(--s2-accent-blue);
  text-decoration: underline;
}

/* ================================================================
   Quote / Vehicle Details page
   ================================================================ */

.s2-quote-bg {
  min-height: 100vh;
  background: #F8FAFC;
}

/* ---------- Stepper ---------- */
.s2-stepper {
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
}

.s2-stepper-inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 24px;
}

.s2-stepper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.s2-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748B;
}

.s2-step-active {
  color: var(--s2-accent-blue);
}

.s2-step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.s2-step-active .s2-step-icon {
  background: var(--s2-accent-blue);
  color: #fff;
}

.s2-step-label {
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
}

.s2-stepper-progress {
  height: 8px;
  background: rgba(47, 91, 255, 0.18);
  border-radius: 9999px;
  overflow: hidden;
}

.s2-stepper-progress-fill {
  height: 100%;
  background: var(--s2-accent-blue);
  transition: width 0.3s ease;
}

/* ---------- Quote card ---------- */
.s2-quote-content {
  max-width: 672px;
  margin: 0 auto;
  padding: 32px 16px;
}

.s2-quote-card {
  background: #fff;
  border: 1px solid #F1F5F9;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  padding: 32px;
}

/* ---------- VIN input ---------- */
.s2-form-label {
  display: block;
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 8px;
}

.s2-vin-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.s2-vin-input-wrap {
  position: relative;
  flex: 1;
}

.s2-vin-input {
  width: 100%;
  height: 42px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0 48px 0 14px;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--s2-text-dark);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.s2-vin-input::placeholder {
  color: #94A3B8;
  letter-spacing: 0.05em;
}

.s2-vin-input:focus {
  outline: none;
  border-color: var(--s2-accent-blue);
  box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.18);
}

.s2-vin-camera-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(59, 91, 219, 0.10);
  color: var(--s2-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.s2-vin-camera-btn:hover:not(:disabled) {
  background: rgba(59, 91, 219, 0.20);
}

.s2-vin-camera-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.s2-form-helper {
  font-family: var(--s2-font-body);
  font-size: 13px;
  color: var(--s2-text-muted);
  margin-top: 8px;
  margin-bottom: 0;
}

/* ---------- Primary button (Decode / Next) ---------- */
.s2-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  background: var(--s2-accent-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
}

.s2-btn-primary:hover:not(:disabled) {
  background: #2548DB;
}

.s2-btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}

.s2-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.s2-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--s2-text-muted);
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  padding: 8px 0;
}

.s2-btn-back:hover {
  color: var(--s2-text-dark);
}

/* ---------- Vehicle Found result card ---------- */
.s2-vehicle-found {
  margin-top: 24px;
  padding: 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.s2-vehicle-found-label {
  font-family: var(--s2-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748B;
  margin-bottom: 12px;
}

.s2-vehicle-found-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.s2-vehicle-found-key {
  font-family: var(--s2-font-body);
  font-size: 13px;
  color: var(--s2-text-muted);
  margin-bottom: 2px;
}

.s2-vehicle-found-val {
  font-family: var(--s2-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--s2-text-dark);
}

.s2-vehicle-value-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}

.s2-vehicle-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.s2-vehicle-value-prefix {
  font-family: var(--s2-font-body);
  font-size: 16px;
  font-weight: 500;
  color: #334155;
}

.s2-vehicle-value-input {
  flex: 1;
  height: 42px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0 14px;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 16px;
  color: var(--s2-text-dark);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.s2-vehicle-value-input::placeholder {
  color: #94A3B8;
}

.s2-vehicle-value-input:focus {
  outline: none;
  border-color: var(--s2-accent-blue);
  box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.18);
}

.s2-form-helper-min {
  font-family: var(--s2-font-body);
  font-size: 12px;
  color: #94A3B8;
  margin-top: 6px;
  margin-bottom: 0;
}

/* ---------- VIN error message ---------- */
.s2-vin-error {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--s2-font-body);
  font-size: 14px;
}

/* ---------- Quote bottom nav ---------- */
.s2-quote-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .s2-content {
    padding: 40px 16px 32px;
  }

  .s2-header-inner {
    padding: 12px 16px;
  }

  .s2-h1 {
    font-size: 28px;
    letter-spacing: -0.7px;
  }

  .s2-h2 {
    font-size: 20px;
    letter-spacing: -0.4px;
  }

  .s2-text-muted {
    font-size: 15px;
    line-height: 24px;
  }

  .s2-hero-subtitle {
    font-size: 16px;
    line-height: 26px;
  }

  .s2-card {
    padding: 24px;
    border-radius: 14px;
  }

  .s2-hero {
    padding: 0 0 32px;
  }

  .s2-sub-card-row {
    grid-template-columns: 1fr;
  }

  .s2-exclusion-grid {
    grid-template-columns: 1fr;
  }

  .s2-badge {
    font-size: 13px;
    padding: 6px 14px;
  }

  .s2-ack-header {
    padding: 16px 24px;
  }

  .s2-ack-body {
    padding: 24px;
  }

  .s2-ack-label {
    font-size: 15px;
    line-height: 24px;
    gap: 12px;
    padding: 14px;
  }

  .s2-btn-submit {
    font-size: 16px;
    padding: 18px 24px;
  }

  .s2-header-tagline {
    font-size: 12px;
  }

  .s2-footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .s2-stepper-inner {
    padding: 16px;
  }

  .s2-step-label {
    display: none;
  }

  .s2-quote-card {
    padding: 24px;
  }

  .s2-vehicle-found-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .s2-h1 {
    font-size: 24px;
  }

  .s2-card {
    padding: 20px;
    margin-bottom: 16px;
  }

  .s2-icon-circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    font-size: 18px;
  }

  .s2-exclusion-item {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* ================================================================
   Driver History page
   ================================================================ */

/* ---------- Section heading at top of card ---------- */
.s2-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.s2-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(47, 91, 255, 0.10);
  color: var(--s2-accent-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* ---------- Numbered sections (Major Violations / Driving Record) ---------- */
.s2-dh-section {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-top: 20px;
  overflow: hidden;
}

.s2-dh-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-bottom: 1px solid #E2E8F0;
}

.s2-dh-section-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--s2-font-body);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.s2-dh-section-num-amber {
  background: var(--s2-amber);
}

.s2-dh-section-num-blue {
  background: var(--s2-accent-blue);
}

.s2-dh-section-title {
  font-family: var(--s2-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--s2-text-dark);
}

.s2-dh-section-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Major-violation toggle card ---------- */
.s2-violation-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  margin: 0;
}

.s2-violation-card:hover {
  border-color: #CBD5E1;
}

.s2-violation-card-active {
  border-color: var(--s2-amber);
  background: var(--s2-amber-from);
}

.s2-violation-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F1F5F9;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.s2-violation-card-active .s2-violation-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--s2-amber-dark);
}

.s2-violation-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.s2-violation-title {
  font-family: var(--s2-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--s2-text-dark);
}

.s2-violation-sub {
  font-family: var(--s2-font-body);
  font-size: 13px;
  color: var(--s2-text-muted);
}

/* ---------- Toggle switch ---------- */
.s2-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.s2-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.s2-toggle-slider {
  position: absolute;
  inset: 0;
  background: #CBD5E1;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

.s2-toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.15);
  transition: transform 0.2s ease;
}

.s2-toggle input:checked + .s2-toggle-slider {
  background: var(--s2-amber);
}

.s2-toggle input:checked + .s2-toggle-slider::before {
  transform: translateX(20px);
}

.s2-discount-card .s2-toggle input:checked + .s2-toggle-slider {
  background: var(--s2-accent-blue);
}

/* ---------- Question label ---------- */
.s2-dh-question {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s2-dh-question-label {
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

/* ---------- Segmented (radio button group) ---------- */
.s2-segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.s2-segmented-option {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.s2-segmented-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.s2-segmented-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 8px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.s2-segmented-option:hover .s2-segmented-content {
  border-color: #CBD5E1;
}

.s2-segmented-option input:checked + .s2-segmented-content {
  border-color: var(--s2-accent-blue);
  background: rgba(47, 91, 255, 0.06);
  box-shadow: 0 0 0 1px var(--s2-accent-blue) inset;
}

.s2-segmented-num {
  font-family: var(--s2-font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--s2-text-dark);
  line-height: 1;
}

.s2-segmented-sub {
  font-family: var(--s2-font-body);
  font-size: 12px;
  color: var(--s2-text-muted);
}

/* ---------- First Responder / Military Discount card ---------- */
.s2-discount-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  background: var(--s2-blue-from);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.s2-discount-card:hover {
  border-color: #93C5FD;
}

.s2-discount-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--s2-accent-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.s2-discount-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.s2-discount-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.s2-discount-title {
  font-family: var(--s2-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--s2-text-dark);
}

.s2-discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: #DCFCE7;
  color: #15803D;
  border-radius: 9999px;
  font-family: var(--s2-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.s2-discount-sub {
  font-family: var(--s2-font-body);
  font-size: 13px;
  color: var(--s2-text-muted);
}

.s2-discount-fineprint {
  font-family: var(--s2-font-body);
  font-size: 12px;
  font-style: italic;
  color: #94A3B8;
}

/* ---------- Disqualified panel ---------- */
.s2-disqualified {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #FECACA;
  border-radius: 12px;
  background: #FEF2F2;
}

.s2-disqualified-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.s2-disqualified-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FEE2E2;
  color: #B91C1C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.s2-disqualified-title {
  font-family: var(--s2-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #B91C1C;
  margin-bottom: 4px;
}

.s2-disqualified-lead {
  font-family: var(--s2-font-body);
  font-size: 14px;
  color: #B91C1C;
  margin: 0;
}

.s2-disqualified-reasons {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s2-disqualified-reasons li {
  font-family: var(--s2-font-body);
  font-size: 14px;
  color: #B91C1C;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s2-disqualified-help {
  background: #fff;
  border: 1px solid #FECACA;
  border-radius: 10px;
  padding: 14px 16px;
}

.s2-disqualified-help-title {
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.s2-disqualified-help ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.s2-disqualified-help li {
  font-family: var(--s2-font-body);
  font-size: 13px;
  color: #475569;
}

.s2-disqualified-help a {
  color: var(--s2-accent-blue);
  text-decoration: none;
}

.s2-disqualified-help a:hover {
  text-decoration: underline;
}

/* ---------- Stepper: completed step ---------- */
.s2-step-done {
  color: var(--s2-accent-blue);
}

.s2-step-done .s2-step-icon {
  background: var(--s2-accent-blue);
  color: #fff;
}

/* ---------- Driver History responsive ---------- */
@media (max-width: 480px) {
  .s2-segmented-num {
    font-size: 16px;
  }
  .s2-segmented-content {
    padding: 12px 6px;
  }
  .s2-discount-card {
    flex-wrap: wrap;
  }
}

/* ============================================================
   Protection Level page
   ============================================================ */

/* ---------- Coverage tier cards (2-col grid) ---------- */
.s2-pl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.s2-pl-card {
  position: relative;
  display: block;
  margin: 0;
  padding: 20px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.s2-pl-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.s2-pl-card:hover {
  border-color: #CBD5E1;
}

.s2-pl-card-active {
  border-color: var(--s2-accent-blue);
  background: rgba(47, 91, 255, 0.06);
  box-shadow: 0 0 0 1px var(--s2-accent-blue) inset;
}

.s2-pl-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--s2-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}

.s2-pl-badge-primary {
  background: var(--s2-accent-blue);
}

.s2-pl-badge-popular {
  background: #16A34A;
}

.s2-pl-badge-muted {
  background: #475569;
}

.s2-pl-name {
  font-family: var(--s2-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--s2-text-dark);
  margin: 4px 0 8px;
}

.s2-pl-limit {
  font-family: var(--s2-font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--s2-accent-blue);
  margin: 0 0 8px;
  line-height: 1.1;
}

.s2-pl-desc {
  font-family: var(--s2-font-body);
  font-size: 13px;
  color: var(--s2-text-muted);
  margin: 0;
}

/* ---------- Section (Deductible / Frequency) ---------- */
.s2-pl-section {
  margin-top: 24px;
}

.s2-pl-section-label {
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--s2-text-dark);
  margin-bottom: 10px;
}

.s2-pl-deductible-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.s2-pl-frequency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.s2-pl-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 14px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.s2-pl-frequency-grid .s2-pl-option {
  align-items: flex-start;
  text-align: left;
  padding: 12px 14px;
}

.s2-pl-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.s2-pl-option:hover {
  border-color: #CBD5E1;
}

.s2-pl-option-active {
  border-color: var(--s2-accent-blue);
  background: rgba(47, 91, 255, 0.06);
  box-shadow: 0 0 0 1px var(--s2-accent-blue) inset;
}

.s2-pl-option-main {
  font-family: var(--s2-font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--s2-text-dark);
  line-height: 1.1;
}

.s2-pl-option-sub {
  font-family: var(--s2-font-body);
  font-size: 12px;
  color: var(--s2-text-muted);
}

@media (max-width: 480px) {
  .s2-pl-grid,
  .s2-pl-deductible-grid,
  .s2-pl-frequency-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Review & Pay page (mirrors secure.losspay.com)
   ============================================================ */

/* ---------- Vehicle card ---------- */
.s2-rv-vehicle {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.s2-rv-vehicle-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--s2-font-body);
  font-size: 15px;
  font-weight: 500;
  color: #475569;
}

.s2-rv-vehicle-header i {
  color: #475569;
  font-size: 16px;
}

.s2-rv-vehicle-name {
  font-family: var(--s2-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px;
}

.s2-rv-vehicle-vin {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #475569;
  margin: 0 0 4px;
}

.s2-rv-vehicle-value {
  font-family: var(--s2-font-body);
  font-size: 14px;
  color: #475569;
  margin: 0;
}

/* ---------- Coverage card ---------- */
.s2-rv-coverage {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #E2E8F0;
}

.s2-rv-coverage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.s2-rv-coverage-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--s2-font-body);
  font-size: 15px;
  font-weight: 500;
  color: #475569;
}

.s2-rv-coverage-title i {
  color: var(--s2-accent-blue);
  font-size: 16px;
}

.s2-rv-edit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--s2-accent-blue);
  text-decoration: none;
}

.s2-rv-edit:hover {
  color: var(--s2-blue-600);
  text-decoration: none;
}

.s2-rv-coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.s2-rv-coverage-cell-label {
  font-family: var(--s2-font-body);
  font-size: 12px;
  color: #475569;
  margin-bottom: 2px;
}

.s2-rv-coverage-cell-value {
  font-family: var(--s2-font-body);
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
}

.s2-rv-discount-line {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  color: #16A34A;
}

.s2-rv-discount-amount {
  font-weight: 700;
}

/* ---------- Pricing block ---------- */
.s2-rv-pricing {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
}

.s2-rv-pricing-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s2-rv-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--s2-font-body);
  font-size: 14px;
  color: #475569;
}

.s2-rv-pricing-total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #BFDBFE;
  font-weight: 700;
  color: #0F172A;
  font-size: 15px;
}

.s2-rv-pricing-sm {
  font-size: 13px;
}

.s2-rv-pricing-headline {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #BFDBFE;
  text-align: center;
}

.s2-rv-pricing-headline-label {
  font-family: var(--s2-font-body);
  font-size: 14px;
  color: #475569;
  margin: 0 0 4px;
}

.s2-rv-pricing-headline-amount {
  font-family: var(--s2-font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--s2-accent-blue);
  margin: 0;
  line-height: 1;
}

.s2-rv-pricing-headline-note {
  font-family: var(--s2-font-body);
  font-size: 12px;
  color: #64748B;
  margin: 8px 0 0;
}

/* ---------- Save-card consent ---------- */
.s2-rv-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  cursor: pointer;
}

.s2-rv-consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--s2-accent-blue);
  cursor: pointer;
}

.s2-rv-consent-text {
  flex: 1;
}

.s2-rv-consent-title {
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  margin-bottom: 8px;
}

.s2-rv-consent-body {
  font-family: var(--s2-font-body);
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Email-quote button ---------- */
.s2-rv-email-quote {
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
}

.s2-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  background: #fff;
  color: var(--s2-accent-blue);
  border: 1px solid var(--s2-accent-blue);
  border-radius: 8px;
  font-family: var(--s2-font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.s2-btn-secondary:hover:not(:disabled) {
  background: rgba(47, 91, 255, 0.06);
}

.s2-btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Modal ---------- */
.s2-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 51, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
  animation: s2-modal-fade 0.12s ease-out;
}

@keyframes s2-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.s2-modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(11, 31, 51, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.s2-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #E2E8F0;
}

.s2-modal-title {
  font-family: var(--s2-font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--s2-text-dark);
  margin: 0;
}

.s2-modal-close {
  background: none;
  border: none;
  color: var(--s2-text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.s2-modal-close:hover {
  color: var(--s2-text-dark);
}

.s2-modal-body {
  padding: 20px;
}

.s2-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

/* ---------- Generic form input (modal) ---------- */
.s2-form-input {
  width: 100%;
  height: 42px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0 14px;
  font-family: var(--s2-font-body);
  font-size: 14px;
  color: var(--s2-text-dark);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.s2-form-input:focus {
  outline: none;
  border-color: var(--s2-accent-blue);
  box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.18);
}

.s2-form-input-error {
  border-color: #DC2626;
}

.s2-form-input-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

.s2-form-error {
  font-family: var(--s2-font-body);
  font-size: 13px;
  color: #DC2626;
  margin: 8px 0 0;
}

/* ---------- Modal result (success / error) ---------- */
.s2-modal-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 10px;
}

.s2-modal-result i {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.s2-modal-result p {
  font-family: var(--s2-font-body);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.s2-modal-result-success {
  background: #ECFDF5;
  color: #065F46;
}

.s2-modal-result-success i {
  color: #10B981;
}

.s2-modal-result-error {
  background: #FEF2F2;
  color: #991B1B;
}

.s2-modal-result-error i {
  color: #DC2626;
}

@media (max-width: 480px) {
  .s2-rv-coverage-grid {
    grid-template-columns: 1fr;
  }
}
