/* =============================================
   Order Report Redesign — clientorderreport.cfm
   Scoped to .order-report-page wrapper
   Matches Figma: teal text headings, 3-col grid,
   clean inputs, section dividers
   ============================================= */

/* ---------- Google Font (if not already loaded) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;600;700&display=swap');

/* ---------- Automated income verification ---------- */
.automated-income-verification-page,
.automated-income-verification-page * {
    font-family: 'Noto Sans', sans-serif !important;
}

.automated-income-verification-page .mri-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
}

/* ---------- Page-level heading (title h2 outside .order-report-page) ---------- */
#maincontent > h2 {
    font-size: 20px !important;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
}

/* ---------- Page Wrapper ---------- */
.order-report-page {
    font-family: 'Noto Sans', sans-serif;
    background-color: #FFFFFF;
    padding: 24px 32px 32px !important;
    border: none !important;
    border-radius: 0 !important;
    max-width: none !important;
    min-height: auto;
}

/* ---------- Hide legacy centered H1 and H4 ---------- */
.order-report-page > h1.center,
.order-report-page > h4 {
    display: none;
}

/* ---------- Apply Now state-specific notices ---------- */
.applynow-state-notice-page {
    max-width: 960px !important;
    margin: 0 auto;
    text-align: left;
}

.applynow-state-notice-page h2,
.applynow-state-notice-page h4 {
    display: block;
    color: #044D66;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px;
    text-align: left;
}

.applynow-state-notice-page .state-notice-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

/* ---------- Section Headings (teal text, no background) ---------- */
.order-report-page .task_container {
    width: 100%;
    margin: 0;
    clear: both;
}
.order-report-page .task_container h2 {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    color: #044D66;
    font-family: 'Noto Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 8px 0 4px 0;
    margin: 6px 0 2px 0;
    text-align: left;
    text-shadow: none;
}

/* ---------- Section Spacing ---------- */

.order-report-page br.responsivebreak {
    display: none;
}

.order-report-page p {
    color: #162029;
}
.order-report-page .order.center p {
    text-align: left !important;
}

.order-report-page .order.center {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ---------- 3-Column Grid Override ---------- */
/* Override span_1_of_5 → ~1/3 within the redesign context */
.order-report-page .col.span_1_of_5 {
    width: 32.26%;
}
/* span_1_of_3 → 1/3 (exact match to grid) */
.order-report-page .col.span_1_of_3 {
    width: 32.26%;
}
/* span_1_of_2 → 1/2 */
.order-report-page .col.span_1_of_2 {
    width: 49.2%;
}
/* Ensure float cols have proper spacing */
.order-report-page .col {
    margin: 0 0 1% 1%;
    display: block;
    float: left;
}
.order-report-page .col:first-child {
    margin-left: 0;
}
.order-report-page .group {
    zoom: 1;
    margin-bottom: 4px;
}
.order-report-page .group:after {
    content: "";
    display: table;
    clear: both;
}
/* Reduce gap caused by .rule class (forms.css sets margin: 1em 0) */
.order-report-page .section.rule {
    margin-top: 4px;
    margin-bottom: 4px;
}

/* ---------- Labels ---------- */
.order-report-page label,
.order-report-page legend {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #394754;
    margin: 10px 0 4px 0;
    display: block;
    cursor: text;
    line-height: 20px;
    text-align: left !important;
}
.order-report-page .rentmanager-property-details {
    color: #394754;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    line-height: 20px;
}
.order-report-page label #error,
.order-report-page label .errorspan, .error {
    color: #BA2121 !important;
    font-size: 13px;
    font-weight: 400;
}

/* Legacy bright red (the .red class and inline style="color:red") uses the design error color */
.red {
    color: #BA2121 !important;
}
[style*="color:red"],
[style*="color: red"] {
    color: #BA2121 !important;
}

/* Keep validation labels on their own line across ApplyNow forms, including pages without .order-report-page. */
form label.error:empty {
    display: none !important;
}
form label.error:not(:empty) {
    display: block !important;
    margin: 0 0 4px !important;
}

.order-report-page #uploaddocs,
.order-report-page #uploaddocsBank {
    cursor: pointer !important;
}

/* ---------- Inputs & Selects ---------- */
.order-report-page input[type="text"],
.order-report-page input[type="email"],
.order-report-page input[type="tel"],
.order-report-page input[type="number"],
.order-report-page input[type="search"],
.order-report-page input[type="password"],
.order-report-page textarea,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 9px;
    border: 1px solid #c6ced5;
    border-radius: 6px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #162029;
    background: #ffffff;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    height: 38px;
}
.order-report-page input:focus,
.order-report-page textarea:focus,
.order-report-page select:focus,
input:focus {
    border-color: #0d75b0;
    box-shadow: 0 0 0 3px rgba(13, 117, 176, 0.12);
    outline: none;
}
.order-report-page select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #c6ced5;
    border-radius: 6px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #162029;
    background: #ffffff;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-sizing: border-box;
    cursor: pointer;
    appearance: auto;
}

