:root {
    --background-color: var(--primary-dark-color);
    --form-color: var(--neutral-07-color);
    --divider-color: var(--neutral-08-color);
    --container-border-color: var(--neutral-13-color);
    --button-gradient: transparent linear-gradient(90deg, #F68523 0%, #FF710B 100%) 0% 0% no-repeat padding-box;
}

::-ms-reveal {
    display: none;
}

input:focus {
    outline:none;
}

html, body {
    margin: 0;
    height: 100%;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

#login-content {
    display: grid;
    grid-auto-flow: row;
    grid-template-areas: "logo"
                         "form";
    grid-template-rows: min-content auto;
}

#logo {
    align-items: flex-end;
    justify-content: center;
    display: flex;

    padding: 0;
    margin-bottom: 50px;

    background: var(--form-color);
}

#login-form {
    display: grid;
    grid-auto-flow: row;
    grid-template-areas: "welcome-banner"
                         "form"
                         "copyright";

    background-color: var(--form-color);
    border-radius: 3px;
}

@media(min-width:1000px) {
    body {
        background-color: var(--background-color);
        background-image: url("../img/gradient_lines.svg");
        background-repeat: no-repeat;
        background-size: cover;
    }

    #logo {
        background: transparent;
    }

    /** login pages **/
    #login-content {
        justify-content: center;
        grid-template-rows: calc(115px + 50px) min-content;
    }
    #login-form {
        border: 2px solid var(--container-border-color);
    }
    #login-button-divider {
        display: flex;
        width: 20px;
        height: 100%;
        flex-direction: column;
        align-items: center;
        padding: 60px 0;
    }
    #login-button-divider > div:first-child, #login-button-divider > div:last-child {
        background: var(--container-border-color);
        width: 1px;
        height: calc(50% - 15px);
    }

    /** Containers for auth sections **/
    .single-auth-options {
        display: flex;
        flex-direction: row;
        width: 600px;
    }
    .multiple-auth-options {
        display: flex;
        flex-direction: row;
        width: 1000px;
    }
    .auth-options {
        padding: 50px;
    }
    .single-auth-options > .auth-options {
        width: calc(100%);
    }
    .multiple-auth-options > .auth-options {
        width: calc(50% - 10px);
    }
}

@media(max-width:999px) {
    body {
        background-color: var(--form-color);
    }

    /** change password **/
    #change-password-modal>.modal-dialog {
        min-width: 0 !important;
    }
    .change-password-content {
        flex-wrap: wrap-reverse;
    }

    /** login pages **/
    #login-button-divider {
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        padding: 30px 0;
    }
    #login-button-divider > div:first-child, #login-button-divider > div:last-child {
        background: var(--container-border-color);
        height: 1px;
        width: 100%;
        margin: 15px;
    }

    #footer {
        margin-top: 50px;
    }

    /** Containers for auth sections **/
    .single-auth-options, .multiple-auth-options {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .auth-options {
        padding: 0 10px;
    }
    .single-auth-options > .auth-options, .multiple-auth-options > .auth-options {
        width: calc(100%);
    }
}

#sso-button, #okta-button {
    border: #F09024 1px solid;
    background-color: #515151;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}

.input-container {
    display: flex;
    border: 1px solid var(--container-border-color);
    border-radius: 3px;
    padding: 10px;
    background-color: var(--form-color);
}
.input-container:not(:last-child) {
    margin-bottom: 20px;
}

.icon {
    display: flex;
    align-items: center;

    color: var(--neutral-14-color);
}

#reveal-password:hover, #hide-password:hover {
    color: white;
}

.input-icon {
    border-right: 1px solid var(--divider-color);
    padding: 10px 20px 10px 10px;
}

#reveal-password:hover {
    color: white;
}

.custom-input {
    flex-grow: 1;
    width: 100%;

    color: white;
    font-size: 15px;
    font-weight: 500;

    border: none;
    padding: 10px 10px 10px 20px;
    background-color: var(--form-color);
}
.custom-input:focus {
    border: none;
    outline-width: 0;
}

#hide-password, #reveal-password {
    cursor: pointer;
}

#error-field {
    display: none;
    font-size: 14px;
    font-weight: normal;
    color: var(--semantic-red-color);
}

.custom-button {
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    color: white;
    border-radius: 3px;
    border: none;
    cursor: pointer;
}

#sign-in-button:hover {
    background: #FF710B !important;
}

#sso-button:hover {
    filter: brightness(90%);
}

.button-divider {
    border-top: 1px solid var(--divider-color);
    margin: 40px 100px;
}

#footer {
    display: flex;
    flex-direction: column;
    gap: 5px;

    color: var(--neutral-13-color);
    font-size: 15px;
    text-align: center;
    font-weight: normal;

    margin-bottom: 20px
}

#footer-spacer {
    position: relative;
}

#footer-spacer:after {
    content: "";
    background-color: var(--neutral-09-color);
    position: absolute;
    bottom: 0;
    left: 35%;
    width: 30%;
    height: 2px;
}

button:disabled {
    opacity: var(--disabled-opacity);
    cursor: not-allowed;
    pointer-events: all !important;
}