/* =====================================================================
   zap-apply.css — native styling for the reused ZapMyTax grievance form
   (submissionViewModelZMT_Redesign.js) embedded in the redesign "Get Started"
   modal. EVERYTHING is scoped under .zap-apply / .zap-apply-shell so it cannot
   affect the redesign page or the live site. No legacy Bootstrap/online-site
   CSS is loaded; the grid/util/modal primitives the form needs are reproduced
   here in the new design language. CSS variables come from zap-redesign.css.
   ===================================================================== */

/* ---- Modal shell (replaces the mockup's .modal box for the apply modal) ---- */
.modal-overlay .zap-apply-shell{
  background:var(--white);border-radius:16px;width:92%;max-width:660px;
  max-height:92vh;overflow-y:auto;padding:36px 34px;
  box-shadow:0 24px 64px rgba(0,0,0,.22);
  transform:translateY(24px);transition:transform .3s ease;
  font-family:var(--font-body);color:var(--black);
}
.modal-overlay.open .zap-apply-shell{transform:none}
.zap-apply-shell .modal-close{position:absolute;top:14px;right:14px;z-index:5}

/* Marketing header inside the apply-modal shell (matches the zap model's .modal heading) */
.modal-overlay .zap-apply-shell > h2{
  font-family:var(--font-display);font-size:clamp(20px,3vw,24px);font-weight:700;
  color:var(--dark-blue-deep);line-height:1.2;margin:0 0 4px;padding-right:44px;
}
.modal-overlay .zap-apply-shell > .modal-sub{font-size:14px;color:var(--blue);margin:0 0 22px}

/* ---- Root ---- */
.zap-apply{font-family:var(--font-body);color:var(--black);line-height:1.55;font-size:15px}
.zap-apply *,.zap-apply *::before,.zap-apply *::after{box-sizing:border-box}
.zap-apply h1,.zap-apply h2,.zap-apply h3,.zap-apply h4{font-family:var(--font-display);color:var(--dark-blue-deep);line-height:1.2;margin:0 0 10px}
.zap-apply h1{font-size:clamp(22px,3.4vw,28px);font-weight:700}
.zap-apply h2{font-size:clamp(17px,2.4vw,21px);font-weight:600}
.zap-apply h3{font-size:16px;font-weight:600}
.zap-apply h4{font-size:14px;font-weight:600;font-family:var(--font-body)}
.zap-apply p{margin:0 0 10px}
.zap-apply a{color:var(--dark-blue-deep);text-decoration:none}
.zap-apply a:hover{color:var(--green)}
.zap-apply u{text-decoration:underline}

/* ---- Grid subset (reproduces the Bootstrap classes the form uses) ---- */
.zap-apply .row{display:flex;flex-wrap:wrap;margin:0 -8px}
.zap-apply .row.flex-nowrap{flex-wrap:nowrap}
.zap-apply [class^="col-"],.zap-apply .col,.zap-apply .col-auto{padding:0 8px;flex:1 1 0;min-width:0}
.zap-apply .col-auto{flex:0 0 auto;width:auto}
.zap-apply .col-12{flex:0 0 100%;max-width:100%}
.zap-apply .col-sm-2{flex:0 0 16.6667%;max-width:16.6667%}
.zap-apply .col-sm-8{flex:0 0 66.6667%;max-width:66.6667%}
.zap-apply .col-md-3{flex:0 0 25%;max-width:25%}
.zap-apply .col-md-12,.zap-apply .col-lg-12{flex:0 0 100%;max-width:100%}
.zap-apply .col-lg-6{flex:0 0 50%;max-width:50%}
@media(max-width:576px){
  .zap-apply .col-sm-2,.zap-apply .col-sm-8,.zap-apply .col-md-3,.zap-apply .col-lg-6{flex:0 0 100%;max-width:100%}
  .zap-apply .row.flex-nowrap{flex-wrap:wrap}
}