.order-report-page select.error, .order-report-page input.error {
    color: #162029 !important;
    background: #ffffff !important;
    border-color: #FF504B !important;
}
.order-report-page input.error:focus,
.order-report-page textarea.error:focus,
.order-report-page select.error:focus {
    border-color: #FF7572 !important;
    box-shadow: 0 0 0 3px rgba(255, 80, 75, 0.15) !important;
    outline: none;
}

form .custom-dropdown:has(+ select.error) .dropdown-selected,
form .custom-multidrop:has(+ select.error) .dropdown-tags {
    border-color: #FF504B !important;
}
form .custom-dropdown:has(+ select.error):focus-within .dropdown-selected,
form .custom-multidrop:has(+ select.error):focus-within .dropdown-tags {
    border-color: #FF7572 !important;
    box-shadow: 0 0 0 3px rgba(255, 80, 75, 0.15) !important;
}

/* ---------- Disabled / read-only text inputs (pre-filled fields the applicant cannot change) ---------- */
.order-report-page input.disabled,
.order-report-page input[disabled],
.order-report-page input:disabled,
.order-report-page textarea:disabled,
.order-report-page select:disabled {
    background-color: #F0F2F5 !important;
    color: #6B7885 !important;
    border-color: #dfe3e8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    -webkit-text-fill-color: #6B7885 !important;
    opacity: 1;
}

/* CustomDropdown.js hides the native select, so the disabled look has to go on its widget */
.order-report-page .custom-dropdown.cd-disabled {
    pointer-events: none;
}
.order-report-page .custom-dropdown.cd-disabled .dropdown-selected {
    background-color: #F0F2F5 !important;
    color: #6B7885 !important;
    border-color: #dfe3e8 !important;
    cursor: not-allowed !important;
}
.order-report-page input.disabled:focus,
.order-report-page input[disabled]:focus,
.order-report-page input:disabled:focus,
.order-report-page textarea:disabled:focus,
.order-report-page select:disabled:focus {
    border-color: #dfe3e8 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ---------- Placeholder color ---------- */
.order-report-page input::placeholder,
.order-report-page textarea::placeholder {
    color: #a0aab4;
    font-weight: 400;
}

/* ---------- Section Divider ---------- */
.order-report-divider {
    border: none;
    border-top: 1px solid #dfe3e8;
    margin: 20px 0 12px 0;
}

/* ---------- Required Field Legend ---------- */
.order-report-page .section > label:first-child,
.order-report-page .section > label:nth-child(2) {
    font-weight: 400;
    font-size: 13px;
    color: #607184;
}

/* ---------- Error Messages ---------- */
.order-report-page .errormessages10,
.order-report-page .Errormessagesbold10 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 13px;
}

/* ---------- Hyperlinks ---------- */
.order-report-page a,
.order-report-page a:visited {
    color: #10689D;
    text-decoration: none;
}

.order-report-page a:hover,
.order-report-page a:focus,
.order-report-page a:active {
    color: #10689D;
    text-decoration: none;
}

/* No underlines on links anywhere in the ApplyNow flow (beats inline
   text-decoration and page-level overrides). <u>-wrapped links too. */
a,
a:link,
a:visited,
a:hover,
a:focus,
a:active {
    text-decoration: none !important;
}
u:has(a) {
    text-decoration: none !important;
}

/* ---------- caution box ---------- */
.order-report-page p.errormessages10 {
    background: #FFE9C3;
    border: 1px solid #ffe082;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 8px;
}

/* ---------- Special Instructions section ---------- */
.order-report-page textarea[name="SpecialInstructions"] {
    min-height: 60px;
    resize: vertical;
}

/* ---------- Submit Buttons (mri-button style) ---------- */
.order-report-page input[type="submit"],
.order-report-page .Button4,
input[type="submit"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Sans', sans-serif;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.25rem;
    padding: 4px 16px;
    border-width: 1px;
    border-style: solid;
    border-radius: 9999px;
    cursor: pointer;
    white-space: nowrap;
    width: auto;
    -webkit-user-select: none;
    user-select: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    transition: background-color .25s 0s cubic-bezier(0,1,1,1),
                color .25s 0s cubic-bezier(0,1,1,1),
                border .25s 0s cubic-bezier(0,1,1,1);
    /* default (secondary) style */
    background-color: #ffffff;
    color: #162029;
    border-color: #607184;
}
.order-report-page input[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: rgba(16, 104, 157, 0.1);
    color: #162029;
    border-color: #607184;
}
.order-report-page input[type="submit"]:active,
input[type="submit"]:active {
    background-color: rgba(16, 104, 157, 0.2);
    color: #162029;
    border-color: #607184;
}
.order-report-page input[type="submit"]:focus,
input[type="submit"]:focus {
    box-shadow: 0 0 0 2px #3a9dd2;
    outline: none;
}
/* Primary button: Continue — matched by visible label so every button
   labelled "Continue" is primary (alternative actions keep their own label). */
