:root {
    --strata-blue: #003F5A;
    --shark-blue: #2B678D;
    --sky-blue-mist: #81B4C8;
    --strata-black: #09232A;
    --midnight-wave: #003F5A;
    --morning-sky: #FAFCFE;
    --alert-red: #D32F2F;
    --alert-red-hover: #C62828;
    --confirm-green: #388E3C;
    --confirm-green-hover: #2E7D32;
    --white: #FFFFFF;
    --gray-0: #f7f7f7;
    --gray-1: #e8e8e8;
    --gray-2: #d8d8d8;
    --gray-3: #6B7B80;
    --gray-4: #4B4B4B;
    --primary-font: 'Roboto', Khula, sans-serif;
    --condensed-font: 'Roboto Condensed', Khula, sans-serif;
}


/* Desktop styles */
@media (min-width: 601px) {

    html, body {
        height: 100vh;
        margin: 0;
        padding: 0;
    }

    body {
        font: 16px Khula, Verdana, sans-serif;
        color: var(--strata-black);
        -webkit-font-smoothing: antialiased;
    }

    form {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #LogonHeader {
        background: url(NavigationBackground-103-1.png) repeat-x;
        height: 103px;
        margin: 0px;
        padding: 15px;
        min-width: 600px;
    }

    .Portal #LogonHeaderLogo {
        background: url(HeaderLogoPortal.png) top center no-repeat;
        height: 70px;
    }

    #LogonHeaderLogo {
        background: url(HeaderLogo.png) top center no-repeat;
        height: 70px;
    }

    #LogonWrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .LogonTable {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .LogonDiv {
        border-radius: 2px;
        border: 1px solid #D9D9D9;
        background: #FFF;
        flex-shrink: 0;
        width: 75%;
        max-width: 1110px;
        display: flex; 
        flex-direction: row;
    }

        .LogonDiv input, .LogonDiv select {
            border: solid 1px var(--gray-2);
            border-radius: 2px;
            color: var(--strata-black);
            font-size: 14px;
            display: flex;
            padding: 8px 56px 8px 12px;
            align-items: center;
            align-self: stretch;
        }

        .LogonDiv input[type=submit], .SubmitButton {
            display: inline-flex;
            padding: 8px 16px;
            justify-content: center;
            align-items: center;
            gap: 10px;
            border-radius: 2px;
            background: var(--strata-blue-900, #002035);
            color: #FFF;
            font-size: 14px;
            font-style: normal;
            font-weight: 500;
            line-height: 24px;
            margin-top: 12px;
        }

    .LogonDivContentErrorDiv {
        color: red;
        font-family: Roboto;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-top: 17px;
        line-height: 150%;
        padding-top: 4px;
    }

    .RemoteAssistance {
        display: block;
    }

    .LogonLeft {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        box-sizing: border-box;
        padding-top: 75px;
        padding-bottom: 75px;
        position: relative;
    }

    .LogonInputsContainer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        box-sizing: border-box;
        margin: 5px 12px;
        padding: 0;
    }

    .InputLabel {
        margin-bottom: 10px;
        color: #0F172A;
        font-family: Roboto;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px;
    }

    .LogonRight {
        position: relative;
        background: var(--strata-blue-900, #002035);
        color: white;
        flex-direction: column;
        align-content: center;
        justify-content: space-between;
        overflow: hidden;
        padding: 40px;
    }

    .KlasBadge2025 {
        background-image: url(KlasBadge2025.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 125px;
        width: 129px;
        z-index: 3
    }

    .WavesBackgroundDesktop {
        background-image: url(BackgroundWaves.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        background-blend-mode: soft-light;
        opacity: 0.25;
    }

    .WavesBackgroundMobile {
        display:none;
    }

    .AnnouncementContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
        width: 100%;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .AnnouncementBody {
        color: #FFF;
        text-align: center;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;
        z-index: 2;
        max-width: 280px;
        margin-bottom: 14px;
    }

    .AnnouncementPrefixContainer {
        font-weight: 600;
        font-size: 18px;
        color: white;
        line-height: 22px;
        text-align: center;
        margin-top: 4px;
        margin-bottom: 4px;
    }

    .AnnouncementButton {
        background-color: #e57c03;
        color: white !important;
        border-radius: 5px;
        padding: 0.5rem 2rem;
        text-decoration: none;
        display: inline-block;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s;
        z-index: 3;
        position: relative;
        line-height: 1.2rem;
        height: 2rem;
        box-sizing: border-box;
    }

    .AnnouncementButton:hover {
        background-color: #d06c02;
        text-decoration: none;
        color: white;
        z-index: 3
    }

    .Portal .LogonLeft {
        width: 167px;
    }

    .LogonLogo {
        background: url(LogonLogo.png);
        width: 244px;
        height: 50px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 15px;
        align-self: flex-start;
    }

    .Portal .LogonLogo {
        background: url(LogonLogoPortal.png);
        width: 324px;
        height: 25px;
    }

    .LogonMessage {
        position: absolute;
        left: 50%;
        bottom: 0px;
        transform: translateX(-50%);
        margin: 0;
        width: calc(100% - 80px);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        line-height: 16px;
    }

    a, a:visited {
        color: var(--gray-4);
    }

    h1 {
        text-transform: uppercase;
        font-weight: 900;
    }

    .strata-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--strata-blue);
        color: var(--white);
        border-radius: 0.25rem;
        padding: 0.4rem 1.3rem;
        font-size: 1rem;
        font-weight: 700;
        height: 2.875rem;
        border: solid var(--strata-blue) 2px;
        max-width: max-content;
        cursor: pointer;
        transition: 0s;
        font-family: var(--primary-font);
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
    }

    .strata-btn:hover {
        background-color: var(--shark-blue);
        border: solid var(--shark-blue) 2px;
        box-shadow: none !important;
        -moz-box-shadow: none !important;
        -webkit-box-shadow: none !important;
    }

    .strata-btn-sm {
        padding: 0.4rem 1rem;
        height: 36px;
    }

    .strata-btn-white {
        background-color: var(--white);
        border: solid var(--white) 2px;
        color: var(--strata-blue);
    }

    .strata-btn-white:hover {
        background-color: var(--gray-0);
        border: solid var(--gray-0) 2px !important;
        box-shadow: none !important;
        color: var(--strata-blue);
        -moz-box-shadow: none !important;
        -webkit-box-shadow: none !important;
    }

    .strata-btn-delete {
        background-color: var(--alert-red);
        border: solid var(--alert-red) 2px;
    }

    .strata-btn-delete:hover {
        background-color: var(--alert-red-hover);
        border: solid var(--alert-red-hover) 2px !important;
        box-shadow: none !important;
        color: var(--white);
        -moz-box-shadow: none !important;
        -webkit-box-shadow: none !important;
    }

    #TroubleLoggingInButton {
        color: #1E1E1E;
        font-family: Roboto;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: auto;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
        margin-top: 17px
    }

    #TroubleLoggingInDetails {
        display: none;
        text-align: left;
        color: var(--strata-blue);
        background-color: var(--gray-0);
        border-radius: 0.25rem;
        padding: 0.75rem 1rem;
        border: solid var(--gray-0) 1px;
        scroll-padding-bottom: 3rem;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }

    #TroubleLoggingInDetails:focus {
        outline: none;
        border: solid var(--gray-1) 1px;
    }

    #TroubleLoggingInDetailsClose {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 19px;
        max-height: 19px;
        margin-left: auto;
        margin-bottom: 0.5rem;
        cursor: pointer;
        margin-right: 0;
    }

    #TroubleLoggingInDetailsClose img {
        max-width: 19px;
        max-height: 19px;
    }

    #TroubleLoggingInDetailsClose:hover {
        outline: solid var(--shark-blue) 2px;
    }

    #AssistanceLinksWrapper {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        margin-top: 1rem;
    }

    #AssistanceLinksWrapper a, #TroubleLoggingInDetails a {
        font-weight: bold;
        color: var(--gray-4);
        text-decoration: underline;
        cursor: pointer;
        text-decoration-style: solid;
        text-underline-offset: 2px;
    }

    #AssistanceLinksWrapper a:hover, #TroubleLoggingInDetails a:hover, #AssistanceLinksWrapper a:focus, #TroubleLoggingInDetails a:focus {
        color: var(--strata-blue);
        text-decoration-style: dashed;
        text-underline-offset: 2px;
    }
}

