/* VA Loans Page Tools CSS */
/* Extracted from post 602, et_pb_code block 2 */
/* Version: 1.0.0 */


#vacalc-vm3 {
  --vmc-navy: #0e2d6e;
  --vmc-navy-deep: #081f49;
  --vmc-blue: #2563eb;
  --vmc-blue-dark: #1d4ed8;
  --vmc-gold: #f0b429;
  --vmc-success: #10b981;
  --vmc-success-bg: rgba(16, 185, 129, 0.12);
  --vmc-review: #d97706;
  --vmc-review-bg: rgba(240, 180, 41, 0.18);
  --vmc-error: #ef4444;
  --vmc-error-bg: rgba(239, 68, 68, 0.12);
  --vmc-copy: #334155;
  --vmc-muted: #64748b;
  --vmc-muted-light: #94a3b8;
  --vmc-border: rgba(14, 45, 110, 0.10);
  --vmc-surface: #ffffff;
  --vmc-surface-soft: #f8fbff;
  --vmc-track: rgba(255, 255, 255, 0.18);
  padding: 40px 24px !important;
  color: var(--vmc-copy);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#vacalc-vm3,
#vacalc-vm3 *,
#vacalc-vm3 *::before,
#vacalc-vm3 *::after {
  box-sizing: border-box !important;
}

#vacalc-vm3 * {
  margin: 0;
}

#vacalc-vm3 button,
#vacalc-vm3 a {
  font-family: inherit;
}

.vmc-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1e3c72;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
}

.vmc-hd {
  position: relative;
  overflow: hidden;
  padding: 34px 36px 20px;
  background:
    radial-gradient(circle at 86% 18%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 10% -10%, rgba(59,130,246,0.24) 0%, rgba(59,130,246,0) 34%),
    linear-gradient(135deg, #12347f 0%, #0e2d6e 46%, #081f49 100%);
}

.vmc-hd::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 68%);
  pointer-events: none;
}

.vmc-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 4px;
  border-radius: 999px;
  background: var(--vmc-gold);
  color: #1f2937;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(240, 180, 41, 0.22);
  margin-bottom: 16px;
}

.vmc-title {
  position: relative;
  z-index: 1;
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.vmc-title span {
  color: var(--vmc-gold);
  text-shadow: 0 2px 14px rgba(240, 180, 41, 0.18);
}

.vmc-sub {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.02em;
}

.vmc-prog {
  padding: 0 36px 18px;
  background: linear-gradient(180deg, #0c285f 0%, #081f49 100%);
}

.vmc-dot {
  display: none;
}

.vmc-plbl {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 16px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
}

.vmc-plbl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: var(--vmc-track);
}

.vmc-plbl::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.42);
  transition: width 0.28s ease;
}

#vmcd0.on ~ .vmc-plbl::after { width: 25%; }
#vmcd1.on ~ .vmc-plbl::after { width: 50%; }
#vmcd2.on ~ .vmc-plbl::after { width: 75%; }
#vmcd3.on ~ .vmc-plbl::after { width: 100%; }

#vmcd1.sk ~ .vmc-plbl::after { width: 33.333%; }
#vmcd1.sk ~ #vmcd2.on ~ .vmc-plbl::after { width: 66.666%; }
#vmcd1.sk ~ #vmcd3.on ~ .vmc-plbl::after { width: 100%; }

.vmc-form {
  padding: 36px 20px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.vmc-step {
  display: none;
}

.vmc-step.on {
  display: block;
  animation: vmcIn 0.24s ease;
}

@keyframes vmcIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.vmc-qn {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vmc-blue);
}

.vmc-qt {
  margin-bottom: 35px;
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--vmc-navy);
}

.vmc-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vmc-opts.c1 {
  grid-template-columns: 1fr;
}

.vmc-o {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
  width: 100%;
  padding: 10px 40px 10px 18px;
  border: 1px solid #1e3c72;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 10px 22px -18px rgba(14, 45, 110, 0.32), inset 0 1px 0 rgba(255,255,255,0.88);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.vmc-o::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(100, 116, 139, 0.35);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: all 0.18s ease;
}

.vmc-o::after {
  content: "";
  position: absolute;
  top: 27px;
  right: 25px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vmc-blue);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.vmc-o:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  box-shadow: 0 18px 32px -22px rgba(14, 45, 110, 0.46), inset 0 1px 0 rgba(255,255,255,0.94);
}

.vmc-o.sl {
  border: 2px solid var(--vmc-navy);
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  box-shadow: 0 18px 32px -24px rgba(14, 45, 110, 0.52), inset 0 0 0 1px rgba(255,255,255,0.76), inset 0 0 26px rgba(37, 99, 235, 0.08);
}

.vmc-o.sl::before {
  border-color: rgba(37, 99, 235, 0.42);
  background: #eef5ff;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}

.vmc-o.sl::after {
  transform: scale(1);
  opacity: 1;
}

.vmc-ol {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--vmc-navy);
}

.vmc-od {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--vmc-muted);
  letter-spacing: 0.02em;
}

.vmc-o.sl .vmc-od {
  color: #4f6b93;
}

.vmc-err {
  min-height: 18px;
  padding: 2px 36px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #dc2626;
}

.vmc-ft {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 36px 34px;
}

.vmc-bk {
  grid-column: 1;
  justify-self: start;
  padding: 14px 18px;
  border: 1px solid rgba(14, 45, 110, 0.14);
  border-radius: 14px;
  background: transparent;
  color: var(--vmc-copy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.vmc-bk:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 45, 110, 0.26);
  background: rgba(14, 45, 110, 0.03);
  color: var(--vmc-navy);
}