.order-report-page input[type="submit"][name="Continue"],
.order-report-page input[type="submit"][value="Continue" i],
.order-report-page input[type="button"][value="Continue" i],
input[type="submit"][name="Continue"],
input[type="submit"][value="Continue" i],
input[type="button"][value="Continue" i] {
    background-color: #10689d;
    color: #fff;
    border-color: transparent;
}
.order-report-page input[type="submit"][name="Continue"]:hover,
.order-report-page input[type="submit"][value="Continue" i]:hover,
.order-report-page input[type="button"][value="Continue" i]:hover,
input[type="submit"][name="Continue"]:hover,
input[type="submit"][value="Continue" i]:hover,
input[type="button"][value="Continue" i]:hover {
    background-color: #0d537e;
    color: #fff;
    border-color: transparent;
}
.order-report-page input[type="submit"][name="Continue"]:active,
.order-report-page input[type="submit"][value="Continue" i]:active,
.order-report-page input[type="button"][value="Continue" i]:active,
input[type="submit"][name="Continue"]:active,
input[type="submit"][value="Continue" i]:active,
input[type="button"][value="Continue" i]:active {
    background-color: #08344f;
    color: #fff;
    border-color: transparent;
}
.order-report-page input[type="submit"][name="Continue"]:focus,
.order-report-page input[type="submit"][value="Continue" i]:focus,
.order-report-page input[type="button"][value="Continue" i]:focus,
input[type="submit"][name="Continue"]:focus,
input[type="submit"][value="Continue" i]:focus,
input[type="button"][value="Continue" i]:focus {
    box-shadow: 0 0 0 2px #3a9dd2;
}

/* ---------- mri-button class — secondary (default) ---------- */
.order-report-page .mri-button,
.mri-button {
    font-family: 'Noto Sans', sans-serif !important;
    padding: 4px 16px !important;
    border: 1px solid #8CA0AC !important;
    background-color: rgba(255, 255, 255, 0) !important;
    color: #162029 !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    width: max-content !important;
    max-width: 100% !important;
    transition: background-color 0.25s 0s cubic-bezier(0, 1, 1, 1), color 0.25s 0s cubic-bezier(0, 1, 1, 1), border 0.25s 0s cubic-bezier(0, 1, 1, 1);
    text-shadow: none !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}
.order-report-page .mri-button:hover,
.mri-button:hover {
    background-color: rgba(58, 157, 210, 0.1) !important;
    border-color: #909FAE !important;
    color: #162029 !important;
}
.order-report-page .mri-button:active,
.mri-button:active {
    background-color: rgba(58, 157, 210, 0.2) !important;
    border-color: #909FAE !important;
    color: #162029 !important;
}
.order-report-page .mri-button:focus,
.mri-button:focus {
    outline: none;
    box-shadow: 0 0 2px 0 #10689D !important;
}