/* ---- Spacing utilities used in the form ---- */
.zap-apply .mt-0{margin-top:0!important}
.zap-apply .mb-0{margin-bottom:0!important}
.zap-apply .mb-3{margin-bottom:1rem!important}
.zap-apply .mb-4{margin-bottom:1.5rem!important}
.zap-apply .mb40{margin-bottom:40px!important}
.zap-apply .mx-auto{margin-left:auto!important;margin-right:auto!important}
.zap-apply .clearfix::after{content:"";display:table;clear:both}
/* inline width helpers */
.zap-apply .l20{width:20%;display:inline-block;vertical-align:top;padding:0 4px}
.zap-apply .l30{width:30%;display:inline-block;vertical-align:top;padding:0 4px}
.zap-apply .l40{width:40%;display:inline-block;vertical-align:top;padding:0 4px}
.zap-apply .l50{width:50%;display:inline-block;vertical-align:top;padding:0 4px}
.zap-apply .l80{width:80%;display:inline-block;vertical-align:top;padding:0 4px}

/* ---- Labels ---- */
.zap-apply .heading{display:block;font-size:13px;font-weight:600;color:var(--dark-blue-deep);margin-bottom:6px}
.zap-apply .headingS{display:block;font-size:12px;font-weight:600;color:var(--blue);margin-bottom:4px}
.zap-apply .req{color:#e74c3c;font-style:normal;margin-left:2px}

/* ---- Inputs / selects / textarea ---- */
.zap-apply input[type="text"],
.zap-apply input[type="email"],
.zap-apply input[type="tel"],
.zap-apply input[type="number"],
.zap-apply select,
.zap-apply textarea,
.zap-apply .form-control{
  width:100%;padding:11px 13px;border:1.5px solid var(--gray);border-radius:8px;
  font-family:var(--font-body);font-size:15px;color:var(--black);background:var(--white);
  transition:border-color .2s;outline:none;
}
.zap-apply input:focus,.zap-apply select:focus,.zap-apply textarea:focus,.zap-apply .form-control:focus{border-color:var(--dark-blue-deep)}
.zap-apply textarea,.zap-apply .comments textarea{min-height:80px;resize:vertical}
.zap-apply .fbase{margin-bottom:12px}
.zap-apply .focuseffect{position:relative}
.zap-apply .errorRight .validationMessage,.zap-apply .validationMessage{display:block;color:#e74c3c;font-size:12px;margin-top:4px}
.zap-apply .difAddress{display:flex;flex-wrap:wrap;gap:10px}
.zap-apply .difAddress>div{flex:1 1 140px}

/* ---- Custom radios / checkboxes ---- */
.zap-apply .radiocontainer,.zap-apply .checkcontainer{
  position:relative;display:inline-flex;align-items:center;gap:8px;
  padding-left:0;margin:0 18px 6px 0;cursor:pointer;font-size:14px;color:var(--black);
}
.zap-apply .radiocontainer input,.zap-apply .checkcontainer input{position:absolute;opacity:0;width:0;height:0}
.zap-apply .checkradio,.zap-apply .checkmark{
  display:inline-block;width:20px;height:20px;flex:0 0 20px;border:1.5px solid var(--gray);background:var(--white);position:relative;
}
.zap-apply .checkradio{border-radius:50%}
.zap-apply .checkmark{border-radius:5px}
.zap-apply .radiocontainer input:checked~.checkradio{border-color:var(--dark-blue-deep)}
.zap-apply .radiocontainer input:checked~.checkradio::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--dark-blue-deep)}
.zap-apply .checkcontainer input:checked~.checkmark{background:var(--dark-blue-deep);border-color:var(--dark-blue-deep)}
.zap-apply .checkcontainer input:checked~.checkmark::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
/* Disabled (read-only) state — e.g. the Review & Sign step. The native input is visually
   hidden, so mirror its disabled attribute onto the custom control so it reads as inactive. */
