/* Email-only popup matching the supplied mobile reference. */
#pop { position: fixed; inset: 0; overflow: auto; z-index: 1000; }
#pop .overlay { background: rgba(0,0,0,.56); backdrop-filter: blur(3px); }
#pop .formbox { position: relative; top: max(16px, 8dvh); width: min(560px, calc(100% - 18px)); max-width: 560px; margin: 0 auto 30px; border-radius: 9px; background: #fff; text-align: left; overflow: hidden; font-family: Arial, Helvetica, sans-serif; }
#pop .formbox > .row { margin: 0; width: 100%; max-width: none; display: block; }
#pop .formbox-left, #pop .formbox-right { float: none; width: 100%; min-height: 0; height: auto; padding: 0; background: #fff; }
#pop .formbox-header { margin: 0; padding: 22px 22px 24px; background: #19586c; text-align: left; }
#pop .form-title1 { font-size: 22px; font-weight: 400; line-height: 1.45; color: #fff; margin: 0 0 3px; }
#pop .form-title2 { font-size: 23px; font-weight: 700; line-height: 1.4; color: #fff; margin: 0; }
#pop .steps { padding: 20px 20px 23px; margin: 0; }
#pop .step { display: flex; align-items: center; gap: 17px; position: relative; overflow: visible; margin: 0; min-height: 44px; }
#pop .step:not(:last-child) { padding-bottom: 23px; }
#pop .step:not(:last-child)::before { content: ''; position: absolute; background: #929292; width: 2px; left: 21px; top: 38px; bottom: -4px; }
#pop .nr, #pop .step:first-child .nr, #pop .step:nth-child(2) .nr { position: relative; flex: 0 0 44px; width: 44px; height: 44px; float: none; background: none; padding: 0; top: auto; }
#pop .nr span { display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; width: 44px; height: 44px; border-radius: 50%; background: #e9e9e9; color: #999; font-size: 25px; font-weight: 400; line-height: 1; }
#pop .step.active .nr span { background: #19586c; color: #fff; width: 44px; height: 44px; font-weight: 400; padding: 0; }
#pop .text { padding: 0; margin: 0; width: auto; float: none; font-size: 19px; line-height: 1.4; color: #929292; font-weight: 400; }
#pop .text.active { color: #19586c; font-size: 23px; font-weight: 700; }
#pop .text br, #pop .text > div { display: none; }
#pop .formbox-right { padding: 20px; background: #efefef; }
#pop .form-fields { margin: 0; padding: 0; width: 100%; }
#pop .field { margin: 0 0 16px; padding: 0; }
#pop .field input:not([type=hidden]) { box-sizing: border-box; width: 100%; height: 62px; margin: 0; padding: 15px 17px; border: 1px solid #d4d4d4; border-radius: 10px; background: #fff; box-shadow: none; color: #29343b; font-size: 20px; font-family: inherit; }
#pop .field input::placeholder { color: #b2b2b2; }
#pop .input_img { display: none; }
#pop .btn-submit { box-sizing: border-box; display: block; width: 100%; height: auto; min-height: 76px; padding: 12px 18px; margin: 0; border: 0; border-radius: 3px; background: #16a000; color: #fff; text-transform: uppercase; font: 700 23px Arial, Helvetica, sans-serif; cursor: pointer; }
#pop .btn-submit:hover { background: #138a00; }
#pop .form-fields .footer { margin: 17px 3px 6px; padding: 0; font-size: 13px; color: #999; line-height: 1.4; text-align: center; }
#pop .modal-close { top: 19px; right: 19px; color: #a1a1a1; padding: 4px; font-size: 15px; }
@media (max-width: 580px) {
  #pop .formbox { top: max(12px, 4dvh); }
  #pop .formbox-header { padding: 15px 15px 17px; }
  #pop .form-title1 { font-size: 17px; }
  #pop .form-title2 { font-size: 18px; }
  #pop .steps { padding: 14px 14px 17px; }
  #pop .step { gap: 13px; min-height: 32px; }
  #pop .step:not(:last-child) { padding-bottom: 19px; }
  #pop .step:not(:last-child)::before { left: 15px; top: 29px; bottom: -3px; }
  #pop .nr, #pop .step:first-child .nr, #pop .step:nth-child(2) .nr { flex-basis: 32px; width: 32px; height: 32px; }
  #pop .nr span, #pop .step.active .nr span { width: 32px; height: 32px; font-size: 19px; }
  #pop .text { font-size: 14px; }
  #pop .text.active { font-size: 18px; }
  #pop .formbox-right { padding: 14px; }
  #pop .field { margin-bottom: 12px; }
  #pop .field input:not([type=hidden]) { height: 46px; padding: 10px 12px; font-size: 16px; border-radius: 8px; }
  #pop .btn-submit { min-height: 55px; font-size: 18px; }
  #pop .form-fields .footer { font-size: 10px; margin: 12px 3px 5px; }
  #pop .modal-close { top: 15px; right: 15px; }
}