/* ---------- mri-button--primary ---------- */
.order-report-page .mri-button--primary,
.mri-button--primary {
    background: #0D75B0 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
.order-report-page .mri-button--primary:hover,
.mri-button--primary:hover {
    background: #0582C3 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
.order-report-page .mri-button--primary:active,
.mri-button--primary:active {
    background: #10689D !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
.order-report-page .mri-button--primary:focus,
.mri-button--primary:focus {
    box-shadow: 0 0 2px 0 #10689D !important;
}

/* ---------- mri-button--default ---------- */
.order-report-page .mri-button--default,
.mri-button--default {
    background: #ffffff !important;
    color: #162029 !important;
    border-color: #909FAE !important;
}

/* ---------- Checkbox/radio ---------- */
.order-report-page input[type="checkbox"],
.order-report-page input[type="radio"],
input[type="radio"],
input[type="checkbox"] {
    width: auto;
    padding: 0;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    vertical-align: middle;
    accent-color: #162029;
}
.order-report-page input[type="radio"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    accent-color: #162029;
}
.order-report-page input[type="radio"] + label,
.order-report-page input[type="checkbox"] + label,
input[type="radio"] + label {
    display: inline;
    margin: 0 16px 0 0;
    font-size: 14px;
    font-weight: normal;
    text-align: left !important;
}

/* ---------- Custom radio button ---------- */
.order-report-page input[type="radio"].mri-radio-button,
.order-report-page input[type="radio"].mri-radio-button--small {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    margin: 0;
    padding: 0;
    border: 1px solid #8b9094 !important;
    border-radius: 100% !important;
    background: #ffffff !important;
    color: #162029;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
}
.order-report-page input[type="radio"].mri-radio-button::after,
.order-report-page input[type="radio"].mri-radio-button--small::after {
    width: 0.75em;
    height: 0.75em;
    border-radius: 100%;
    background: currentColor;
    content: '';
    opacity: 0;
}
.order-report-page input[type="radio"].mri-radio-button:checked,
.order-report-page input[type="radio"].mri-radio-button--small:checked {
    border-color: #8b9094 !important;
}
.order-report-page input[type="radio"].mri-radio-button:checked::after,
.order-report-page input[type="radio"].mri-radio-button--small:checked::after {
    opacity: 1;
}
.order-report-page input[type="radio"].mri-radio-button:focus,
.order-report-page input[type="radio"].mri-radio-button:focus-visible,
.order-report-page input[type="radio"].mri-radio-button--small:focus,
.order-report-page input[type="radio"].mri-radio-button--small:focus-visible {
    border-color: #8ca0ac !important;
    box-shadow: 0 0 0 2px #3a9dd2 !important;
    outline: none !important;
}

/* ---------- Custom checkbox (.mri-checkbox class) ---------- */
input.mri-checkbox,
.order-report-page input.mri-checkbox {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 24px !important;
    height: 24px !important;
    border: 1px solid #909FAE !important;
    border-radius: 4px;
    background-color: #FFFFFF !important;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
    margin-right: 8px !important;
    padding: 0 !important;
}
input.mri-checkbox:checked,
.order-report-page input.mri-checkbox:checked {
    background-color: #FFFFFF !important;
    border-color: #909FAE !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="14" height="14"><path fill="none" stroke="%23162029" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M2 8l4 4 8-8"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px 14px !important;
}
input.mri-checkbox:disabled,
.order-report-page input.mri-checkbox:disabled {
    background-color: #DFE7E8 !important;
    border-color: #909FAE !important;
    cursor: default !important;
    opacity: 0.5;
}
input.mri-checkbox:checked:disabled,
.order-report-page input.mri-checkbox:checked:disabled {
    background-color: #DFE7E8 !important;
    border-color: #909FAE !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="14" height="14"><path fill="none" stroke="%23162029" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M2 8l4 4 8-8"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px 14px !important;
    opacity: 0.5;
}
input.mri-checkbox:not(:disabled):hover,
.order-report-page input.mri-checkbox:not(:disabled):hover {
    border-color: #607184 !important;
}
input.mri-checkbox:focus,
.order-report-page input.mri-checkbox:focus {
    border-color: #909FAE !important;
    box-shadow: 0 0 0 2px #3A9DD2 !important;
    outline: none !important;
}
input.mri-checkbox:focus:not(:focus-visible),
.order-report-page input.mri-checkbox:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none !important;
}
/* Suppress mri-ui.css ::before blue checkmark on input elements */
input.mri-checkbox::before,
input.mri-checkbox::after,
.order-report-page input.mri-checkbox::before,
.order-report-page input.mri-checkbox::after {
    display: none !important;
    opacity: 0 !important;
    content: none !important;
}

/* ---------- Confirmation checkboxes inside ul.icheckbox lists ----------
   Welcome/agreement pages render native checkboxes without the .mri-checkbox
   class; style them to match so they look identical regardless of the class. */
ul.icheckbox input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 24px !important;
    height: 24px !important;
    border: 1px solid #909FAE !important;
    border-radius: 4px;
    background-color: #FFFFFF !important;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
    margin-right: 8px !important;
    padding: 0 !important;
}
ul.icheckbox input[type="checkbox"]:checked {
    background-color: #FFFFFF !important;
    border-color: #909FAE !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="14" height="14"><path fill="none" stroke="%23162029" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M2 8l4 4 8-8"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px 14px !important;
}
ul.icheckbox input[type="checkbox"]:disabled {
    background-color: #DFE7E8 !important;
    border-color: #909FAE !important;
    cursor: default !important;
    opacity: 0.5;
}
ul.icheckbox input[type="checkbox"]:not(:disabled):hover {
    border-color: #607184 !important;
}
ul.icheckbox input[type="checkbox"]:focus {
    border-color: #909FAE !important;
    box-shadow: 0 0 0 2px #3A9DD2 !important;
    outline: none !important;
}
ul.icheckbox input[type="checkbox"]:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none !important;
}
ul.icheckbox input[type="checkbox"]::before,
ul.icheckbox input[type="checkbox"]::after {
    display: none !important;
    opacity: 0 !important;
    content: none !important;
}

