/* Loaded on the application and candidate-center pages only. */
:root {
    --ubFontFamily: "Roboto", Arial, sans-serif;
    --ubMainFontSize: 18px;
    --ubTextColor: var(--text, #505050);
    --ubLabelColor: var(--text, #505050);

    --ubHeaderFontFamily: Calibre, sans-serif;
    --ubHeaderFontWeight: 700;
    --ubHeaderTextTransform: uppercase;
    --ubHeaderColor: var(--text, #505050);

    --ubTitleColor: var(--text, #505050);
    --ubTitleFontSize: 1.5em;
    --ubH2FontSize: 1.5em;
    --ubH3FontSize: 1.25em;

    --ubPrimaryColor: var(--brand, #0b2237);
    --ubLinkColor: var(--brand, #0b2237);
    --ubLinkColorHover: #c91e55;
    --ubInfoColor: #eaf4f4;
    --ubInfoColorDark: var(--brand, #0b2237);

    --ubMainContainerBackground: transparent;
    --ubMainContainerPadding: 0;
    --ubMainContainerPaddingMobile: 0;
    --ubMainContainerGap: 1.5rem;
    --ubContentBackground: transparent;
    --ubContentPadding: 0;
    --ubContentPaddingMobile: 0;
    --ubPortalLoginFormPadding: 0;

    --ubInputBackgroundColor: var(--bg, #fff);
    --ubInputColor: var(--brand, #0b2237);
    --ubInputBorderColor: #7b8790;
    --ubInputBorderRadius: 0.5rem;
    --ubPlaceholderColor: var(--muted, #5b6b7a);
    --ubFormLineHeight: 1.6em;
    --ubNoteBorderRadius: 0.5rem;
    --ubFieldStatusBorderRadius: 0.5rem;

    --ubButtonBackground: var(--brand-2, #f2326e);
    --ubButtonBackgroundHover: #c91e55;
    --ubButtonColor: #fff;
    --ubButtonColorHover: #fff;
    --ubButtonBorder: none;
    --ubButtonBorderHover: none;
    --ubButtonBorderRadius: 999px;
    --ubButtonPadding: 0.75em 1.4em;
    --ubButtonFontFamily: "Roboto", Arial, sans-serif;
    --ubButtonFontSize: 20px;
    --ubButtonFontWeight: 700;
    --ubButtonTextTransform: none;
}

.jbrr-applicant-ui {
    padding-top: 0;
    padding-bottom: 4rem;
    color: var(--text, #505050);
}

.jbrr-applicant-ui__header {
    margin-bottom: 2.5rem;
}

.jbrr-applicant-ui__header h1 {
    margin: 0 0 1rem;
    color: var(--text, #505050);
    font-family: Calibre, sans-serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.jbrr-applicant-ui__panel {
    max-width: 60rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.jbrr-applicant-ui--portal .jbrr-applicant-ui__panel {
    max-width: 48rem;
}

/* Remove the host's global h2 top margin inside the widgets. */
.jbrr-applicant-ui__panel h2 {
    margin-top: 0;
}

.jbrr-applicant-ui[data-ubeeo-layout="landing"] {
    padding-block: 3rem;
    color: inherit;

    --ubFontFamily: var(--cui-font-family, Calibre, sans-serif);
    --ubHeaderFontFamily: var(--cui-font-family, Calibre, sans-serif);
    --ubHeaderTextTransform: none;
    --ubTextColor: currentColor;
    --ubLabelColor: currentColor;
    --ubHeaderColor: currentColor;
}

.jbrr-applicant-ui[data-ubeeo-layout="landing"]
.jbrr-applicant-ui__header h1 {
    color: inherit;
    font-family: var(--cui-font-family, Calibre, sans-serif);
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 900;
    text-transform: none;
}

@media (max-width: 575.98px) {
    :root {
        --ubMainFontSize: 16px;
    }

    .jbrr-applicant-ui {
        padding-bottom: 3rem;
    }
}