.zap-apply .radiocontainer input:disabled~.checkradio,
.zap-apply .checkcontainer input:disabled~.checkmark{border-color:var(--gray);background:#f0f0f0;opacity:.7}
.zap-apply .checkcontainer input:disabled:checked~.checkmark{background:var(--gray);border-color:var(--gray)}
.zap-apply .radiocontainer input:disabled:checked~.checkradio{border-color:var(--gray)}
.zap-apply .radiocontainer input:disabled:checked~.checkradio::after{background:var(--gray)}
.zap-apply .radiocontainer:has(input:disabled),
.zap-apply .checkcontainer:has(input:disabled){cursor:not-allowed;color:var(--gray)}
.zap-apply .form-check{margin-bottom:10px}
.zap-apply .form-check-input{width:auto;margin-right:8px}
/* Terms & Conditions agreement: long multi-line label — box stays top-left, copy reads as a column */
.zap-apply .checkcontainer--terms{align-items:flex-start;gap:10px;font-size:13px;line-height:1.55;text-align:left;margin-right:0}
.zap-apply .checkcontainer--terms .checkmark{margin-top:1px}
.zap-apply .checkcontainer--terms .checkcontainer__text{flex:1;min-width:0}
.zap-apply .checkcontainer--terms a{text-decoration:underline}

/* ---- Buttons ---- */
.zap-apply .aw-btn,.zap-apply .form-btn,.zap-apply .btn-primary,.zap-apply .form-btn-small{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--dark-blue-deep);color:#fff;font-family:var(--font-body);font-weight:600;font-size:15px;
  padding:12px 26px;border:2px solid var(--dark-blue-deep);border-radius:50px;cursor:pointer;
  transition:all .25s ease;text-align:center;
}
.zap-apply .aw-btn:hover,.zap-apply .form-btn:hover,.zap-apply .btn-primary:hover,.zap-apply .form-btn-small:hover{background:var(--blue);border-color:var(--blue);transform:translateY(-1px);color:#fff}
.zap-apply .aw-btn-prev,.zap-apply .btn-default{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--white);color:var(--dark-blue-deep);font-weight:600;font-size:15px;
  padding:12px 22px;border:2px solid var(--gray);border-radius:50px;cursor:pointer;transition:all .25s ease;
}
.zap-apply .aw-btn-prev:hover,.zap-apply .btn-default:hover{border-color:var(--dark-blue-deep)}
.zap-apply .form-btn-grey,.zap-apply .aw-btn[disabled],.zap-apply .form-btn-grey:hover{background:var(--gray);border-color:var(--gray);color:#fff;cursor:not-allowed;transform:none}
.zap-apply .form-btn-small{padding:9px 20px;font-size:14px}
.zap-apply .not-your-address,.zap-apply .add-address-manually,.zap-apply .cancel-address-manually{font-weight:600;font-size:13px}
.zap-apply .fclean{background:none}
.zap-apply .form-bottom{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px;align-items:center}

/* ---- Wizard steps ---- */
.zap-apply .tav2{display:block}
.zap-apply .aw-step0{text-align:center}
.zap-apply .aw-subtitle{margin:8px 0 16px}
.zap-apply .aw-subtitle h2{color:var(--green)}
.zap-apply .aw-subtitle span{display:inline-block;margin:0 8px;font-size:13px;color:var(--blue);font-weight:600}
.zap-apply .aw-step0 p .fas,.zap-apply .aw-step0 p i{color:var(--green);margin-right:4px}
.zap-apply .aw-client{margin-top:22px;padding-top:18px;border-top:1px solid var(--gray);text-align:left}
.zap-apply .aw-client>span{display:block;text-align:center;font-weight:700;color:var(--blue);margin:10px 0}
.zap-apply .aw-steps h4,.zap-apply .aw-review h4{font-size:13px;color:var(--blue);font-weight:700;margin-bottom:12px}
.zap-apply .aw-form{width:100%}
.zap-apply .form-header h1{margin-bottom:2px}
.zap-apply .form-header h3{color:var(--blue);font-weight:600}
.zap-apply .pincode,.zap-apply .dsbl{margin-bottom:14px}
/* Step 1 PIN entry: an alternative route below the email, not a second required field.
   Option A shows .aw-or + .aw-pin; Option B swaps .aw-or for the .aw-pin-reveal link
   (pinEntryRevealOnClick in _ApplyFormModule.cshtml). */
.zap-apply .aw-or{display:flex;align-items:center;gap:14px;margin:22px 0}
.zap-apply .aw-or::before,.zap-apply .aw-or::after{content:"";flex:1;height:1px;background:var(--gray)}
.zap-apply .aw-or span{font-size:11.5px;font-weight:600;letter-spacing:.1em;color:var(--blue)}
.zap-apply .aw-pin{background:var(--light-blue);border:1px solid var(--border);border-radius:9px;padding:17px 18px}
.zap-apply .aw-pin[hidden]{display:none}
.zap-apply .aw-pin .heading{margin-bottom:4px}
.zap-apply .aw-pin-hint{font-size:12.5px;line-height:1.5;color:var(--blue);margin:0}
.zap-apply .aw-pin-row{display:flex;gap:9px;margin-top:10px}
.zap-apply .aw-pin-row input[type="text"]{flex:1;min-width:0;text-transform:uppercase;letter-spacing:.14em;font-weight:500}
.zap-apply .aw-pin-row input[type="text"]::placeholder{letter-spacing:.14em;font-weight:400}
.zap-apply .aw-btn.aw-btn-ghost{margin-top:0;white-space:nowrap;padding:11px 18px;font-size:14px;background:transparent;color:var(--dark-blue-deep)}
.zap-apply .aw-btn.aw-btn-ghost:hover{background:var(--dark-blue-deep);border-color:var(--dark-blue-deep);color:#fff}
.zap-apply .aw-pin-reveal{display:block;width:100%;text-align:left;margin-top:18px;padding:16px 0 0;border:0;border-top:1px solid var(--gray);background:none;cursor:pointer;font-family:var(--font-body);font-size:14px;font-weight:600;color:var(--blue);text-decoration:underline}
.zap-apply .aw-pin-reveal[hidden]{display:none}
.zap-apply .aw-pin-reveal:hover{color:var(--dark-blue-deep)}
.zap-apply .aw-pin-reveal + .aw-pin{margin-top:18px}
.zap-apply .aw-pin-found{background:#e6f9ef;border-left:3px solid var(--green);border-radius:0 8px 8px 0;padding:11px 14px;margin:0 0 20px;font-size:14px;color:var(--black)}
/* Single-column modal (match the zap model): the step label stacks ABOVE its fields
   instead of sitting in a left column, and the property-info panel stacks below the form. */
.zap-apply .aw-steps > .row{flex-direction:column;flex-wrap:nowrap}
.zap-apply .aw-steps > .row > .col-auto,
.zap-apply .aw-steps > .row > .col{flex:0 0 auto;width:100%;max-width:100%}
.zap-apply .row.flex-nowrap{flex-direction:column;flex-wrap:nowrap}
.zap-apply .row.flex-nowrap > .aw-form,
.zap-apply .row.flex-nowrap > .aw-info{flex:0 0 auto;width:100%;max-width:100%}

/* Two-column layout: map/photo panel BESIDE the form (when and if it is shown).
   Once a property is selected the map + county photo (.aw-info) gains real content;
   the apply-modal script then flags the shell with `has-property` (only while a
   property is set and we're not in pre-submit mode). We widen the shell and move
   .aw-info into a padded, sticky right-hand sidebar instead of stacking it below
   the form. Narrow screens fall back to the single stacked column, with the panel
   dropping to the BOTTOM (see the media query below). */
.modal-overlay .zap-apply-shell.has-property{max-width:960px}
.zap-apply-shell.has-property .row.flex-nowrap{flex-direction:row;flex-wrap:nowrap;align-items:flex-start;gap:22px;margin:0}
.zap-apply-shell.has-property .row.flex-nowrap > .aw-form{flex:1 1 auto;width:auto;max-width:none;min-width:0}
.zap-apply-shell.has-property .row.flex-nowrap > .aw-info{
  flex:0 0 280px;width:280px;max-width:280px;margin-top:0;
  align-self:flex-start;position:sticky;top:0;
  padding:18px;background:var(--light-blue);border-radius:14px;
}
/* The sidebar is the tinted, padded card now, so its inner info blocks shouldn't
   repeat the fill/padding — keep their spacing but sit flush on the card. */
.zap-apply-shell.has-property .aw-info .your-infos,
.zap-apply-shell.has-property .aw-info .your-infos-wrapper{background:transparent;padding:0}

/* Mobile / narrow: stack in one column with the map panel at the BOTTOM, full
   width, and not sticky — fully fluid down to the smallest screens. */
@media(max-width:820px){
  .modal-overlay .zap-apply-shell.has-property{max-width:660px}
  .zap-apply-shell.has-property .row.flex-nowrap{flex-direction:column;gap:0}
  .zap-apply-shell.has-property .row.flex-nowrap > .aw-info{
    flex:0 0 auto;width:100%;max-width:100%;margin-top:18px;
    position:static;top:auto;
  }
}

/* ---- Property info panel ---- */
.zap-apply .aw-info{margin-top:18px}
.zap-apply .property-pannel{border:1px solid var(--gray);border-radius:12px;overflow:hidden;margin-bottom:12px}
.zap-apply .property-pannel iframe{display:block;width:100%}
.zap-apply .property-image img{width:100%;display:block}
.zap-apply .county-records{display:block;font-size:11px;color:var(--blue);padding:6px 10px}
.zap-apply .your-infos,.zap-apply .your-infos-wrapper{background:var(--light-blue);border-radius:12px;padding:16px 18px;margin-bottom:12px}
.zap-apply .your-infos h4{font-family:var(--font-body);font-size:12px;color:var(--blue);margin-bottom:2px}
.zap-apply .property-address-wrapper p{margin:0}

/* ---- Alerts ---- */
.zap-apply .alert{position:relative;padding:14px 40px 14px 16px;border-radius:10px;margin-bottom:14px;font-size:14px}
.zap-apply .alert-danger{background:#fdecec;color:#a12622;border:1px solid #f5c2c0}
.zap-apply .test-mode-banner{background:#c62828;color:#fff;border:1px solid #8e1c1c;font-weight:700;text-align:center;text-transform:uppercase;letter-spacing:.04em}
.zap-apply .test-mode-banner strong{color:#fff;font-weight:700}
.zap-apply .alert .close{position:absolute;top:8px;right:10px;background:none;border:none;font-size:20px;line-height:1;cursor:pointer;color:inherit;opacity:.6}
.zap-apply .alert .close:hover{opacity:1}

/* ---- Signature ---- */
.zap-apply .form-signatue{margin:16px 0}
.zap-apply .signature-wrapper{border:1.5px solid var(--gray);border-radius:12px;padding:12px;background:#fafafa}
.zap-apply .signature-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:10px}
.zap-apply .refresh-status{font-size:12px;color:var(--blue)}
.zap-apply .signature-refresh{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:12px;color:var(--dark-blue-deep)}
.zap-apply .signature-refresh img{width:22px;height:22px}
.zap-apply .signature-refresh .alt{display:none}
.zap-apply .signature-container{background:#eee;border:1px solid var(--gray);border-radius:8px;overflow:hidden}
.zap-apply .signature-container canvas{display:block;max-width:100%}
.zap-apply .form-initials input{max-width:200px}

/* ---- Misc form bits ---- */
.zap-apply .find-form{padding:6px 0}
.zap-apply .find-form p{font-size:13px;color:var(--blue)}
.zap-apply .you-entered{margin-bottom:10px}
.zap-apply .address-manually{margin-top:10px}
.zap-apply .client-color{color:var(--green);font-weight:700}
.zap-apply .submit-confirmation label{font-weight:600;color:var(--dark-blue-deep)}
.zap-apply .sub-selections .form-group{margin-bottom:12px}
.zap-apply .textarea{display:block;width:100%;min-height:60px;line-height:20px;border:1.5px solid var(--gray);border-radius:8px;padding:8px 10px}
.zap-apply .textarea[contenteditable]:empty::before{content:"Comments";color:#999}

/* =====================================================================
   Nested knockstrap / Bootstrap modals (Terms, Confirm, Submitting, etc.)
   Rendered in-place inside .zap-apply and shown via $.fn.modal(). Reproduce
   the minimum Bootstrap-4 modal structure, scoped, in the new design.
   ===================================================================== */
/* The nested modal is a full-viewport, self-dimming, flex-CENTERED overlay.
   It dims the apply form itself (background below) so it does not depend on
   Bootstrap's body-level .modal-backdrop, which is neutralized further down. */
.zap-apply .modal{position:fixed;inset:0;z-index:3000;display:none;
  /* reset the redesign's generic .modal box props (width/max-width/etc.) which would
     otherwise pin this full-viewport overlay to a 520px column on the left */
  width:auto;max-width:none;min-width:0;max-height:none;margin:0;border-radius:0;box-shadow:none;
  background:rgba(17,50,84,.6);padding:20px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.zap-apply .modal.fade{opacity:0;transition:opacity .2s ease}
.zap-apply .modal.show,.zap-apply .modal.in{opacity:1}
/* Bootstrap shows the modal via inline display:block; flex-center the dialog when shown.
   !important is required to override that inline style. */
.zap-apply .modal.show,.zap-apply .modal[style*="display: block"]{display:flex !important;align-items:center;justify-content:center}
.zap-apply .modal-dialog{position:relative;width:100%;max-width:520px;margin:auto;pointer-events:none}
.zap-apply .modal-dialog.modal-lg{max-width:820px}
.zap-apply .modal-content{position:relative;width:100%;max-height:88vh;display:flex;flex-direction:column;background:var(--white);border-radius:14px;box-shadow:0 24px 64px rgba(0,0,0,.32);pointer-events:auto;overflow:hidden}
.zap-apply .modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:18px 22px;border-bottom:1px solid var(--gray);flex:0 0 auto}
.zap-apply .modal-header h3,.zap-apply .modal-header h4{margin:0;font-size:18px}
.zap-apply .modal-body{padding:20px 22px;overflow-y:auto}
.zap-apply .modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 22px;border-top:1px solid var(--gray);flex:0 0 auto}
.zap-apply .modal .close{background:none;border:none;font-size:24px;line-height:1;cursor:pointer;color:var(--blue);opacity:.7}
.zap-apply .modal .close:hover{opacity:1}
.zap-apply .modal ol{padding-left:20px}

/* Neutralize Bootstrap's body-level backdrop: it stacks ABOVE the redesign
   .modal-overlay (which is its own stacking context) and would hide the nested
   modal. The nested .modal self-dims (background above), so no backdrop is needed. */
.modal-backdrop{display:none !important}
body.modal-open{overflow:hidden}

/* =====================================================================
   jQuery UI autocomplete menu — the property-address suggestion list.
   The widget appends this <ul> to <body> (OUTSIDE .zap-apply), so these
   rules are GLOBAL. All .ui-* classes are jQuery-UI-specific, so this does
   not touch the redesign page. It MUST out-stack the modal overlay (z 2000-3000).
   Also: no jQuery UI stylesheet is loaded, so we style the menu on-brand here
   and hide the widget's screen-reader live region (else its text shows visibly).
   ===================================================================== */
.ui-autocomplete.ui-menu{
  position:absolute;z-index:4000;list-style:none;margin:6px 0 0;padding:6px;
  background:var(--white,#fff);border:1px solid var(--gray,#D9D9D9);border-radius:10px;
  box-shadow:0 14px 36px rgba(17,50,84,.18);max-height:280px;overflow-y:auto;
  font-family:var(--font-body,'Poppins',system-ui,sans-serif);font-size:14px;max-width:560px;
}
.ui-autocomplete .ui-menu-item{list-style:none}
.ui-autocomplete .ui-menu-item > div,
.ui-autocomplete .ui-menu-item-wrapper{
  display:block;padding:9px 12px;border-radius:8px;cursor:pointer;color:var(--dark-blue-deep,#113254);
}
.ui-autocomplete .ui-menu-item > div:hover,
.ui-autocomplete .ui-menu-item-wrapper:hover,
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
.ui-autocomplete .ui-state-active{background:var(--light-blue,#e9f1f6);outline:none}
.ui-autocomplete p{margin:0;line-height:1.4}
.ui-autocomplete p span{color:var(--green,#00bf63);font-weight:600}
.ui-autocomplete-loading2{margin:0;color:var(--blue,#2d516d);font-style:italic}
.ui-autocomplete-searchterm{color:var(--dark-blue-deep,#113254)}
/* jQuery UI datepicker — the "Approx purchase date" picker in the post-submit
   "Just before you go" survey. No jQuery UI stylesheet is loaded, so we supply BOTH
   the structural layout AND the on-brand skin here. The widget is appended to <body>
   (outside .zap-apply); every .ui-datepicker* class is jQuery-UI-specific, so these
   global rules never reach the redesign page. z-index must clear the modal (z 2000-3000). */
.ui-datepicker{
  display:none;width:17.5em;padding:10px;z-index:4000 !important;box-sizing:border-box;
  background:var(--white,#fff);border:1px solid var(--gray,#D9D9D9);border-radius:12px;
  box-shadow:0 14px 36px rgba(17,50,84,.18);
  font-family:var(--font-body,'Poppins',system-ui,sans-serif);font-size:13px;color:var(--dark-blue-deep,#113254);
}
.ui-datepicker *{box-sizing:border-box}
.ui-datepicker-header{position:relative;min-height:30px;padding:2px 0 8px;text-align:center}
.ui-datepicker-title{margin:0 32px;line-height:28px;font-weight:600}
.ui-datepicker-title select{
  font-family:inherit;font-size:13px;color:var(--dark-blue-deep,#113254);background:var(--white,#fff);
  border:1.5px solid var(--gray,#D9D9D9);border-radius:8px;padding:4px 6px;margin:0 2px;
}
.ui-datepicker-title select:focus{border-color:var(--dark-blue-deep,#113254);outline:none}
.ui-datepicker-prev,.ui-datepicker-next{
  position:absolute;top:0;width:28px;height:28px;cursor:pointer;border-radius:8px;overflow:hidden;text-indent:-9999px;
}
.ui-datepicker-prev{left:0}
.ui-datepicker-next{right:0}
.ui-datepicker-prev span,.ui-datepicker-next span{display:none}
.ui-datepicker-prev::after,.ui-datepicker-next::after{
  content:"";position:absolute;top:9px;width:8px;height:8px;text-indent:0;
  border-right:2px solid var(--blue,#2d516d);border-bottom:2px solid var(--blue,#2d516d);
}
.ui-datepicker-prev::after{left:11px;transform:rotate(135deg)}   /* ‹ points left */
.ui-datepicker-next::after{left:8px;transform:rotate(-45deg)}    /* › points right */
.ui-datepicker-prev:hover,.ui-datepicker-next:hover{background:var(--light-blue,#e9f1f6)}
.ui-datepicker .ui-state-disabled{opacity:.4}
.ui-datepicker-prev.ui-state-disabled,.ui-datepicker-next.ui-state-disabled{cursor:default}
.ui-datepicker-prev.ui-state-disabled:hover,.ui-datepicker-next.ui-state-disabled:hover{background:none}
.ui-datepicker-calendar{width:100%;border-collapse:collapse;margin:0}
.ui-datepicker-calendar th{padding:6px 0;font-size:11px;font-weight:600;color:var(--blue,#2d516d);text-align:center}
.ui-datepicker-calendar td{padding:1px;text-align:center}
.ui-datepicker-calendar td a,.ui-datepicker-calendar td span{
  display:block;padding:6px 0;border-radius:8px;text-decoration:none;font-size:13px;color:var(--dark-blue-deep,#113254);
}
.ui-datepicker-calendar td a:hover{background:var(--light-blue,#e9f1f6)}
.ui-datepicker-calendar td a.ui-state-active{background:var(--green,#00bf63);color:#fff}
.ui-datepicker-calendar td.ui-datepicker-today a{box-shadow:inset 0 0 0 1.5px var(--green,#00bf63)}
.ui-datepicker-calendar td.ui-datepicker-today a.ui-state-active{box-shadow:none}
.ui-datepicker-calendar td.ui-state-disabled span,
.ui-datepicker-calendar td.ui-datepicker-other-month span{color:var(--gray,#D9D9D9);cursor:default}
/* hide jQuery UI's visually-hidden live region (unstyled without the jQuery UI CSS) */
.ui-helper-hidden-accessible{position:absolute !important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}