/* Show the required "*" on confirmation checkboxes that are required but have no asterisk span */
ul.icheckbox li label:has(> input[type="checkbox"]:required):not(:has([id="error"])):not(:has(.error))::after {
    content: "*";
    color: #BA2121;
    margin-left: 4px;
    display: inline !important;
    opacity: 1 !important;
}

/* ---------- DL question group: min-height matches a standard input row (38px)
   so DL# aligns with Date of Birth and DL State aligns with SSN OR ITIN ---------- */
.order-report-page #DLQuestionGroup {
    min-height: 38px;
}

/* ---------- DL row top offset ---------- */
.order-report-page #DLIDRow {
    margin-top: 4px;
}

/* ---------- Hidden inputs stay hidden ---------- */
.order-report-page input[type="hidden"] {
    display: none;
}

/* ---------- V3 Welcome ---------- */
.order-report-page #NormalErrors {
    color: #BA2121 !important;
}

/* ---------- Responsive: Tablet ---------- */
@media only screen and (max-width: 900px) {
    .order-report-page {
        padding: 16px 20px 24px !important;
    }
    .order-report-page .col.span_1_of_5,
    .order-report-page .col.span_4_of_12,
    .order-report-page .col.span_3_of_12,
    .order-report-page .col.span_1_of_12.suffix {
        width: 49.2%;
    }
}

/* ---------- Responsive: Mobile ---------- */
@media only screen and (max-width: 640px) {
    .order-report-page {
        padding: 12px 16px 20px !important;
    }
    /* Neutralize Bootstrap's .col gutter padding (loaded in the V3 flow) so
       stacked columns don't indent their content on mobile */
    .order-report-page .col {
        padding-left: 0;
        padding-right: 0;
    }
    .order-report-page .col.span_1_of_5,
    .order-report-page .col.span_4_of_12,
    .order-report-page .col.span_3_of_12,
    .order-report-page .col.span_1_of_12.suffix,
    .order-report-page .col.span_1_of_3,
    .order-report-page .col.span_6_of_12,
    .order-report-page .col.span_1_of_2 {
        width: 100%;
        margin-left: 0;
    }
    .order-report-page .task_container h2 {
        font-size: 19px;
    }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #162029 !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  transition: background-color 9999s ease-out 0s !important;
}

.order-report-page select.custom-dropdown-source,
select.custom-dropdown-source {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.order-report-page .custom-dropdown,
.custom-dropdown {
    width: max-content;
    min-width: 100%;
    position: relative;
    display: block;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    text-align: left;
}

.order-report-page .dropdown-selected,
.dropdown-selected {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 38px;
    padding: 9px 40px 9px 12px;
    border: 1px solid #c6ced5;
    cursor: pointer;
    background-color: #ffffff;
    border-radius: 6px;
    color: #162029;
    line-height: 1.25;
    box-sizing: border-box;
    overflow: hidden;
    gap: 8px;
    text-align: left;
}

.order-report-page .dropdown-selected > span:first-child,
.dropdown-selected > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.order-report-page .dropdown-list,
.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #c6ced5;
    display: none;
    position: absolute;
    width: max-content;
    min-width: 100%;
    background: #ffffff;
    border-radius: 6px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 9999;
    text-align: left;
}

.order-report-page .dropdown-list li,
.dropdown-list li {
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #162029;
    text-align: left;
}

.order-report-page .dropdown-list li:hover,
.order-report-page .dropdown-list li.focused,
.dropdown-list li:hover,
.dropdown-list li.focused {
    background-color: #3A9DD233;
    color: #394754;
}

.order-report-page .custom-dropdown.open .dropdown-list,
.custom-dropdown.open .dropdown-list {
    display: block;
}

.order-report-page .custom-dropdown.open .dropdown-selected,
.order-report-page .custom-dropdown.open .dropdown-selected:focus,
.custom-dropdown.open .dropdown-selected,
.custom-dropdown.open .dropdown-selected:focus {
    border-color: #10689d !important;
    box-shadow: 0 0 5px rgba(0,123,255,0.5) !important;
}

.order-report-page .dropdown-icon,
.dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    line-height: 0;
    display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
}

.order-report-page .dropdown-icon svg,
.dropdown-icon svg {
    display: block;
}

.order-report-page .custom-dropdown:focus .dropdown-selected,
.order-report-page .custom-dropdown:focus-within .dropdown-selected,
.custom-dropdown:focus .dropdown-selected,
.custom-dropdown:focus-within .dropdown-selected {
    border-color: #0d75b0 !important;
    box-shadow: 0 0 0 3px rgba(13, 117, 176, 0.12) !important;
    outline: none !important;
}

