/* Hộ Chiếu Nhanh / Contact popup v3.2
   Self-contained skin. Does not change WPForms form IDs, field names, submission or email settings. */
dialog.vcp-contact-dialog--refined:not([open]) { display:none!important; visibility:hidden!important; }
body.hnv-vacpa-home dialog#vcp-contact-dialog.vcp-contact-dialog--refined[open] {
  position:fixed!important; inset:auto!important; top:50%!important;left:50%!important;
  transform:translate(-50%,-50%)!important; margin:0!important;
  display:block!important; width:min(620px,calc(100vw - 36px))!important;
  max-width:620px!important; max-height:min(91vh,800px)!important;
  max-height:min(91dvh,800px)!important; overflow-x:hidden!important; overflow-y:auto!important;
  padding:0!important; border:1px solid #e3eaf6!important; border-radius:18px!important;
  background:#fff!important;background-image:none!important; color:#162347!important; box-shadow:0 30px 90px rgba(8,22,66,.32)!important;
  z-index:2147483600!important; font-family:'Open Sans',sans-serif!important;
}
body.hnv-vacpa-home dialog.vcp-contact-dialog--refined::backdrop {
  background:rgba(8,21,54,.67)!important; backdrop-filter:blur(4px);
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-card {position:relative; overflow:hidden; background:#fff!important;background-image:none!important; text-align:left;}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-card::before {
  display:none!important;content:none!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-close {
  position:absolute!important; top:16px!important;right:10px!important;z-index:5;
  width:36px!important;height:36px!important;padding:9px!important;display:flex!important;
  align-items:center!important;justify-content:center!important; background:#e8efff!important;
  border:0!important;border-radius:50%!important;color:#204bbd!important;box-shadow:none!important;
  cursor:pointer!important;transition:background .16s ease,transform .16s ease;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-close:hover {background:#dbe6ff!important;transform:rotate(90deg);}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-close:focus-visible {outline:3px solid #6c9cff;outline-offset:2px;}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-close svg {width:18px!important;height:18px!important;stroke:currentColor!important;}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__head {
  padding:29px 56px 22px!important; text-align:center!important;
  background:#fff!important;background-image:none!important;
  border:0!important;box-shadow:none!important;margin:0!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-hero-icon {
  width:42px;height:42px;border-radius:0;display:flex;align-items:center;justify-content:center;
  margin:0 auto 7px;background:transparent!important;color:#1e49e2;
  box-shadow:none!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-hero-icon svg{width:28px;height:28px;display:block;stroke:currentColor;}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-eyebrow {
  font-family:'Open Sans',Arial,sans-serif!important; font-size:12px!important;line-height:18px!important;
  letter-spacing:0!important;font-weight:600!important;color:#51617a!important;
  text-transform:none!important;margin-bottom:6px;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__head h2 {
  margin:0 0 7px!important;padding:0!important;text-align:center!important;
  font-family:'Open Sans',sans-serif!important;font-size:24px!important;line-height:1.35!important;
  letter-spacing:-.4px!important;font-weight:700!important;color:#142d78!important;text-transform:none!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__head p {
  margin:0!important;color:#657289!important;font-family:'Open Sans',sans-serif!important;
  font-size:13px!important;line-height:1.65!important;text-align:center!important;font-weight:400!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form {
  padding:12px 36px 12px!important;margin:0!important;background:#fff!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .wpforms-container,
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .wpforms-form {
  padding:0!important;margin:0!important;box-shadow:none!important;background:transparent!important;
  max-width:none!important;width:100%!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:14px!important;row-gap:14px!important;padding:0!important;margin:0!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field {
  grid-column:1 / -1; min-width:0!important;width:100%!important;
  padding:0!important;margin:0!important;position:relative!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field:nth-child(1),
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field:nth-child(2),
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field.vcp-form-field--name,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field.vcp-form-field--phone {
  grid-column:span 1;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field.vcp-form-field--service {
  grid-column:1 / -1;
}
/* Typography is the same Open Sans used in the VACPA homepage, including WPForms controls. */
body.hnv-vacpa-home .vcp-contact-dialog--refined,
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-card,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-form,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-form label,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-form input,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-form select,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-form textarea,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-form button,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-form option,
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-disclaimer {
  font-family:'Open Sans',Arial,sans-serif!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-label {
  font-family:'Open Sans',sans-serif!important;font-size:13px!important;line-height:20px!important;
  font-weight:700!important;color:#253754!important;margin:0 0 7px!important;padding:0!important;
  display:block!important;text-transform:none!important;letter-spacing:0!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-label .wpforms-required-label{color:#ec3a48!important;}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-input-shell {
  position:relative!important;width:100%!important;display:block!important;min-width:0!important;
  min-height:49px!important;line-height:normal!important;box-sizing:border-box!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-input-shell__icon {
  position:absolute!important;z-index:2!important;left:0!important;top:0!important;
  width:49px!important;height:49px!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;transform:none!important;pointer-events:none;
  color:#6580b2;display:flex!important;align-items:center!important;justify-content:center!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-input-shell__icon::after {
  content:"";position:absolute;right:0;top:12px;height:25px;width:1px;background:#dae4f3;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-input-shell__icon svg {
  display:block!important;position:static!important;transform:none!important;flex:0 0 19px;
  width:19px!important;height:19px!important;margin:0!important;fill:none;stroke:currentColor;
  stroke-width:1.65;stroke-linejoin:round;stroke-linecap:round;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-input-shell::before {
  content:none!important;display:none!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-input-shell__chevron {
  position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;
  width:17px;height:17px;color:#657895;display:flex;align-items:center;justify-content:center;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-input-shell__chevron svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .wpforms-field .vcp-contact-input-shell input:not([type=hidden]):not([type=checkbox]):not([type=radio]),
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .wpforms-field .vcp-contact-input-shell select,
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .wpforms-field .vcp-contact-input-shell textarea {
  box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;
  height:49px!important;min-height:49px!important;min-width:0!important;
  border:1px solid #cbd7e9!important;border-radius:10px!important;background:#fff!important;
  box-shadow:0 1px 2px rgba(30,53,96,.03)!important;
  outline:0!important;margin:0!important;padding:0 15px 0 60px!important;
  color:#253754!important;font-family:'Open Sans',sans-serif!important;font-size:13px!important;
  font-weight:400!important;line-height:1.4!important;text-transform:none!important;
  transition:border-color .18s ease,box-shadow .18s ease!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .wpforms-field .vcp-contact-input-shell textarea {
  min-height:100px!important;height:auto!important;resize:vertical!important;padding-top:15px!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .wpforms-field .vcp-contact-input-shell select {
  appearance:none!important;-webkit-appearance:none!important;padding-right:42px!important;cursor:pointer;
  background-image:none!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .wpforms-field .vcp-contact-input-shell input::placeholder,
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .wpforms-field .vcp-contact-input-shell textarea::placeholder {
  color:#8c99ad!important;opacity:1!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .vcp-contact-input-shell:focus-within input,
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .vcp-contact-input-shell:focus-within select,
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form .vcp-contact-input-shell:focus-within textarea {
  border-color:#2e68e8!important;box-shadow:0 0 0 3px rgba(46,104,232,.13)!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field.wpforms-has-error .vcp-contact-input-shell input,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field.wpforms-has-error .vcp-contact-input-shell select {
  border-color:#e84c5a!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-error,
body.hnv-vacpa-home .vcp-contact-dialog--refined label.wpforms-error {
  margin:5px 0 0!important;color:#cb2434!important;font-size:11px!important;line-height:1.5!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-field-hint--visually-hidden {
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-submit-container {
  display:block!important;padding:0!important;margin:20px 0 0!important;text-align:center!important;
  width:100%!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-submit-container button.wpforms-submit,
body.hnv-vacpa-home .vcp-contact-dialog--refined button.wpforms-submit {
  display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;
  width:100%!important;max-width:none!important;min-height:52px!important;height:auto!important;
  border:1px solid #1b4bd6!important;border-radius:10px!important;
  background:#1e49e2!important;background-image:none!important;color:#fff!important;
  font-family:'Open Sans',sans-serif!important;font-size:16px!important;font-weight:700!important;
  line-height:24px!important;text-transform:none!important;letter-spacing:0!important;
  margin:0!important;padding:12px 18px!important;box-shadow:none!important;
  cursor:pointer!important;transition:background-color .18s ease!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined button.wpforms-submit:hover {
  background:#173fca!important;background-image:none!important;filter:none!important;box-shadow:none!important;transform:none!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined button.wpforms-submit:focus-visible {
  outline:3px solid rgba(44,108,239,.35)!important;outline-offset:3px!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined button.wpforms-submit:disabled {
  cursor:wait!important;opacity:.65!important;transform:none!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-submit-icon{display:inline-flex;align-items:center;justify-content:center;}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-submit-icon svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-submit-spinner{vertical-align:middle;}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-disclaimer {
  display:flex!important;align-items:flex-start!important;gap:9px!important;
  margin:8px 36px 0!important;padding:15px 0 22px!important;
  border-top:1px solid #e7edf6!important;background:transparent!important;
  color:#778399!important;font-size:11px!important;line-height:1.65!important;font-weight:400!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-disclaimer svg {
  flex:0 0 18px;margin-top:1px;stroke:#7083a9;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-confirmation-container-full,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-confirmation-container {
  border:1px solid #cce9df!important;background:#effaf5!important;
  padding:18px 20px!important;border-radius:10px!important;font-size:14px!important;
  color:#1e694d!important;line-height:1.65!important;
}
@media (max-width:700px){
  body.hnv-vacpa-home dialog#vcp-contact-dialog.vcp-contact-dialog--refined[open] {
    width:calc(100vw - 24px)!important;max-width:520px!important;border-radius:15px!important;
    max-height:94vh!important;max-height:94dvh!important;
  }
  body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__head{padding:26px 45px 17px!important;}
  body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-hero-icon {width:38px;height:38px;border-radius:0;margin-bottom:6px;background:transparent!important;box-shadow:none!important;}
  body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-hero-icon svg{width:26px;height:26px;}
  body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__head h2 {font-size:20px!important;letter-spacing:-.2px!important;}
  body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__head p {font-size:12px!important;}
  body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__form {padding:10px 20px 10px!important;}
  body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container {grid-template-columns:minmax(0,1fr)!important;row-gap:12px!important;}
  body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field,
  body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field:nth-child(1),
  body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field:nth-child(2),
  body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field.vcp-form-field--name,
  body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-field-container > .wpforms-field.vcp-form-field--phone {grid-column:1 / -1!important;}
  body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-disclaimer {margin:7px 20px 0!important;padding:13px 0 17px!important;font-size:10px!important;}
  body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-close {top:11px!important;right:8px!important;width:33px!important;height:33px!important;}
}
@media (max-width:400px){
  body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__head {padding:24px 34px 15px!important;}
  body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__head h2 {font-size:18px!important;}
}
@media (prefers-reduced-motion:reduce){
  body.hnv-vacpa-home .vcp-contact-dialog--refined * {transition:none!important;animation:none!important;}
}

/* v3.2: flat white popup, single-color action, consistent focus/active states. */
body.hnv-vacpa-home dialog#vcp-contact-dialog.vcp-contact-dialog--refined,
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-card,
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-dialog__head {
  background-color:#fff!important;background-image:none!important;
}
body.hnv-vacpa-home .vcp-contact-dialog--refined button.wpforms-submit:focus,
body.hnv-vacpa-home .vcp-contact-dialog--refined button.wpforms-submit:active {
  background:#1e49e2!important;background-image:none!important;box-shadow:none!important;
}
/* For textareas, align the icon with the first text line rather than the full height. */
body.hnv-vacpa-home .vcp-contact-dialog--refined .vcp-contact-input-shell:has(textarea) .vcp-contact-input-shell__icon {
  top:0!important;
}

/* v3.3: keep all CTA button states flat, even if a theme overrides their class. */
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-submit-container button.wpforms-submit,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-submit-container button.wpforms-submit:hover,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-submit-container button.wpforms-submit:focus,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-submit-container button.wpforms-submit:active,
body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-submit-container button.wpforms-submit:disabled {
  box-shadow:none!important;
  text-shadow:none!important;
}

/* v3.5 Mobile usability: iOS Safari must not zoom the viewport when typing. */
@media (max-width: 1023px) {
  body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-form .vcp-contact-input-shell input:not([type="hidden"]),
  body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-form .vcp-contact-input-shell select,
  body.hnv-vacpa-home .vcp-contact-dialog--refined .wpforms-form .vcp-contact-input-shell textarea {
    font-size: 16px !important;
  }
}