.vmc-nx {
  grid-column: 2;
  justify-self: center;
  min-width: 240px;
  padding: 16px 24px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2b6cf3 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 18px 30px -18px rgba(37, 99, 235, 0.9), 0 10px 18px -12px rgba(29, 78, 216, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.vmc-nx:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px -18px rgba(37, 99, 235, 0.95), 0 14px 22px -12px rgba(29, 78, 216, 0.64);
  filter: saturate(1.04);
}

.vmc-res {
  display: none;
  padding: 36px 36px 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  animation: vmcIn 0.3s ease;
}

.vmc-rs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.vmc-ri {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.vmc-ri.s {
  background: var(--vmc-success-bg);
  color: var(--vmc-success);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.08);
}

.vmc-ri.r {
  background: rgba(76, 175, 80, 0.12);
  color: #4caf50;
  box-shadow: inset 0 0 0 1px rgba(76, 175, 80, 0.08);
}

.vmc-ri.e {
  background: var(--vmc-error-bg);
  color: var(--vmc-error);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.08);
}

.vmc-rh {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vmc-rh.s { color: var(--vmc-success); }
.vmc-rh.r { color: #4caf50; }
.vmc-rh.e { color: var(--vmc-error); }

.vmc-rl {
  margin-bottom: 24px;
  border-top: 1px solid rgba(14, 45, 110, 0.08);
}

.vmc-li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(14, 45, 110, 0.06);
  font-size: 14px;
  line-height: 1.7;
  color: var(--vmc-copy);
}

.vmc-rdot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--vmc-blue);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.vmc-cta {
  display: block;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 18px 30px -18px rgba(40, 167, 69, 0.9), 0 10px 18px -12px rgba(30, 126, 52, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  margin-bottom: 12px;
}

.vmc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px -18px rgba(40, 167, 69, 0.95), 0 14px 22px -12px rgba(30, 126, 52, 0.64);
  filter: saturate(1.04);
  color: #fff !important;
  text-decoration: none !important;
}

#vacalc-vm3 a.vmc-cta,
#vacalc-vm3 a.vmc-cta:hover {
  color: #fff !important;
}

.vmc-rst {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(14, 45, 110, 0.14);
  border-radius: 14px;
  background: transparent;
  color: var(--vmc-copy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.vmc-rst:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 45, 110, 0.26);
  background: rgba(14, 45, 110, 0.03);
  color: var(--vmc-navy);
}

.vmc-disc {
  padding: 16px 36px 22px;
  border-top: 1px solid rgba(14, 45, 110, 0.06);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  color: var(--vmc-muted-light);
  letter-spacing: 0.02em;
}

.vmc-o:focus-visible,
.vmc-bk:focus-visible,
.vmc-nx:focus-visible,
.vmc-rst:focus-visible,
.vmc-cta:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.42);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  #vacalc-vm3 {
    padding: 24px 14px !important;
  }

  .vmc-hd,
  .vmc-form,
  .vmc-res,
  .vmc-prog,
  .vmc-err,
  .vmc-ft,
  .vmc-disc {
    padding-left: 24px;
    padding-right: 24px;
  }

  .vmc-hd {
    padding-top: 30px;
    padding-bottom: 18px;
  }

  .vmc-title {
    font-size: 36px;
  }

  .vmc-sub {
    font-size: 13px;
  }

  .vmc-qt {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .vmc-opts {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .vmc-o {
    min-height: 64px;
    padding: 8px 48px 8px 16px;
  }

  .vmc-ol {
    font-size: 16px;
  }

  .vmc-od {
    font-size: 12px;
  }

  .vmc-ft {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    padding-bottom: 28px;
  }

  .vmc-bk,
  .vmc-nx {
    width: 100%;
    min-width: 0;
  }

  .vmc-rs {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .vmc-title {
    font-size: 32px;
  }

  .vmc-qt {
    font-size: 17px;
  }

  .vmc-ri {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .vmc-rh {
    font-size: 27px;
  }
}

.vmc-hd-logo {
  position: absolute;
  top: 12px;
  right: 16px;
  height: 20px;
  width: auto;
  display: block;
}

.vmc-embed-wrap {
  padding: 10px 20px 14px;
  border-top: 1px solid rgba(14, 45, 110, 0.06);
  text-align: center;
}
.vmc-embed-btn {
  background: none;
  border: 1px solid rgba(14, 45, 110, 0.18);
  border-radius: 6px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  cursor: pointer;
  letter-spacing: 0.03em;
  font-family: inherit;
}
.vmc-embed-btn:hover {
  border-color: rgba(14,45,110,0.35);
  color: #64748b;
}
.vmc-embed-box {
  display: none;
  margin-top: 8px;
  text-align: left;
}
.vmc-embed-code {
  width: 100%;
  height: 50px;
  font-size: 11px;
  font-family: monospace;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 8px;
  resize: none;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
}

.vmc-how {
  margin: 20px 0 0;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid rgba(14,45,110,0.07);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}
.vmc-how-sum {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: #0e2d6e;
  padding: 0;
  font-family: inherit;
  margin: 0;
}
.vmc-how-ic {
  font-size: 20px;
  font-weight: 300;
  color: #94a3b8;
  flex-shrink: 0;
  margin-left: 8px;
}
.vmc-how-body {
  padding-top: 10px;
}
.vmc-how p {{ margin: 0 0 8px; }}
.vmc-how ul {{ margin: 0 0 8px; padding-left: 18px; }}
.vmc-how li {{ margin-bottom: 5px; }}
.vmc-how-disc {{ font-size: 11px; color: #94a3b8; margin: 0 !important; }}