.order-report-page .custom-dropdown:focus,
.order-report-page .custom-dropdown:focus-visible,
.custom-dropdown:focus,
.custom-dropdown:focus-visible {
    border-color: #0d75b0 !important;
    box-shadow: 0 0 0 3px rgba(13, 117, 176, 0.12) !important;
    outline: none !important;
}

.order-report-page .custom-dropdown:focus .dropdown-selected,
.order-report-page .custom-dropdown:focus-visible .dropdown-selected,
.order-report-page .custom-dropdown:focus-within .dropdown-selected,
.custom-dropdown:focus .dropdown-selected,
.custom-dropdown:focus-visible .dropdown-selected,
.custom-dropdown:focus-within .dropdown-selected {
    border-color: #0d75b0 !important;
    box-shadow: 0 0 0 3px rgba(13, 117, 176, 0.12) !important;
    outline: none !important;
}

/* ---------- Mobile: keep custom dropdown + options inside the container ---------- */
@media only screen and (max-width: 640px) {
    .order-report-page .custom-dropdown,
    .custom-dropdown {
        width: 100%;
        max-width: 100%;
    }
    .order-report-page .dropdown-list,
    .dropdown-list {
        width: 100%;
        max-width: 100%;
    }
    .order-report-page .dropdown-list li,
    .dropdown-list li {
        white-space: normal;
        overflow-wrap: anywhere;
    }
    /* Give the submit button room from the fields above */
    .order-report-page .section.center {
        margin-top: 24px;
    }
}

/* ---------- Past Applications ---------- */
.past-apps-body {
    background-color: #f0f2f5;
}

.past-apps-body #maincontentcontainer {
    padding: 24px 16px 0;
}

.past-apps-body #maincontent {
    max-width: 1220px;
    min-height: 520px;
    padding: 36px 76px 48px;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(22, 32, 41, 0.05);
    color: #162029;
    font-family: 'Noto Sans', sans-serif;
}

/* Align footer with the (max-width) content card on the Past Apps page */
.past-apps-body #footercontainer {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}
.past-apps-body #footercontainer footer.applicant-footer .applicant-footer-row {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.past-apps-page {
    width: 100%;
    margin: 0;
    font-family: 'Noto Sans', sans-serif;
}

.past-apps-page .bootstrap-table {
    margin: 0 auto;
    max-width: 1068px;
}

.past-apps-page .fixed-table-container {
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.past-apps-page .fixed-table-body {
    overflow-x: auto;
}

.past-apps-page .table,
.past-apps-page .past-apps-table {
    margin-bottom: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    color: #162029;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
}

.past-apps-page .table thead th,
.past-apps-page .past-apps-table thead th {
    height: 40px;
    padding: 8px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #c6ced5 !important;
    background: #e2e6ea;
    color: #162029;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
	line-height: 18px;
	text-align: center;
    vertical-align: middle;
}

.past-apps-page .table thead th .th-inner {
	text-align: center;
}

.past-apps-page .table tbody td,
.past-apps-page .past-apps-table tbody td {
    padding: 8px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #dfe3e8 !important;
    color: #162029;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
	line-height: 18px;
	text-align: center;
    vertical-align: middle;
}

.past-apps-page .table tbody tr:nth-child(odd) td {
    background-color: #ffffff;
}

.past-apps-page .table tbody tr:nth-child(even) td {
    background-color: #f6f8fa;
}

.past-apps-page .table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.past-apps-page .app_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 4px;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
    color: #10689D !important;
    cursor: pointer;
    text-decoration: none;
}

.past-apps-page .app_btn:hover,
.past-apps-page .app_btn:focus {
    background: rgba(16, 104, 157, 0.1);
    color: #10689D !important;
    outline: none;
}

.past-apps-page .app_btn:focus {
    box-shadow: 0 0 1px 1px rgba(16, 104, 157, 0.75);
}

.past-apps-page .app_btn .mri-icon-button__icon {
    color: inherit;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.past-apps-page .past-apps-new-application,
.past-apps-page .past-apps-coapp-alert,
.past-apps-page .past-apps-empty {
    padding: 16px;
    text-align: center;
    color: #162029;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    line-height: 22px;
}

.past-apps-page .past-apps-coapp-alert,
.past-apps-page .past-apps-alert {
    border: 1px solid #ffcfcc;
    border-radius: 8px;
    background: #fff0ef;
    color: #9f201c !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    margin: 0 0 16px;
    padding: 12px 16px;
    text-align: center;
}

.past-apps-page #newApp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 18px;
    border: 1px solid transparent;
    border-radius: 9999px;
    background: #0d75b0;
    color: #ffffff;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
}

.past-apps-body #Logout_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 18px;
    border: 1px solid #8CA0AC;
    border-radius: 9999px;
    background: #ffffff;
    color: #162029;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
}

