/**
 * Visa Page Template Styles (`template-visa.php`).
 * Loaded after `assets/css/page-toc.css` via `inc/functions/page-sidebar-toc.php`.
 * Scope: `.vmt-visa-main` container & `.vmt-toc__visa` (Visa Calculator widget overrides).
 */

/* ---------- Main content card (.vmt-visa-main) ---------- */
.vmt-visa-main {
  padding: 36px 42px 48px;
}

/* ---------- Visa Calculator card (vmt-visa-calculator plugin override) ---------- */
.vmt-toc__visa .vmt-vq-box {
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--vmt-accent, #009030) 16%, #e2e8f0);
  background: #ffffff;
  box-shadow:
    0 12px 32px rgba(0, 144, 48, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.vmt-toc__visa .vmt-vq-head {
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, #007f2a 0%, #009634 52%, #1fb954 100%);
}

.vmt-toc__visa .vmt-vq-title {
  margin: 0 0 10px;
  font-family: "Lexend", var(--vmt-font-heading, sans-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.vmt-toc__visa .vmt-vq-select {
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: #ffffff;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vmt-toc__visa .vmt-vq-body {
  padding: 16px 18px 18px;
}

.vmt-toc__visa .vmt-vq-progress-bar {
  height: 6px;
  background: #e8f0eb;
}

.vmt-toc__visa .vmt-vq-progress-fill {
  background: linear-gradient(90deg, #00852c 0%, #1fb954 100%);
}

.vmt-toc__visa .vmt-vq-qtitle {
  font-family: "Lexend", var(--vmt-font-heading, sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
}

.vmt-toc__visa .vmt-vq-opt {
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid #e2e8f0;
  background: #f8faf9;
  color: #1e293b;
  font-size: 13.5px;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.vmt-toc__visa .vmt-vq-opt:hover,
.vmt-toc__visa .vmt-vq-opt.is-picked {
  background: color-mix(in srgb, var(--vmt-accent, #009030) 9%, #ffffff);
  border-color: var(--vmt-accent, #009030);
  color: var(--vmt-accent-strong, #007f2a);
}

.vmt-toc__visa .vmt-vq-btn {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.vmt-toc__visa .vmt-vq-btn--primary {
  background: var(--vmt-grad,
      linear-gradient(135deg, #00852c 0%, #009a35 50%, #1fb954 100%));
  box-shadow: 0 8px 20px rgba(0, 144, 48, 0.28);
}

.vmt-toc__visa .vmt-vq-btn--primary:hover {
  opacity: 0.96;
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(0, 144, 48, 0.35);
}

.vmt-toc__visa .vmt-vq-btn--outline {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155 !important;
}

.vmt-toc__visa .vmt-vq-btn--outline:hover {
  border-color: var(--vmt-accent, #009030);
  color: var(--vmt-accent-strong, #007f2a) !important;
}

.vmt-toc__visa .vmt-vq-opt:focus-visible,
.vmt-toc__visa .vmt-vq-select:focus-visible {
  outline: 2px solid var(--vmt-accent, #009030);
  outline-offset: 2px;
}

.vmt-toc__visa .vmt-vq-lead {
  border-radius: 14px;
  background: color-mix(in srgb, var(--vmt-accent, #009030) 6%, #ffffff);
  border-color: color-mix(in srgb, var(--vmt-accent, #009030) 18%, #e2e8f0);
}

.vmt-toc__visa .vmt-vq-lead__form input {
  border-radius: 10px;
}

.vmt-toc__visa .vmt-vq-lead__form input:focus {
  border-color: var(--vmt-accent, #009030);
  outline: 2px solid color-mix(in srgb, var(--vmt-accent, #009030) 24%, transparent);
  outline-offset: 0;
}

.vmt-toc__visa .vmt-vq-lead__ok {
  color: var(--vmt-accent-strong, #007f2a);
}

/* ---------- Tablet & Mobile ---------- */
@media (max-width: 1099px) {
  .vmt-visa-main {
    padding: 24px 20px 28px;
    border-radius: 18px;
  }

  .vmt-toc__visa {
    width: 100%;
    max-width: 560px;
    margin: 24px auto 0;
  }
}

@media (max-width: 767px) {
  .vmt-visa-main {
    padding: 20px 16px 24px;
    border-radius: 16px;
  }
}
