:root {
  --navy: #0b2545;
  --navy-mid: #1a3a6b;
  --navy-light: #2c5282;
  --accent: #c8a84b;
  --accent-light: #e8d48a;
  --red-err: #c0392b;
  --bg: #f5f4f0;
  --surface: #ffffff;
  --border: #d0cfc8;
  --text: #1c1c1c;
  --text-muted: #6b6b6b;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.vt-header {
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}

.vt-header__top { background: var(--navy); }

.vt-header__top .container--inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}

.vt-header__wordmark {
  font-family: 'Source Serif 4', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  flex: 1;
  letter-spacing: 0.01em;
}

.vt-header__toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.vt-header__toggle .navbar-toggler-icon {
  filter: invert(1);
}

.vt-header__util .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 2px;
  white-space: nowrap;
}
.vt-header__util .btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.vt-header__navigation {
  background: var(--navy-mid);
}
.vt-header__navigation .container--inner {
  padding: 0 20px;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.88rem;
  padding: 10px 14px;
  transition: color 0.15s;
}
.navbar-nav .nav-link:hover {
  color: var(--accent) !important;
}

@media (max-width: 767px) {
  .vt-header__navigation .navbar-collapse {
    background: var(--navy-light);
    padding: 8px 0;
  }
  .navbar-nav .nav-link { padding: 8px 20px; }
}

main.vt-page-content {
  flex: 1;
  padding: 32px 0 60px;
}

.vt-stepped-form .container--inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.vt-stepped-form h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 8px 0 4px;
}

p { line-height: 1.65; margin-bottom: 1rem; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

ol li { margin-bottom: 6px; line-height: 1.6; }

.form-label, .control-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
  display: block;
}

label.req::after,
.form-label.req::after,
.control-label.req::after,
p.req::after {
  content: " *";
  color: var(--red-err);
}

.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  padding: 8px 12px;
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  color: var(--text);
  width: 100%;
}

.form-control:focus, .form-select:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.12);
  outline: none;
}

.form-control.input-validation-error,
.form-control.is-invalid,
.form-select.input-validation-error {
  border-color: var(--red-err);
}

.field-validation-error {
  color: var(--red-err);
  font-size: 0.8rem;
  display: block;
  margin-top: 3px;
}

.field-validation-valid { display: none; }

.form-group { margin-bottom: 16px; }
.row.gy-3 > [class*="col"] { margin-bottom: 0; }

.form-check { margin-bottom: 10px; }
.form-check-input {
  border: 1.5px solid #aaa;
  margin-right: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.form-check-input:checked {
  background-color: var(--navy);
  border-color: var(--navy);
}
.form-check-label { cursor: pointer; line-height: 1.5; }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 8px 0 16px 24px;
  background: #fafaf8;
}
.card-body { padding: 16px 20px; font-size: 0.9rem; }

.card img { max-height: 22px; vertical-align: middle; margin-left: 6px; }

/* Added CSS for Card Warning Note */
.card-warning-note {
  background-color: #fff3cd;
  border: 1px solid #ffe69c;
  color: #664d03;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin: 8px 0 16px 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.card-warning-note .warning-icon {
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
  padding: 10px 32px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover:not(:disabled) {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
}
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  background: #fff;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 10px 32px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: all 0.15s;
}
.btn-secondary:hover:not(:disabled) {
  background: #f0f4f8;
  color: var(--navy-mid);
}

.btnsub { min-width: 140px; }

.validation-summary-errors ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--red-err);
  font-size: 0.88rem;
}
.validation-summary-valid { display: none; }

.hid { display: none !important; }
.secHDiv { display: none !important; }

.metaDiv, .submitDiv {
  display: none;
  animation: fadeSlide 0.35s ease forwards;
}
.metaDiv.visible, .submitDiv.visible { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.loading {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.72);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  letter-spacing: 0.05em;
}
.loading.active { display: flex; }
.loading .spinner {
  width: 44px; height: 44px;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.vt-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 20px 0;
  font-size: 0.82rem;
}
.vt-footer .container--inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.vt-footer__wordmark {
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}
.footerText { color: rgba(255,255,255,0.55); }

.captcha-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 0.88rem;
  color: #333;
  margin: 8px auto;
}
.captcha-placeholder input[type="checkbox"] {
  width: 20px; height: 20px; cursor: pointer;
}

textarea.form-control { resize: vertical; min-height: 70px; }

.us-section, .can-section, .world-section { display: none; }

/* Simple decline alert - generic message only */
.decline-alert {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 0 0 24px 0;
  color: #721c24;
  animation: fadeSlide 0.4s ease forwards;
}
.decline-alert h4 {
  color: #721c24;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}
.decline-alert p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* SUCCESS MODAL CSS */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 37, 69, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active {
  display: flex;
}
.success-modal {
  background: #ffffff;
  border-radius: 8px;
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: modalFadeIn 0.3s ease-out forwards;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #eaf7ea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #3cb371;
}
.success-icon svg {
  width: 32px;
  height: 32px;
}
.success-modal h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.success-modal p.intro-text { 
  font-size: 0.95rem; 
  color: var(--text-muted); 
  margin: 0 0 20px 0; 
}
.success-modal p.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 20px 0 0 0;
  line-height: 1.6;
}

.verify-spinner {
  width: 44px; height: 44px;
  border: 4px solid #f3f3f3;
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px auto;
}

.ref-num {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.ref-num span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.ref-num strong {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
  font-family: monospace;
}

.cc-icon-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 14px;
}
.cc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.cc-visa   { background: #1a1f71; color: #fff; }
.cc-mc     { background: #eb001b; color: #fff; }
.cc-amex   { background: #007bc1; color: #fff; }
.cc-disc   { background: #f76f20; color: #fff; }

.cc-field-group { position: relative; }
.cc-field-group .cc-type-indicator {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  pointer-events: none;
}

.billing-separator {
  border-top: 1px dashed var(--border);
  margin: 16px 0 14px;
  position: relative;
}
.billing-separator span {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fafaf8;
  padding: 0 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 575px) {
  .vt-stepped-form h2 { font-size: 1.4rem; }
  .card { margin-left: 0; }
  .card-warning-note { margin-left: 0; }
}