.past-apps-page #newApp {
    margin-top: 8px;
}

.past-apps-page #newApp:hover {
    background: #10689d;
}

.past-apps-body #Logout_btn:hover {
    background: rgba(58, 157, 210, 0.1);
    border-color: #909FAE;
    color: #162029;
}

.past-apps-body #Logout_btn {
    margin: 0 0 16px;
}

@media only screen and (max-width: 900px) {
    .past-apps-body #maincontent {
        padding: 28px 24px 36px;
    }
}

@media only screen and (max-width: 640px) {
    .past-apps-body #maincontentcontainer {
        padding: 12px 10px 0;
    }

    .past-apps-body #maincontent {
        min-height: auto;
        padding: 20px 14px 28px;
        border-radius: 10px;
    }

    .past-apps-page .bootstrap-table {
        max-width: none;
    }

    .past-apps-page .table tbody tr .card-view {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 4px 0;
		text-align: center;
    }

    .past-apps-page .table tbody tr .card-view .card-view-title {
        flex: 0 0 42%;
        color: #394754;
        font-weight: 700;
		text-align: center;
    }

    .past-apps-page .table tbody tr .card-view .card-view-value {
        flex: 1 1 auto;
        color: #162029;
		text-align: center;
    }

    /* Special full-width rows (new-application / co-app alert) have no field
       value, so hide the stray "Last Updated" card title bootstrap-table adds */
    .past-apps-page .table tbody tr .card-view:has(.past-apps-new-application) .card-view-title,
    .past-apps-page .table tbody tr .card-view:has(.past-apps-coapp-alert) .card-view-title {
        display: none;
    }
    .past-apps-page .table tbody tr .card-view:has(.past-apps-new-application) .card-view-value,
    .past-apps-page .table tbody tr .card-view:has(.past-apps-coapp-alert) .card-view-value {
        flex: 1 1 100%;
    }
}
#txtareaexpl {
							font-size: 0.7em;
							font-style: italic;
						}
						.order-report-page .section.group.order {
							width: auto;
							margin-left: -32px;
							margin-right: -32px;
							padding-left: calc(32px + 1.6%);
							padding-right: calc(32px + 1.6%);						background-color: transparent !important;
						border-radius: 0 !important;						}
						ul.inline-radio-row {
							display: flex !important;
							flex-wrap: nowrap;
							align-items: center;
							gap: 1.5rem;
							margin: 0;
							padding: 0;
						}
						ul.inline-radio-row li {
							display: inline-flex;
							list-style: none;
							margin: 0;
							padding: 0;
						}
						ul.inline-radio-row label.inline {
							display: inline-flex !important;
							align-items: center;
							gap: 0.35rem;
							margin: 0;
							white-space: nowrap;
						}
						@media only screen and (max-width: 900px) {
							.order-report-page .section.group.order {
								width: auto;
								margin-left: -20px;
								margin-right: -20px;
								padding-left: calc(20px + 1.6%);
								padding-right: calc(20px + 1.6%);
							}
						}
						@media only screen and (max-width: 640px) {
							.order-report-page .section.group.order {
								width: auto;
								margin-left: -16px;
								margin-right: -16px;
								padding-left: calc(16px + 1.6%);
								padding-right: calc(16px + 1.6%);
							}
						}

/* ---------- Date Picker Field (UIRefreshDatePicker.js) ---------- */
.order-report-page .date-picker-field {
    position: relative;
    display: flex;
    overflow: visible;
}
.order-report-page .date-picker-field input.ui-refresh-date-input {
    padding: 9px;
    background-image: url("../Images/calendar.svg");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
    box-sizing: border-box;
    cursor: pointer;
    color: #162029;
}

/* Floating datepicker container injected by JS */
.datepicker-container {
    display: flex !important;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 388px;
    height: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.datepicker-container.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.datepicker-container .sidebar {
    width: 100px;
    background: #eef1f4;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scroll-behavior: smooth;
    border-right: 1px solid #e0e0e0;
}
.datepicker-container .sidebar::-webkit-scrollbar {
    width: 0px;
}
.datepicker-container .sidebar-item {
    padding: 12px 10px;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    color: #162029;
    font-family: 'Noto Sans', sans-serif;
}
.datepicker-container .sidebar-item:hover {
    background: #e2e6ea;
    color: #333;
}
.datepicker-container .sidebar-item.active-year {
    font-weight: bold;
    color: #000;
    background: #e2e6ea;
    position: sticky;
    top: 0;
    bottom: 0;
}
.datepicker-container .sidebar-item.active-month {
    color: #0077B5;
    font-weight: 500;
}
.datepicker-container .main-calendar {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
}
.datepicker-container .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.datepicker-container .current-month-year {
    color: #0077B5;
    font-family: "Noto Sans";
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}
.datepicker-container .today-btn {
    color: #006AA2 !important;
    font-family: "Noto Sans";
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
}
.datepicker-container .grid-header,
.datepicker-container .grid-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}
.datepicker-container .grid-header {
    font-size: 12px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 10px;
}
.datepicker-container .grid-body {
    row-gap: 8px;
}
.datepicker-container .day-cell {
    font-size: 12px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
    color: #162029;
    user-select: none;
}
.datepicker-container .day-cell:hover:not(.empty) {
    background-color: rgba(58, 157, 210, 0.1);
}
.datepicker-container .day-cell.selected {
    background: rgba(0, 160, 215, 0.20);
    border-radius: 4px;
    border: 1px solid transparent;
    color: #13202A;
    font-family: "Noto Sans";
    font-size: 12px;
    font-weight: 400;
}
.datepicker-container .day-cell.empty {
    cursor: default;
}

