/* =====================================================================
   Labor Finders - Employment Application
   lf-modern.css : shared, mobile-first theme for the public pages.

   Loaded LAST in Default.Master (after each page's own <head> content),
   so it overrides the legacy per-page <style> blocks, stylesNew.css and
   the sliced-image table layouts without changing any element IDs that
   the page scripts depend on.
   ===================================================================== */

:root {
    /* Labor Finders portal palette (navy) */
    --lf-primary: #23468C;
    --lf-primary-hover: #1B3770;
    --lf-navy-dark: #1A3266;
    --lf-header-from: #2D59A9;
    --lf-header-to: #1F3F7F;
    --lf-accent: #F5A623;          /* small orange accent used in icons */
    --lf-link: #23468C;
    --lf-ink: #1F2937;
    --lf-muted: #5F6670;
    --lf-border: #D9DDE3;
    --lf-bg: #F3F4F6;
    --lf-card: #FFFFFF;
    --lf-danger: #C62828;
    --lf-success: #2E7D32;
    --lf-radius: 14px;
    --lf-radius-sm: 8px;
    --lf-shadow: 0 10px 30px rgba(17, 24, 39, .10), 0 2px 6px rgba(17, 24, 39, .06);
    --lf-focus: 0 0 0 3px rgba(35, 70, 140, .25);
    --lf-font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------------------
   Page shell
   --------------------------------------------------------------------- */
html body,
html body#inner {
   /* background: var(--lf-bg) !important;
    background-image: linear-gradient(180deg, var(--lf-navy-dark) 0, var(--lf-navy-dark) 220px, var(--lf-bg) 220px) !important;
    background-repeat: no-repeat !important;*/
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    font-family: var(--lf-font) !important;
    font-size: 16px;
    color: var(--lf-ink);
    text-align: left !important;
    -webkit-text-size-adjust: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.92) 0%, rgba(30, 60, 114, 0.75) 45%, rgba(10, 20, 40, 0.55) 100%), url(https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80) center / cover no-repeat fixed;
}

html body::before {
    /* thin brand accent under the dark band */
    content: "";
    position: absolute;
    top: 216px; left: 0; right: 0;
    height: 4px;
    background: var(--lf-primary);
    z-index: 0;
}

html body #form1 { position: relative; z-index: 1; }

/* one type family everywhere (legacy CSS set Verdana/Arial/serif per element) */
html body #mainWrapper :where(h1, h2, h3, h4, h5, h6, p, label, legend, td, th, span, div, a, button, input, select, textarea),
html body .ui-dialog :where(h1, h2, h3, p, label, td, th, span, div, a, button, input, select) {
    font-family: var(--lf-font) !important;
}

html body #mainWrapper {
    width: 100%;
    max-width: 100% !important;
    padding: 32px 16px 48px !important;
    height: auto !important;
    min-height: 100vh;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box;
}

*, *::before, *::after { box-sizing: border-box; }

img { max-width: 100%; height: auto; }

a { color: var(--lf-ink); }

/* ---------------------------------------------------------------------
   Card
   --------------------------------------------------------------------- */
.lf-card {
    width: 100%;
    max-width: 460px;
    background: var(--lf-card);
    border-radius: var(--lf-radius);
    box-shadow: var(--lf-shadow);
    overflow: hidden;
    margin: 0 auto;
    text-align: left;
}
.lf-card--wide { max-width: 760px; }

.lf-card__brand {
    padding: 28px 28px 8px;
    text-align: center;
}
.lf-card__brand img,
.lf-card__brand .imglogo1 {
    max-width: 240px;
    width: 70%;
    height: auto;
    display: inline-block;
}

.lf-card__eyebrow {
    margin: 10px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lf-muted);
    text-align: center;
}

.lf-card__body { padding: 20px 28px 28px; }

.lf-card__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--lf-ink);
    text-align: center;
}
.lf-card__subtitle {
    font-size: 14px;
    color: var(--lf-muted);
    margin: 0 0 20px;
    text-align: center;
}

.lf-divider {
    border: 0;
    border-top: 1px solid var(--lf-border);
    margin: 20px 0;
    opacity: 1;
}

.lf-legal {
    margin-top: 20px;
    font-size: 12px;
    color: #8A9099;
    text-align: center;
}

/* ---------------------------------------------------------------------
   Form fields
   --------------------------------------------------------------------- */
.lf-field { margin-bottom: 16px; }

.lf-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--lf-ink);
}

.lf-input-wrap { position: relative; }
.lf-input-wrap > i {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: #9AA1AB;
    pointer-events: none;
}

html body input[type="text"],
html body input[type="password"],
html body input[type="email"],
html body input[type="tel"],
html body input[type="number"],
html body input[type="date"],
html body select,
html body textarea,
html body .form-control {
    font-family: var(--lf-font);
    font-size: 16px !important;              /* 16px stops iOS zoom-on-focus */
    color: var(--lf-ink) !important;
    background-color: #fff !important;
    border: 1px solid var(--lf-border) !important;
    border-radius: var(--lf-radius-sm) !important;
    min-height: 46px;
    padding: 10px 14px !important;
    max-width: 100% !important;
    outline: none !important;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}