/* Mobile styles */
@media (max-width: 600px) {

    body {
        font: 16px Khula, Verdana, sans-serif;
        color: white;
        -webkit-font-smoothing: antialiased;
    }

    html, body {
        height: 100%;
        min-height: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    form {
        height: 100%;
        min-height: 100%;
        margin: 0;
        padding: 0;
    }

    #LogonHeader {
        background: url(NavigationBackground-103-1.png) repeat-x;
        height: 103px;
        margin: 0px;
        padding: 15px;
        min-width: 600px;
    }

    .Portal #LogonHeaderLogo {
        background: url(HeaderLogoPortal.png) top center no-repeat;
        height: 70px;
    }

    #LogonHeaderLogo {
        background: url(HeaderLogo.png) top center no-repeat;
        height: 70px;
    }

    #LogonWrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .LogonTable {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        height: 100% !important;
        z-index: 2;
    }

    .LogonDiv {
        flex-direction: column !important;
        display: flex !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border-width: 0 !important;
        background-color: #002035;
        align-items: center !important;
        justify-content: center !important;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .LogonLeft, .LogonRight, .LogonInputsContainer {
        width: 90% !important;
        margin: 0 auto !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: stretch !important;
        background-color: none !important;
    }

    .LogonRight {
        padding-top: 60px;
    }

    .LogonLeft {
        width: 90% !important;
        margin: 0 auto !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: stretch !important;
        background-color: none !important;
        height: auto !important;
        padding-top: 0px;
        padding-bottom: 0px;
        color: white !important;
    }

    .LogonInputsContainer {
        display: flex;
        flex-direction: column;
        justify-content: stretch;
        height: 100%;
        box-sizing: border-box;
        margin: 5px 12px;
        padding: 20px 0 !important;
    }

    .LogonInputsContainer > * {
        width: 100% !important;
        max-width: 300px !important;
        box-sizing: border-box !important;
    }

    .InputLabel {
        color: white !important;
        font-family: Roboto;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px;
        display: block;
        text-align: left;
        margin-bottom: 12px;
    }

    .LogonDiv input, .LogonDiv select {
        border: solid 1px var(--gray-2);
        border-radius: 2px;
        color: var(--strata-black);
        font-size: 14px;
        display: flex;
        padding: 8px 56px 8px 12px;
        align-items: center;
        align-self: stretch;
        width: 100% !important;
        max-width: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

        .LogonDiv input[type=submit], .SubmitButton {
            display: block !important;
            width: 100% !important;
            text-transform: uppercase !important;
            justify-content: center;
            align-items: center;
            border-radius: 2px;
            background: var(--strata-blue-900, #002035);
            color: #FFF;
            font-size: 14px;
            font-style: normal;
            font-weight: 500;
            line-height: 24px;
            padding: 8px 16px;
            margin-top: 52px;
            font-weight: 500;
            line-height: 24px;
            font-variant: small-caps;
        }

    .LogonDivContentErrorDiv {
        color: red;
        font-family: Roboto;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-top: 17px;
        line-height: 150%;
        padding-top: 4px;
    }

    .RemoteAssistance {
        display: block;
    }

    .KlasBadge2025 {
        background-image: url(KlasBadge2025.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 85px;
        width: 87px;
        z-index: 3
    }

    .AnnouncementContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
        width: 100%;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .AnnouncementBody {
        color: #FFF;
        text-align: center;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 1.1rem;
        max-width: 220px;
        margin-top: 4px;
    }

    .AnnouncementPrefixContainer {
        font-weight: 600;
        font-size: 18px;
        color: white;
        line-height: 1.1rem;
        text-align: center;
        margin-bottom: 2px;
    }

    .WavesBackgroundMobile {
        background-image: url(BackgroundWavesMobile.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        background-blend-mode: soft-light;
        opacity: 0.25;
    }

    .WavesBackgroundDesktop {
        display: none;
    }

    .AnnouncementButton {
        display:none;
    }

    .AnnouncementButton:hover {
        background-color: #d06c02;
        text-decoration: none;
        color: white;
        z-index: 3
    }

    .Portal .LogonLeft {
        width: 167px;
    }

    .LogonLogo {
        background: url(LogonLogoWhite.png);
        width: 244px;
        height: 50px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        margin-top: 85px;
        margin-bottom: 50px;
        align-self: center;
    }

    .Portal .LogonLogo {
        background: url(LogonLogoPortal.png);
        width: 324px;
        height: 25px;
    }

    .LogonMessage {
        position: absolute;
        left: 50%;
        bottom: 0px;
        transform: translateX(-50%);
        margin: 0;
        width: calc(100% - 80px);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        line-height: 16px;
    }

    a, a:visited {
        color: var(--gray-4);
    }

    h1 {
        text-transform: uppercase;
        font-weight: 900;
    }


    #TroubleLoggingInButton {
        color: #1E1E1E;
        font-family: Roboto;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: auto;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
        margin-top: 17px
    }

    #TroubleLoggingInDetails {
        display: none;
        text-align: left;
        color: var(--strata-blue);
        background-color: var(--gray-0);
        border-radius: 0.25rem;
        padding: 0.75rem 1rem;
        border: solid var(--gray-0) 1px;
        scroll-padding-bottom: 3rem;
        position: absolute;
        bottom: 0;
        left: 0;
        max-width: 100% !important;
        z-index: 10;
    }

    #TroubleLoggingInDetails:focus {
        outline: none;
        border: solid var(--gray-1) 1px;
    }

    #TroubleLoggingInDetailsClose {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 19px;
        max-height: 19px;
        margin-left: auto;
        margin-bottom: 0.5rem;
        cursor: pointer;
        margin-right: 0;
    }

    #TroubleLoggingInDetailsClose img {
        max-width: 19px;
        max-height: 19px;
    }

    #TroubleLoggingInDetailsClose:hover {
        outline: solid var(--shark-blue) 2px;
    }

    #TroubleLoggingInDetails a {
        color: var(--strata-blue);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: auto;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }

    #AssistanceLinksWrapper {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

        #AssistanceLinksWrapper a {
            color: #FFF;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            text-decoration-line: underline;
            text-decoration-style: solid;
            text-decoration-skip-ink: auto;
            text-decoration-thickness: auto;
            text-underline-offset: auto;
            text-underline-position: from-font;
        }

    #AssistanceLinksWrapper a:hover {
        color: white;
        text-decoration-style: dashed;
        text-underline-offset: 2px;
    }
}