/* ---------- Multiselect Dropdown (CustomDropdown.js) ---------- */
.order-report-page select.custom-multidrop-source {
    display: none !important;
}
.order-report-page .custom-multidrop {
    position: relative;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    width: 100%;
}
.order-report-page .custom-multidrop .dropdown-tags {
    font-size: 14px;
    border: 1px solid #8CA0AC !important;
    width: 97% !important;
    border-radius: 6px !important;
    padding: 9px !important;
    margin-bottom: 4px;
    max-height: 90px;
    overflow-y: auto;
    min-height: 38px;
    background: #ffffff;
    box-sizing: border-box;
}
.order-report-page .custom-multidrop .dropdown-tags .cd-tag {
    background-color: #3A9DD233;
    margin-left: 5px;
    border-radius: 4px;
    padding: 2px 6px;
    display: inline-block;
    font-size: 13px;
}
.order-report-page .custom-multidrop .dropdown-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%231f1f1f'%3E%3Cpath d='M480-360 280-560h400L480-360Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 24px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 97%;
}
.order-report-page .custom-multidrop.open .dropdown-list {
    display: block !important;
    position: relative;
    width: 97% !important;
}

/* ---------- Sub-headings inside .order-report-page (non-task_container h2) ---------- */
.order-report-page h2 {
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #044D66 !important;
    font-family: 'Noto Sans', sans-serif;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 0 4px 0;
    margin: 6px 0 2px 0;
    text-align: left;
    text-shadow: none;
}

/* ---------- "Note that all fields with an asterisk are required fields." ---------- */
.order-report-page .required-fields-note {
    color: #BA2121;
}

/* ---------- Fieldset reset (remove default border/background box) ---------- */
.order-report-page fieldset {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.order-report-page ul.iradio-site-selection {
    display: grid !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 4px 0 0 0 !important;
    align-items: center !important;
    min-height: 38px; /* keeps the row the same height as a text input */
}

/* ---------- Inline radio list ---------- */
.order-report-page ul.iradio,
.order-report-page ul.inline-radio-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 4px 0 0 0 !important;
    align-items: center !important;
    min-height: 38px; /* keeps the row the same height as a text input */
}
.order-report-page ul.iradio li,
.order-report-page ul.inline-radio-row li {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.order-report-page ul.iradio li label,
.order-report-page ul.inline-radio-row li label,
label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    font-size: 14px;
    color: #162029;
    cursor: pointer;
}

/* Keep NoEmail checkboxes aligned with the first line when their labels wrap. */
.order-report-page label.checkbox-first-line {
    margin: 8px 0 0 !important;
}
.order-report-page label.checkbox-first-line > input[type="checkbox"] {
    align-self: flex-start;
    margin-top: 1px;
}

/* Keep the required "*" inline at the end of a (possibly wrapping) question/field label,
   instead of the global label{display:inline-flex} floating it to the side. */
.order-report-page label:not(.inline) {
    display: block !important;
}
/* Leading "*" on first-line checkboxes aligns to the first line (not vertically centered) */
.order-report-page label.checkbox-first-line > .error {
    align-self: flex-start;
}

/* ---------- Inline checkbox list ---------- */
.order-report-page ul.icheckbox {
    display: flex !important;
    justify-content: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.order-report-page ul.icheckbox li {
    display: inline-flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.order-report-page ul.icheckbox li label {
    display: inline-flex !important;
    align-items: center !important;
    text-align: left !important;
    margin: 0 !important;
    color: #162029;
}

/* ---------- SSN Group ---------- */
.order-report-page .ssn-group {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.order-report-page .ssn-group input {
    width: 100%;
    flex: 1 1 0;
    min-width: 0;
}
.order-report-page .ssn-separator {
    color: #394754;
    font-weight: 600;
    line-height: 1;
}