html body textarea { min-height: 96px; }
html body select,
html body select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235F6670' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 14px 10px !important;
    padding-right: 36px !important;
    height: auto !important;
}
html body input:focus,
html body select:focus,
html body textarea:focus,
html body .form-control:focus {
    border-color: var(--lf-primary-hover) !important;
    box-shadow: var(--lf-focus) !important;
}
html body input[disabled],
html body select[disabled] { background-color: #F1F2F4 !important; color: #6B7280 !important; }

html body input::placeholder { color: #9AA1AB !important; opacity: 1 !important; }

html body .lf-input-wrap input { width: 100% !important; padding-left: 42px !important; }

/* inline hints such as "Example: jimmy.smith@gmail.com" */
html body .labelhint {
    display: block;
    margin: 4px 0 0 !important;
    font-size: 13px !important;
    color: var(--lf-muted) !important;
    min-height: 0;
    text-align: left !important;
}

/* checkboxes / radios keep native look but larger tap area */
html body input[type="checkbox"],
html body input[type="radio"] {
    width: 20px; height: 20px;
    min-height: 0;
    accent-color: var(--lf-navy-dark);
    vertical-align: middle;
    -webkit-appearance: auto; appearance: auto;
    padding: 0 !important;
}
html body .form-check { padding: 10px 12px 10px 40px; border: 1px solid var(--lf-border); border-radius: var(--lf-radius-sm); margin-bottom: 10px; }
html body .form-check-input { margin-top: 2px; margin-left: -28px !important; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.lf-btn,
html body .btn-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: var(--lf-radius-sm) !important;
    border: 1px solid transparent;
    font-family: var(--lf-font) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
    line-height: 1.2;
    text-decoration: none !important;
    text-transform: none;
    cursor: pointer;
    user-select: none;
    transition: background-color .15s, border-color .15s, color .15s, transform .05s;
    -webkit-tap-highlight-color: transparent;
}
.lf-btn:active { transform: translateY(1px); }
.lf-btn:focus-visible { outline: none; box-shadow: var(--lf-focus); }

.lf-btn--primary,
html body .btn-warning {
    background: var(--lf-primary) !important;
    border-color: var(--lf-primary) !important;
    color: #fff !important;
}
.lf-btn--primary:hover,
html body .btn-warning:hover { background: var(--lf-primary-hover) !important; border-color: var(--lf-primary-hover) !important; }

.lf-btn--dark { background: var(--lf-navy-dark); color: #fff !important; }
.lf-btn--dark:hover { background: #000; }

.lf-btn--outline {
    background: #fff;
    border-color: var(--lf-border);
    color: var(--lf-ink) !important;
}
.lf-btn--outline:hover { border-color: #AEB4BD; background: #FAFAFB; }

.lf-btn--block { display: flex; width: 100%; }
.lf-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px !important; }

.lf-btn-wrap { display: inline-block; text-decoration: none !important; }
.lf-btn-wrap:focus { outline: none; }

.lf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
}
.lf-actions--stack { flex-direction: column; align-items: stretch; }
.lf-actions--stack .lf-btn-wrap,
.lf-actions--stack .lf-btn { width: 100%; }
.lf-actions--split { justify-content: space-between; }

.lf-link {
    display: inline-block;
    color: var(--lf-ink) !important;
    font-size: 14px !important;
    font-weight: 600;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    cursor: pointer;
    background: none; border: 0; padding: 6px 0;
}
.lf-link:hover { color: #000 !important; }

.lf-error,
html body #errormsg, html body #errormsg2, html body #errormsg3,
html body .LoginError {
    color: var(--lf-danger) !important;
    font-size: 14px !important;
    text-align: center !important;
}
.lf-error:empty, html body #errormsg3:empty { display: none; }

/* Home page menu buttons */
.lf-menu { display: grid; gap: 12px; }
.lf-menu .lf-btn { justify-content: flex-start; padding-left: 18px; width: 100%; }
.lf-menu .lf-btn i { width: 22px; text-align: center; }

/* ---------------------------------------------------------------------
   Legacy markup: make the old fixed-width, image-sliced layouts fluid.
   (Pages that have not been rewritten still look and behave correctly.)
   --------------------------------------------------------------------- */

/* fixed pixel widths -> fluid */
html body #mainWrapper table[width],
html body #mainWrapper td[width],
html body #mainWrapper th[width] { max-width: 100% !important; }
html body #mainWrapper table[width="530"],
html body #mainWrapper table[width="750"] { width: 100% !important; }

/* drop the sliced background/footers that only drew the old grey box */
html body [style*="user_pswd_spacer"] { background-image: none !important; background: transparent !important; }
html body img[src*="footer.png"],
html body img[src*="create_footer.png"],
html body img[src*="FillinSpacer"],
html body img[src*="20px_spacer"],
html body img[src*="user_left_spacer_icon"],
html body img[src*="pswd_left_spacer_icon"],
html body img[src*="key3.png"] { display: none !important; }
html body #nowrap { display: none !important; }

/* section headers that used the black header image */
html body [style*="AccountAssitanceHeader"],
html body [style*="create_header"] {
    background: var(--lf-navy-dark) !important;
    background-image: none !important;
    border-bottom: 4px solid var(--lf-primary);
    border-radius: var(--lf-radius) var(--lf-radius) 0 0 !important;
    height: auto !important;
    min-height: 60px;
    padding: 14px 20px !important;
    display: flex !important;
    align-items: center;
}
html body [style*="AccountAssitanceHeader"] #logocompany,
html body [style*="create_header"] #logocompany { margin: 0 !important; height: 30px !important; width: auto !important; }

/* old "card" wrappers used by Forgot*, Reset, OTP, Create Account */
html body #OnBoardingCreateAccountWrap {
    width: 100% !important;
    max-width: 760px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: var(--lf-card);
    border-radius: var(--lf-radius);
    box-shadow: var(--lf-shadow);
    text-align: left;
}
html body #OnBoardingContainerLarge { border-radius: var(--lf-radius) !important; overflow: hidden; }
html body .renderBodyStyle {
    padding: 24px !important;
    border-radius: 0 0 var(--lf-radius) var(--lf-radius);
}
html body #OnBoardingCreateAccountWrap > div[style*="border:solid 1px"] { border-radius: var(--lf-radius-sm); }

html body fieldset { border: 0 !important; padding: 0 !important; margin: 0; min-width: 0; }
html body legend { font-size: 14px; font-weight: 700; }

/* Bootstrap grid inside legacy forms: tidy label/inputs */
html body .form-group.row { margin-left: 0; margin-right: 0; padding-left: 20px; padding-right: 20px; }
html body .col-form-label { font-weight: 600; font-size: 14px; padding-top: 12px !important; }

/* ---------------------------------------------------------------------
   jQuery UI dialogs (loading / error pop-ups)
   --------------------------------------------------------------------- */
html body .ui-dialog {
    max-width: calc(100vw - 24px) !important;
    border-radius: var(--lf-radius) !important;
    border: 0 !important;
    box-shadow: var(--lf-shadow) !important;
    padding: 0 !important;
    font-family: var(--lf-font) !important;
    overflow: hidden;
}
html body .ui-dialog .ui-dialog-titlebar {
    background: var(--lf-navy-dark) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    border-bottom: 3px solid var(--lf-primary) !important;
    padding: 12px 16px !important;
}
html body .ui-dialog .ui-dialog-content {
    padding: 24px !important;
    font-size: 16px !important;
    max-width: 100%;
}
html body .ui-dialog .ui-dialog-content [style*="padding: 52px"],
html body [id^="divError"] { padding: 8px !important; font-size: 18px !important; }
html body .ui-widget-overlay { background: rgba(17, 17, 17, .55) !important; opacity: 1 !important; }
/* the old .prof-top hack used a hard-coded negative margin; centre it instead */
html body .ui-dialog.prof-top {
    left: 50% !important;
    margin-left: 0 !important;
    transform: translateX(-50%);
}

/* ---------------------------------------------------------------------
   Cookie banner -> bottom sheet
   --------------------------------------------------------------------- */
html body .cookie-alert {
    top: auto !important;
    bottom: 0 !important;
    margin-left: 0 !important;
    border-radius: var(--lf-radius) var(--lf-radius) 0 0 !important;
    background: var(--lf-navy-dark) !important;
    padding: 16px 48px 16px 16px !important;
    font-size: 13px !important;
    line-height: 1.5;
    text-align: left;
}
html body .cookie-alert p { margin: 0; }
html body .cookie-alert .container { width: 100% !important; max-width: 960px; padding: 0 !important; }
html body .cookie-alert .close { top: 12px !important; right: 12px !important; width: 32px !important; height: 32px !important; line-height: 32px !important; font-size: 24px; text-align: center; }

/* Google translate banner should not push the layout */
html body .goog-te-banner-frame { display: none !important; }

/* ---------------------------------------------------------------------
   Phones
   --------------------------------------------------------------------- */
@media (max-width: 575.98px) {
    html body,
    html body#inner { 
        background-image: linear-gradient(180deg, var(--lf-navy-dark) 0, var(--lf-navy-dark) 160px, var(--lf-bg) 160px) !important; }
    html body::before { top: 156px; }
    html body #mainWrapper { padding: 16px 12px 96px !important; }

    .lf-card__brand { padding: 22px 20px 4px; }
    .lf-card__body { padding: 16px 20px 24px; }
    .lf-actions { justify-content: stretch; }
    .lf-actions .lf-btn-wrap,
    .lf-actions > .lf-btn { flex: 1 1 0; }
    .lf-actions .lf-btn-wrap .lf-btn { width: 100%; }

    /* legacy form tables (tagged .lf-stack by lf-modern.js) stack vertically */
    html body table.lf-stack,
    html body table.lf-stack > tbody,
    html body table.lf-stack > tbody > tr,
    html body table.lf-stack > tbody > tr > td,
    html body table.lf-stack > tbody > tr > th,
    html body table.lf-stack > tr,
    html body table.lf-stack > tr > td {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
    }
    html body table.lf-stack input:not([type="checkbox"]):not([type="radio"]),
    html body table.lf-stack select { width: 100% !important; }

    html body .form-group.row { padding-left: 4px !important; padding-right: 4px !important; }
    html body .renderBodyStyle { padding: 16px !important; }

    /* inline widths written on inputs (style="width:305px" etc.) */
    html body #mainWrapper input[style*="width"],
    html body #mainWrapper select[style*="width"] { width: 100% !important; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* keyboard focus when the wrapping <a> is the focus target */
.lf-btn-wrap:focus-visible .lf-btn { box-shadow: var(--lf-focus); }
/* hide the wrapper when page scripts hide the inner button (e.g. Back on kiosk-less login) */
.lf-btn-wrap:has(> .lf-btn[style*="visibility: hidden"]) { display: none !important; }

/* page scripts toggle these panels with style.display = "inline" - keep them block-level */
html body #div_login[style*="display: inline"],
html body #forgot[style*="display: inline"],
html body #divApplicantResponse[style*="display: block"] { display: block !important; }

/* legacy Login.aspx panels */
html body #divApplicantResponse {
    width: 100% !important;
    max-width: 680px;
    height: auto !important;
    margin: 0 auto;
    background: var(--lf-card);
    border-radius: var(--lf-radius);
    box-shadow: var(--lf-shadow);
    overflow: hidden;
    text-align: left !important;
}
html body #divApplicantResponse > fieldset > table { width: 100% !important; }
html body #divApplicantResponse td { background: transparent !important; padding: 6px 16px; }
html body #divApplicantResponse th[style*="AccountAssitanceHeader"] { display: table-cell !important; }
html body #showUserName, html body #showPassword { width: 100% !important; height: auto !important; }

/* jQuery UI default dialog skin from Default.css used a gradient image */
html body .ui-dialog { background: #fff !important; }
html body #buttonsdiv[style*="display: block"] { display: grid !important; }
.lf-check-inline { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; font-weight: 500; cursor: pointer; }

/* Create Account: SSN / name inputs had inline width:50%; let them fill on phones */
@media (max-width: 575.98px) {
    html body #OnBoardingCreateAccountWrap .form-control { width: 100% !important; }
    html body .CSSRecruiting { margin-right: 0 !important; width: 100% !important; }
    html body .form-group.row > [class*="col-sm-"] { padding-left: 0; padding-right: 0; }
}

/* Back / Next rows on the Forgot* and OTP pages */
html body .lf-actions-row {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 20px 0 0 !important;
    width: 100% !important;
}
html body .lf-actions-row > [class*="col-"] { flex: 0 0 auto; width: auto; max-width: none; padding: 0; }
html body .btn.btn-link:has(> .lf-btn) { padding: 0; border: 0; text-decoration: none; }

/* legacy header cells keep table layout on desktop */
html body td[style*="AccountAssitanceHeader"],
html body th[style*="AccountAssitanceHeader"] { display: table-cell !important; }
.lf-section-title { color: #fff; font-weight: 700; font-size: 18px; }

/* Reset Password page */
html body #divcontent { width: 100% !important; padding: 0 24px 24px; }
html body #OnBoardingContainerLarge > h3:has(> span:empty) { margin: 0; }
html body #OnBoardingContainerLarge > h3 > span:not(:empty) { display: block; padding: 12px 20px; font-size: 16px; }
@media (max-width: 575.98px) {
    html body #divcontent { padding: 0 16px 16px; }
    html body [id$="panel1"] { padding: 0 16px; }
    html body .form-group.row > .col-sm-12[style*="padding-right"] { padding-right: 0 !important; }
}
html body #tableNewAccount { height: auto !important; }
html body #tableNewAccount div { padding-left: 0; }
html body #tableNewAccount td { padding: 4px 0; }
html body #tableNewAccount hr { margin: 8px 0; }
html body #tableNewAccount br + br { display: none; }
html body #tableNewAccount #divcontent { padding: 0 24px 24px; }
html body #tableNewAccount table td { height: auto !important; }
@media (max-width: 575.98px) { html body #tableNewAccount #divcontent { padding: 0 16px 16px; } }

/* =====================================================================
   PORTAL DESIGN (navy header card on a darkened job-site photo)
   Matches the approved Default.aspx mock-up; applies to every page.
   ===================================================================== */

/* full-screen job-site photo background with navy overlay */
html body,
html body#inner {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.92) 0%, rgba(30, 60, 114, 0.75) 45%, rgba(10, 20, 40, 0.55) 100%),
                url(https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80) center / cover no-repeat fixed !important;
    background-color: #1E3C72 !important;   /* shown while the photo loads */
}
html body::before { display: none !important; }
@media (max-width: 575.98px) {
    html body,
    html body#inner { background-attachment: scroll !important; }
}

html body #mainWrapper { padding-top: 48px !important; }
@media (max-width: 575.98px) { html body #mainWrapper { padding-top: 20px !important; } }

/* shell = optional "Back to Home" pill + card */
.lf-shell { width: 100%; max-width: 380px; margin: 0 auto; }
.lf-shell .lf-card { max-width: none; }

.lf-back-pill {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0 0 14px;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    color: var(--lf-primary) !important;
    font-size: 12.5px !important; font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
}
.lf-back-pill:hover { background: #F3F6FB; }
.lf-back-pill:focus-visible { outline: none; box-shadow: var(--lf-focus); }
.lf-back-pill[style*="visibility: hidden"] { display: none !important; }

/* card */
html body .lf-card {
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(5, 15, 40, .45);
    background: #F8F9FB;
}
.lf-card__brand {
    background: linear-gradient(180deg, var(--lf-header-from), var(--lf-header-to)) !important;
    padding: 30px 24px 24px !important;
    text-align: center;
}
.lf-card__brand .imglogo1,
.lf-card__brand #imglogo1 { display: none !important; }   /* kept for page scripts */

.lf-logo-tile {
    width: 200px; height: auto;
    margin: 0 auto 18px;
    border-radius: 10px;
    background: #fff;
    display: flex; align-items: center; justify-content: center; gap: 4px;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
    color: var(--lf-primary);
    font-weight: 800; font-size: 17px; letter-spacing: .02em;
}
.lf-logo-tile i { color: var(--lf-accent); font-size: 18px; }

.lf-brand-name {
    margin: 0;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -.01em;
}
html body .lf-card__brand .lf-card__eyebrow {
    margin: 6px 0 0;
    color: rgba(255,255,255,.92) !important;
    font-size: 11.5px !important;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: none;
}

.lf-card__body { padding: 24px 24px 20px !important; background: #F8F9FB; }

.lf-card__footer {
    border-top: 1px solid #E5E8EE;
    padding: 18px 24px 20px;
    text-align: center;
    font-size: 11px !important;
    color: #6B7280;
    background: #F8F9FB;
}
.lf-card__footer a { color: var(--lf-link) !important; font-weight: 600; text-decoration: none !important; }

/* section label with rule:  SIGN IN ———————— */
.lf-section-label {
    display: flex; align-items: center; gap: 10px;
    margin: 4px 0 12px;
    font-size: 10.5px !important;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #4B5563;
}
.lf-section-label::after { content: ""; flex: 1; height: 1px; background: #DDE1E8; }
.lf-section + .lf-section { margin-top: 20px; }

/* fields */
html body .lf-card .lf-label { font-size: 11.5px !important; font-weight: 600; color: #374151; margin-bottom: 6px; letter-spacing: .01em; }
html body .lf-card input[type="text"],
html body .lf-card input[type="password"],
html body .lf-card input[type="email"] {
    min-height: 40px;
    border-radius: 6px !important;
    border-color: #D5DAE2 !important;
    font-size: 16px !important;
    padding: 8px 12px !important;
    background: #fff !important;
}
html body .lf-card .lf-input-wrap > i { display: none; }               /* picture has no leading icons */
html body .lf-card .lf-input-wrap input { padding-left: 12px !important; }
html body .lf-card .lf-input-wrap input[type="password"],
html body .lf-card .lf-input-wrap input.lf-has-toggle { padding-right: 44px !important; }
@media (min-width: 576px) {
    html body .lf-card input[type="text"],
    html body .lf-card input[type="password"] { font-size: 13px !important; }
}
.lf-field { margin-bottom: 14px; }

.lf-eye {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px;
    border: 0; background: transparent; border-radius: 6px;
    color: #6B7280; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.lf-eye:hover { color: var(--lf-primary); background: #EEF2F8; }
.lf-eye:focus-visible { outline: none; box-shadow: var(--lf-focus); }

.lf-remember {
    display: flex; align-items: center; gap: 8px;
    margin: 2px 0 14px;
    font-size: 11.5px !important; font-weight: 500; color: #374151;
    cursor: pointer;
}
html body .lf-remember input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--lf-primary); }

/* buttons: uppercase, navy */
.lf-btn,
html body .btn-warning {
    min-height: 44px;
    border-radius: 6px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.lf-btn--primary,
html body .btn-warning {
    background: linear-gradient(180deg, #2A4F98, #1F3F80) !important;
    border-color: #1F3F80 !important;
    box-shadow: 0 4px 10px rgba(31, 63, 128, .30);
}
.lf-btn--primary:hover,
html body .btn-warning:hover { background: var(--lf-primary-hover) !important; }
.lf-btn--outline {
    background: #fff;
    border: 1.5px solid var(--lf-primary);
    color: var(--lf-primary) !important;
}
.lf-btn--outline:hover { background: #F1F5FC; border-color: var(--lf-primary-hover); }
.lf-btn i { font-size: 14px; }
.lf-btn--primary i, .lf-btn--outline i.lf-ico-accent { color: var(--lf-accent); }

/* footer links row:  Forgot Password?            Get Help */
.lf-links-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 18px; padding-top: 14px;
    border-top: 1px solid #E5E8EE;
}
.lf-links-row a, .lf-links-row .lf-link {
    color: var(--lf-link) !important;
    font-size: 11.5px !important; font-weight: 600;
    text-decoration: none !important;
    cursor: pointer; padding: 6px 0;
}
.lf-links-row a:hover, .lf-links-row .lf-link:hover { text-decoration: underline !important; }

html body #errormsg3:not(:empty),
html body #errormsg:not(:empty),
html body #lfpError:not(:empty),
html body .lf-card .LoginError:not(:empty) {
    display: block;
    margin-top: 12px; padding: 10px 12px;
    background: #FDECEC; border: 1px solid #F5C2C2; border-radius: 6px;
    font-size: 13px !important;
}

/* legacy section headers & dialogs -> navy */
html body [style*="AccountAssitanceHeader"],
html body [style*="create_header"] {
    background: linear-gradient(180deg, var(--lf-header-from), var(--lf-header-to)) !important;
    border-bottom: 0 !important;
    border-radius: 10px 10px 0 0 !important;
}
html body #logocompany { background: #fff; border-radius: 6px; padding: 4px 8px; box-sizing: content-box; }
html body #logocompany:not([src]), html body #logocompany[src=""] { display: none; }
html body #OnBoardingCreateAccountWrap { border-radius: 10px; box-shadow: 0 20px 50px rgba(5, 15, 40, .45); background: #F8F9FB; }
html body #OnBoardingContainerLarge { border-radius: 10px !important; }
html body .renderBodyStyle, html body #OnBoardingContainerLarge > div { background-color: #F8F9FB !important; }
html body .ui-dialog .ui-dialog-titlebar { background: var(--lf-header-to) !important; border-bottom: 0 !important; }
html body .ui-dialog { border-radius: 10px !important; }
html body .cookie-alert { background: var(--lf-navy-dark) !important; }
html body a.lf-link, html body .lf-link { color: var(--lf-link) !important; }
html body #forgot.lf-card { max-width: 380px; }
html body #divApplicantResponse { max-width: 560px; border-radius: 10px; }
.lf-card__subtitle { font-size: 13px !important; }
html body .lf-card__brand .lf-brand-name { margin: 0 !important; line-height: 1.2 !important; }
html body .lf-card__brand .lf-card__eyebrow { margin-top: 6px !important; line-height: 1.3; }

/* legacy black header bars -> navy brand header (built by lf-modern.js) */
html body .lf-legacy-brand {
    display: block !important;
    height: auto !important;
    text-align: center !important;
    padding: 26px 20px 22px !important;
}
html body .lf-legacy-brand #logocompany { display: none !important; }
html body .lf-legacy-brand .lf-logo-tile { margin-bottom: 14px; }
html body .lf-legacy-brand .lf-card__eyebrow {
    margin: 6px 0 0 !important; color: rgba(255,255,255,.92) !important;
    font-size: 11.5px !important; font-weight: 600; letter-spacing: .01em; text-transform: none; text-align: center;
}
/* legacy card widths match the portal card */
html body #OnBoardingCreateAccountWrap { max-width: 420px !important; }
html body #OnBoardingCreateAccountWrap:has(#OnBoardingContainerLarge [id$="panel1"] .form-group) { max-width: 640px !important; }
html body .renderBodyStyle .h3:empty, html body .renderBodyStyle p.h3 { display: none; }


/* Logo: real LF_Logo.png on a white plate (the logo has black lettering, so it needs a light background) */
html body .lf-logo-tile {
    height: auto !important;
    display: inline-flex !important;
    padding: 12px 18px;
    margin: 0 auto 16px;
    border-radius: 10px;
    background: #fff;
}
html body .lf-logo-tile img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 100%;
}
html body .lf-card__brand, html body .lf-legacy-brand { text-align: center !important; }

/* logo plate: fixed 200px wide on every page */
html body .lf-logo-tile {
    width: 200px !important;
    max-width: 100% !important;
    justify-content: center;
    box-sizing: border-box;
}
html body .lf-logo-tile img { width: 100%; height: auto; }

/* =====================================================================
   Login Assistance / One-time code pages (#FindUserDiv, #WorkOrderOTPDiv)
   The Bootstrap col-lg-* grid squeezed the radio options into narrow
   columns inside the card on desktop. Stack them full width instead.
   ===================================================================== */
html body #FindUserDiv,
html body #WorkOrderOTPDiv {
    max-width: 100% !important;
    padding: 20px !important;
    border: 1px solid #E1E5EC !important;
    border-radius: 8px;
    background: #fff !important;
}
html body #FindUserDiv .row { margin-left: 0 !important; margin-right: 0 !important; }
html body .divradiooptions,
html body .divradiooptions > [class*="col-"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body .divradiooptions br { display: none; }
html body .divradiooptions > .col-lg-2 .form-check-label {
    display: block;
    margin: 4px 0 10px;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #4B5563;
}
html body .divradiooptions .form-check,
html body #WorkOrderOTPDiv .form-check {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin: 0 0 10px !important;
    padding: 12px 14px !important;
    border: 1px solid #D5DAE2;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
html body .divradiooptions .form-check:hover { border-color: var(--lf-primary); background: #F5F8FD; }
html body .divradiooptions .form-check:has(input:checked) { border-color: var(--lf-primary); background: #EEF3FB; }
html body .divradiooptions .form-check-input,
html body #WorkOrderOTPDiv .form-check-input { margin: 0 !important; flex: 0 0 auto; float: none; }
html body .divradiooptions .form-check-label {
    font-family: var(--lf-font) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--lf-ink);
    cursor: pointer;
    white-space: normal;
}
html body #FindUserDiv .form-label-group { padding: 0 !important; margin-top: 6px; }
html body #FindUserDiv .form-label-group label { font-family: var(--lf-font) !important; font-size: 13px !important; font-weight: 600; margin-bottom: 6px; }
html body #MainFooter { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
html body #MainFooter > span { display: none; }

/* the Next / Cancel buttons on the "send verification code" step */
html body .otp-button {
    min-height: 44px;
    border-radius: 6px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #2A4F98, #1F3F80) !important;
    border: 1px solid #1F3F80 !important;
    color: #fff !important;
}
html body #cancel.otp-button { background: #fff !important; color: var(--lf-primary) !important; border: 1.5px solid var(--lf-primary) !important; }

/* =====================================================================
   Login Assistance - "send verification code" step (#SendOTPEmailorPhone)
   Same box, colours, fonts and sizes as the "find your account" step.
   ===================================================================== */
html body #SendOTPEmailorPhone {
    max-width: 100% !important;
    padding: 20px !important;
    border: 1px solid #E1E5EC !important;
    border-radius: 8px;
    background: #fff !important;
    text-align: left !important;
    font-family: var(--lf-font) !important;
    color: var(--lf-ink);
}
html body #SendOTPEmailorPhone .row { margin-left: 0 !important; margin-right: 0 !important; }
html body #SendOTPEmailorPhone > br { display: none; }
/* intro sentence: same as "Help us find your account..." */
html body #headMessage,
html body #headMessageOption {
    display: block;
    font-family: var(--lf-font) !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.5;
    color: var(--lf-ink) !important;
}
html body #SendOTPEmailorPhone .divradiooptions .form-check-label span { font-weight: 700; color: var(--lf-primary); }
/* Cancel left, OK right - same as Back / Find */
html body .lf-otp-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }

/* =====================================================================
   Default.aspx - laborfinders.com colours (approved mock-up v2)
   Scoped to .lf-theme-site so the other pages are not affected.
   Yellow = the logo's "FINDERS" yellow (#FFD51D, sampled from LF_Logo.png)
   ===================================================================== */
.lf-theme-site {
    --site-blue: #0957AF;
    --site-blue-dark: #074690;
    --site-yellow: #FFD51D;
    --site-yellow-dark: #F2C500;
    --site-ink: #090909;
    --site-text: #212529;
    --site-muted: #5A5A5A;
    --site-light: #F3F4F5;
    --site-line: #E4E4E4;
    --site-head: "Libre Franklin", "Segoe UI", Arial, sans-serif;
    --site-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
    max-width: 380px !important;
}

/* background: same job-site photo, near-black overlay fading to the site blue */
html body:has(.lf-theme-site),
html body#inner:has(.lf-theme-site) {
    background: linear-gradient(135deg, rgba(9, 9, 9, .88) 0%, rgba(9, 9, 9, .70) 45%, rgba(9, 87, 175, .50) 100%),
                url(https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80) center / cover no-repeat fixed !important;
    background-color: #0b0b0b !important;
}
@media (max-width: 575.98px) {
    html body:has(.lf-theme-site) { background-attachment: scroll !important; }
}

/* fonts */
html body #mainWrapper .lf-theme-site :where(div, p, span, a, label, button, h1) { font-family: var(--site-body) !important; }
html body #mainWrapper .lf-theme-site .lf-brand-name,
html body #mainWrapper .lf-theme-site .lf-card__eyebrow,
html body #mainWrapper .lf-theme-site .lf-section-label,
html body #mainWrapper .lf-theme-site .lf-btn,
html body #mainWrapper .lf-theme-site .lf-back-pill { font-family: var(--site-head) !important; }

/* Back to Home */
html body .lf-theme-site .lf-back-pill {
    border-radius: 4px; color: var(--site-blue) !important; font-weight: 600; font-size: 13px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

/* card */
html body .lf-theme-site .lf-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .55);
}

/* header: white with the full-colour logo and a yellow line */
html body .lf-theme-site .lf-card__brand {
    background: #fff !important;
    padding: 36px 24px 30px !important;
    border-bottom: 5px solid var(--site-yellow);
    box-shadow: inset 0 -1px 0 #E9E9E9;
}
html body .lf-theme-site .lf-logo-tile {
    width: 210px !important; padding: 0 !important; margin: 0 auto 18px !important;
    background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
}
html body .lf-theme-site .lf-logo-tile img { width: 100% !important; height: auto !important; }
html body .lf-theme-site .lf-brand-name {
    color: var(--site-ink) !important;
    font-weight: 800 !important; font-style: italic;
    font-size: 16px !important; letter-spacing: -.01em;
    padding: 0 !important; height: auto !important;   /* legacy h1 padding from stylesNew.css */
}
html body .lf-theme-site .lf-card__brand .lf-card__eyebrow {
    color: var(--site-blue) !important;
    font-size: 12px !important; font-weight: 600 !important;
    letter-spacing: .08em; text-transform: uppercase;
}

/* body */
html body .lf-theme-site .lf-card__body { background: #fff !important; padding: 30px 26px 24px !important; }
html body .lf-theme-site .lf-section-label {
    color: var(--site-muted) !important; font-size: 11px !important; font-weight: 700; margin-bottom: 12px;
}
html body .lf-theme-site .lf-section-label::after { background: var(--site-line); }
html body .lf-theme-site .lf-section + .lf-section { margin-top: 28px; }

/* buttons */
html body .lf-theme-site .lf-btn {
    min-height: 50px; border-radius: 4px !important;
    font-size: 13px !important; font-weight: 700 !important; letter-spacing: .06em;
}
/* Create new account: the logo yellow, dark text for contrast */
html body .lf-theme-site .lf-btn--primary {
    background: var(--site-yellow) !important;
    border: 1px solid #E6BF12 !important;
    color: var(--site-ink) !important;
    box-shadow: 0 5px 12px rgba(214, 170, 0, .35) !important;
}
html body .lf-theme-site .lf-btn--primary:hover { background: var(--site-yellow-dark) !important; }
html body .lf-theme-site .lf-btn--primary i { color: var(--site-ink) !important; }
/* the other two: site blue outline */
html body .lf-theme-site .lf-btn--outline {
    background: #fff !important;
    border: 2px solid var(--site-blue) !important;
    color: var(--site-blue) !important;
}
html body .lf-theme-site .lf-btn--outline:hover { background: #EEF4FB !important; border-color: var(--site-blue-dark) !important; }
html body .lf-theme-site .lf-btn--outline i { color: var(--site-blue) !important; }
html body .lf-theme-site .lf-btn:focus-visible { box-shadow: 0 0 0 3px rgba(9, 87, 175, .35) !important; }

/* links + footer */
html body .lf-theme-site .lf-links-row { margin-top: 24px; padding-top: 18px; border-top-color: var(--site-line); }
html body .lf-theme-site .lf-links-row a { color: var(--site-blue) !important; font-size: 13px !important; font-weight: 600; }
html body .lf-theme-site .lf-card__footer {
    background: var(--site-light) !important; border-top: 1px solid var(--site-line);
    padding: 24px 24px 26px; font-size: 12.5px !important; color: #41423D;
}
html body .lf-theme-site .lf-card__footer a { color: var(--site-blue) !important; font-weight: 700; }
html body .lf-theme-site .lf-card__footer i { color: var(--site-muted); margin-right: 4px; }

@media (max-width: 575.98px) {
    html body .lf-theme-site .lf-card__brand { padding: 28px 20px 24px !important; }
    html body .lf-theme-site .lf-logo-tile { width: 190px !important; }
    html body .lf-theme-site .lf-card__body { padding: 24px 20px 20px !important; }
}

/* =====================================================================
   SITE THEME FOR ALL PUBLIC PAGES (2026-10-16)
   laborfinders.com colours + fonts; yellow = the logo's "FINDERS" yellow.
   Placed last so it overrides the earlier navy portal theme everywhere.
   ===================================================================== */
:root {
    --lf-primary: #0957AF;            /* site blue (outlines, links, focus) */
    --lf-primary-hover: #074690;
    --lf-link: #0957AF;
    --lf-accent: #FFD51D;             /* logo yellow */
    --lf-yellow: #FFD51D;
    --lf-yellow-dark: #F2C500;
    --lf-ink: #212529;
    --lf-black: #090909;
    --lf-muted-site: #5A5A5A;
    --lf-light: #F3F4F5;
    --lf-line: #E4E4E4;
    --lf-focus: 0 0 0 3px rgba(9, 87, 175, .30);
    --lf-font: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
    --lf-font-head: "Libre Franklin", "Segoe UI", Arial, sans-serif;
}

/* background: job-site photo, near-black overlay fading to the site blue */
html body,
html body#inner {
    background: linear-gradient(135deg, rgba(9, 9, 9, .88) 0%, rgba(9, 9, 9, .70) 45%, rgba(9, 87, 175, .50) 100%),
                url(https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80) center / cover no-repeat fixed !important;
    background-color: #0b0b0b !important;
}
@media (max-width: 575.98px) {
    html body, html body#inner { background-attachment: scroll !important; }
}

/* fonts: Source Sans for text, Libre Franklin for headings / labels / buttons */
html body #mainWrapper :where(h1, h2, h3, h4, h5, h6, p, label, legend, td, th, span, div, a, button, input, select, textarea),
html body .ui-dialog :where(h1, h2, h3, p, label, td, th, span, div, a, button, input, select) {
    font-family: var(--lf-font) !important;
}
html body #mainWrapper .lf-brand-name,
html body #mainWrapper .lf-card__eyebrow,
html body #mainWrapper .lf-section-label,
html body #mainWrapper .lf-btn,
html body #mainWrapper .lf-btn *,
html body #mainWrapper .otp-button,
html body #mainWrapper .lf-back-pill,
html body #mainWrapper .lf-back-pill *,
html body #mainWrapper .divradiooptions > div:first-child .form-check-label,
html body #mainWrapper .lf-section-title { font-family: var(--lf-font-head) !important; }
html body #mainWrapper .fas, html body #mainWrapper .fa, html body #mainWrapper .far { font-family: "Font Awesome 6 Free" !important; }

/* ---------- cards ---------- */
html body .lf-card,
html body #OnBoardingCreateAccountWrap {
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .55) !important;
}
html body #OnBoardingContainerLarge { border-radius: 8px !important; background: #fff !important; }
html body .lf-card__body,
html body .renderBodyStyle,
html body #OnBoardingContainerLarge > div { background: #fff !important; }

/* header: white, full-colour logo, yellow line (login cards + legacy page headers) */
html body .lf-card__brand,
html body [style*="AccountAssitanceHeader"],
html body [style*="create_header"],
html body .lf-legacy-brand {
    background: #fff !important;
    background-image: none !important;
    border-bottom: 5px solid var(--lf-yellow) !important;
    box-shadow: inset 0 -1px 0 #E9E9E9;
    border-radius: 8px 8px 0 0 !important;
}
html body .lf-card__brand { padding: 36px 24px 30px !important; }
html body .lf-legacy-brand { padding: 30px 20px 24px !important; }
html body .lf-logo-tile {
    width: 210px !important; max-width: 100% !important;
    padding: 0 !important; margin: 0 auto 18px !important;
    background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
}
html body .lf-logo-tile img { width: 100% !important; height: auto !important; }
html body .lf-brand-name {
    color: var(--lf-black) !important;
    font-weight: 800 !important; font-style: italic;
    font-size: 25px !important; letter-spacing: -.01em;
    padding: 0 !important; margin: 0 !important; height: auto !important; line-height: 1.2 !important;
}
html body .lf-card__brand .lf-card__eyebrow,
html body .lf-legacy-brand .lf-card__eyebrow {
    color: var(--lf-primary) !important;
    font-size: 12px !important; font-weight: 600 !important;
    letter-spacing: .08em; text-transform: uppercase;
    margin: 6px 0 0 !important;
}
/* Reset Password table header cell: title text on the white header */
html body .lf-section-title { color: var(--lf-black) !important; font-weight: 800; font-style: italic; }

/* ---------- section labels, inputs ---------- */
html body .lf-section-label { color: var(--lf-muted-site) !important; font-size: 11px !important; font-weight: 700; }
html body .lf-section-label::after { background: var(--lf-line); }
html body input:focus, html body select:focus, html body textarea:focus, html body .form-control:focus {
    border-color: var(--lf-primary) !important; box-shadow: var(--lf-focus) !important;
}
html body input[type="checkbox"], html body input[type="radio"] { accent-color: var(--lf-primary); }
html body .lf-card .lf-label, html body .col-form-label { color: #333 !important; }

/* ---------- buttons ---------- */
html body .lf-btn, html body .btn-warning, html body .otp-button {
    border-radius: 4px !important;
    font-size: 13px !important; font-weight: 700 !important; letter-spacing: .06em;
    text-transform: uppercase;
}
/* primary = logo yellow with dark text */
html body .lf-btn--primary,
html body .btn-warning,
html body .otp-button {
    background: var(--lf-yellow) !important;
    background-image: none !important;
    border: 1px solid #E6BF12 !important;
    color: var(--lf-black) !important;
    box-shadow: 0 5px 12px rgba(214, 170, 0, .35) !important;
}
html body .lf-btn--primary:hover,
html body .btn-warning:hover,
html body .otp-button:hover { background: var(--lf-yellow-dark) !important; }
html body .lf-btn--primary i, html body .lf-btn--primary .fas { color: var(--lf-black) !important; }
/* secondary = site blue outline */
html body .lf-btn--outline,
html body #cancel.otp-button {
    background: #fff !important;
    border: 2px solid var(--lf-primary) !important;
    color: var(--lf-primary) !important;
    box-shadow: none !important;
}
html body .lf-btn--outline:hover, html body #cancel.otp-button:hover { background: #EEF4FB !important; border-color: var(--lf-primary-hover) !important; }
html body .lf-btn--outline i, html body .lf-btn--outline i.lf-ico-accent { color: var(--lf-primary) !important; }
html body .lf-btn:focus-visible, html body .lf-btn-wrap:focus-visible .lf-btn { box-shadow: var(--lf-focus) !important; }

/* Back to Home */
html body .lf-back-pill { border-radius: 4px; color: var(--lf-primary) !important; font-weight: 600; font-size: 13px !important; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }

/* ---------- radio option boxes (Login Assistance / OTP) ---------- */
html body .divradiooptions .form-check:hover { border-color: var(--lf-primary); background: #F2F7FD; }
html body .divradiooptions .form-check:has(input:checked) { border-color: var(--lf-primary); background: #EAF2FC; }
html body #SendOTPEmailorPhone .divradiooptions .form-check-label span { color: var(--lf-primary); }

/* ---------- links + footer ---------- */
html body .lf-links-row { border-top-color: var(--lf-line); }
html body .lf-links-row a, html body .lf-links-row .lf-link, html body a.lf-link, html body .lf-link { color: var(--lf-primary) !important; font-size: 13px !important; font-weight: 600; }
html body .lf-card__footer {
    background: var(--lf-light) !important; border-top: 1px solid var(--lf-line);
    font-size: 12.5px !important; color: #41423D;
}
html body .lf-card__footer a { color: var(--lf-primary) !important; font-weight: 700; }

/* ---------- dialogs / cookie banner ---------- */
html body .ui-dialog .ui-dialog-titlebar { background: #fff !important; color: var(--lf-black) !important; border-bottom: 4px solid var(--lf-yellow) !important; }
html body .cookie-alert { background: var(--lf-black) !important; border-top: 3px solid var(--lf-yellow); }
html body .lf-card__footer:not(:has(i))::before { content: "\f023"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--lf-muted-site); margin-right: 6px; }

/* =====================================================================
   CreateAccount.aspx - compact form that fits on one screen (2026-10-16)
   Fields are wrapped in .lf-ca-field (field row + its hint row) inside
   .lf-ca-grid. Desktop: 2 columns, labels above shorter inputs.
   ===================================================================== */
html body #OnBoardingCreateAccountWrap:has(.lf-ca-grid) { max-width: 760px !important; }

/* compact header on this page */
html body #OnBoardingCreateAccountWrap:has(.lf-ca-grid) .lf-legacy-brand { padding: 18px 20px 14px !important; }
html body #OnBoardingCreateAccountWrap:has(.lf-ca-grid) .lf-logo-tile { width: 150px !important; margin-bottom: 8px !important; }
html body #OnBoardingCreateAccountWrap:has(.lf-ca-grid) .lf-brand-name { font-size: 20px !important; }
html body #OnBoardingCreateAccountWrap:has(.lf-ca-grid) .lf-legacy-brand .lf-card__eyebrow { margin-top: 2px !important; font-size: 11px !important; }
html body #OnBoardingContainerLarge > h3:has(> span:empty) { display: none; }

/* form container */
html body .lf-ca-form { margin: 0 !important; padding: 18px 26px 16px !important; }
html body .lf-ca-form #errorMessage:empty { display: none; }

html body .lf-ca-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 2px;
}
/* pair order: SSN|Confirm SSN, First|Middle, Last|Cell, Email|Confirm, Password|Confirm, Language|How did you hear */
.lf-ca-o1 { order: 1; }  .lf-ca-o2 { order: 2; }  .lf-ca-o3 { order: 3; }  .lf-ca-o4 { order: 4; }
.lf-ca-o5 { order: 5; }  .lf-ca-o6 { order: 6; }  .lf-ca-o7 { order: 7; }  .lf-ca-o8 { order: 8; }
.lf-ca-o9 { order: 9; }  .lf-ca-o10 { order: 10; } .lf-ca-o11 { order: 11; } .lf-ca-o12 { order: 12; }

/* each field: label on top, input, one-line hint */
html body .lf-ca-field { min-width: 0; }
html body .lf-ca-field .form-group.row {
    display: block !important;
    margin: 0 !important; padding: 0 !important;
}
html body .lf-ca-field .form-group.row > [class*="col-"] {
    display: block; width: 100% !important; max-width: 100% !important; flex: none !important;
    padding: 0 !important; margin: 0 !important; float: none;
}
html body .lf-ca-field .col-sm-4:empty { display: none !important; }
html body .lf-ca-field .col-form-label {
    padding: 0 0 4px !important;
    font-size: 12.5px !important; font-weight: 600 !important; line-height: 1.25;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html body .lf-ca-field input.form-control,
html body .lf-ca-field select.form-control,
html body .lf-ca-field input[type="text"],
html body .lf-ca-field input[type="password"],
html body .lf-ca-field select {
    width: 100% !important; max-width: 100% !important;
    height: 38px !important; min-height: 38px !important;
    padding: 6px 12px !important;
    margin: 0 !important;
    font-size: 15px !important;
}
html body .lf-ca-field select { padding-right: 34px !important; }
html body .lf-ca-field .CSSRecruiting { margin: 0 !important; }
/* hint line under each input: fixed one-line height so the layout never jumps */
html body .lf-ca-field .labelhint {
    display: block !important;
    min-height: 16px; height: 16px;
    margin: 2px 0 4px !important; padding: 0 !important;
    font-size: 11.5px !important; line-height: 16px !important;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* fields without a hint row keep the same rhythm */
html body .lf-ca-o5, html body .lf-ca-o11 { padding-bottom: 22px; }
html body .lf-ca-o6 .lf-check-inline { margin: 4px 0 0 !important; font-size: 12px !important; white-space: nowrap; }
html body .lf-ca-o6 .lf-check-inline input { width: 15px !important; height: 15px !important; min-height: 0 !important; }
html body .lf-ca-o6 #cellphone_id, html body .lf-ca-o6 [id$="cellphone_id"] { max-width: 100% !important; }
/* "New email" helper link (desktop only) sits on the Email label line */
html body .lf-ca-o7 { position: relative; }
html body .lf-ca-o7 #newemailLink { position: absolute; right: 0; top: -4px; padding: 0 !important; width: auto !important; z-index: 1; }
html body .lf-ca-o7 #newemailLink .lf-btn { min-height: 26px; padding: 2px 10px; font-size: 10.5px !important; }
html body .lf-ca-o7 .form-group.row.text-right { height: 0; }

/* buttons + error line */
html body .lf-ca-form .lf-ca-actions { margin: 10px 0 0 !important; padding: 0 !important; display: block !important; }
html body .lf-ca-form .lf-ca-actions > .col-sm-12 {
    display: flex !important; justify-content: space-between; gap: 12px;
    padding: 0 !important; width: 100% !important; max-width: 100% !important;
}
html body .lf-ca-form .lf-ca-actions .lf-btn { min-height: 44px; min-width: 120px; }
html body .lf-ca-form #xxx { margin-top: 6px; }

/* phones: one column (page scrolls) */
@media (max-width: 767.98px) {
    html body .lf-ca-grid { grid-template-columns: 1fr; }
    html body .lf-ca-form { padding: 14px 16px 14px !important; }
    html body .lf-ca-field .col-form-label { white-space: normal; }
    html body .lf-ca-field input.form-control, html body .lf-ca-field select { height: 42px !important; font-size: 16px !important; }
    html body .lf-ca-o7 #newemailLink { display: none !important; }
}
html body .lf-ca-o6 .lf-check-inline { margin: 4px 0 8px !important; }
@media (min-width: 768px) {
    html body #mainWrapper:has(.lf-ca-grid) { padding-top: 20px !important; padding-bottom: 20px !important; min-height: 0 !important; }
}

/* header title is "Employment Application Portal" on every page (2026-10-16) */
html body .lf-card__brand .lf-brand-name,
html body .lf-legacy-brand .lf-brand-name {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--lf-black, #090909) !important;
}
html body .lf-legacy-brand #imglogo1,
html body .lf-legacy-brand .imglogo1 { display: none !important; }
@media (max-width: 575.98px) {
    html body .lf-card__brand .lf-brand-name,
    html body .lf-legacy-brand .lf-brand-name { font-size: 18px !important; }
}
