@font-face {
    font-family: 'icomoon';
    src: url('/fonts/icon/os-icons.eot');
    src: url('/fonts/icon/os-icons.eot#iefix') format('embedded-opentype'),
    url('/fonts/icon/os-icons.ttf') format('truetype'),
    url('/fonts/icon/os-icons.woff') format('woff'),
    url('/fonts/icon/os-icons.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

:root {
    font-size: 16px;
    --brand: #2B2B2B;;
    --light: #fff;
    --grey: #ebedf2;
    --dark: #575962;
    --medium-brand: #DDE4EA;
    --shadow-brand: #C8D4E0;
    --error: #f4516c;
}

* {
    box-sizing: border-box;
    font-family: Poppins, Arial;
    font-weight: 400;
}

html,
body {
    height: 100%;
    background-color: #F9FAFC;
}

body {
    margin: 0;
    padding: 1rem;
    display: flex;
}

.signin-container {
    max-width: 30rem;
    width: 100%;
    min-height: 33rem;
    border-radius: .25rem;
    margin: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
    background: var(--light);
}

.logo-img {
    height: 3rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 0;
}

input:focus,
button:focus {
    outline: none;
}

.email-input,
.password-input {
    border: none;
    padding: .75rem 0;
    max-width: 20rem;
    width: 100%;
    color: var(--dark);
    background-repeat: no-repeat;
    background-size: 200% 1px;
    background-position: 100% 100%;
    transition: background-position .4s cubic-bezier(.25, .46, .45, .94);
}

.email-input {
    margin-top: 2rem;
    background-image: linear-gradient(to right, var(--brand) 0, var(--brand) 50%, var(--grey) 50%, var(--grey) 100%);
}

.password-input {
    margin-top: .5rem;
    background-image: linear-gradient(to right, var(--brand) 0, var(--brand) 50%, transparent 50%, transparent 100%);
}

.email-input:focus,
.password-input:focus {
    background-position: 0 100%;
}

.error-message {
    font-size: .75rem;
    line-height: 1.25;
    margin-top: 1rem;
    color: var(--error);
}

.error-message.hidden {
    visibility: hidden;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    max-width: 20rem;
    width: 100%;
    margin-top: 1rem;
    justify-content: space-evenly;
}

.button-group > .btn {
    max-width: 9rem;
    width: 100%;
}

.button-group-single {
    justify-content: center;
}

.btn-link {
    padding: .5rem 2rem;
    color: var(--brand);
    margin-top: 1rem;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
    cursor: pointer;
}

.btn {
    background-color: transparent;
    border: 1px solid transparent;
    padding: .75rem;
    border-radius: 3px;
    margin-top: .5rem;
    transition: all .2s ease;
}

.btn:hover {
    cursor: pointer;
}

.btn-brand {
    background-color: #C6F77F;
    color: var(--brand);
}

.btn-brand:hover {
    background-color: #BEF076;
}

.btn-bordered-brand {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-brand:hover {
    opacity: .6;
}

.btn-bordered-brand:hover {
    background-color: var(--shadow-brand);
    border-color: var(--shadow-brand);
}

.signin-container > * {
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 650px) {
    .signin-container {
        border: 1px solid var(--medium-brand);
        box-shadow: 0 0.25rem 2rem var(--shadow-brand);
    }
}

@media screen and (min-width: 461px) {
    .button-group {
        flex-direction: row-reverse;
    }
}

@media screen and (max-width: 460px) {
    .button-group > .btn {
        max-width: none;
    }
}

kbd {
    padding: 2px 4px;
    font-size: 14px;
    color: #fff;
    background-color: #212529;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

/* 2FA */
.auth-container {
    min-height: 20rem;
}

.auth-container * {
    color: #575962;
    margin-left: 0;
    margin-right: 0;
    font-size: 14px;
}

.auth-container .error-message {
    font-size: .75rem;
    color: var(--error);
}

.auth-container h1 {
    margin-top: 0;
    font-size: 24px;
}

.auth-container .box:last-child {
    margin-bottom: 0;
}

.flex-container {
    display: flex;
    justify-content: space-between;
}

.flex-container.space-around {
    justify-content: space-around;
}

.list {
    padding-left: 24px;
    margin: 0;
    font-size: 14px;
}

.list li:not(:last-child) {
    margin-bottom: 4px;
}

.list .list-actions a {
    color: #72B05A;
}

a.external-link {
    color: #72B05A;
}

.list .list-actions a:first-child {
    margin-right: 12px;
}

.text {
    font-size: 14px;
}

.text-center {
    text-align: center;
}

.text-bold {
    font-weight: 600;
}

.alert-warning {
    background-color: #FEEEA8;
    padding: 12px 8px;
    font-size: 14px;
    width: 100%;
    color: #2B2B2B;
}

.box {
    width: 100%;
    margin-bottom: 32px;
}

.box-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.box.box-grey {
    background-color: #F3F5F8;
    padding: 12px;
    margin: 0;
    border-radius: 8px;
}

.box.no-bottom-margin {
    margin-bottom: 0;
}

.qr-image {
    margin: 0 auto;
}

.qr-code {
    margin-top: 4px;
    font-size: 12px;
}

.code-input {
    border: 1px solid #ECEEF2;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
}

.code-input::placeholder {
    color: #CECECE;
}

.button-group {
    margin-left: auto;
    margin-right: auto;
}

#qrCode img {
    margin: 0 auto;
}

.box.box-grey.remember-me {
    margin-top: 16px;
}

.remember-me input {
    margin-right: 8px;
}

.os-icon {
    font-family: 'icomoon';
    font-size: 20px;
    color: var(--brand);
}

.os-icon-warning:before {
    content: '\e901';
}

.os-icon-key:before {
    content: '\e945'
}

.group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.codes-container {
    width: 100%;
}

.external-auth-link {
    padding: 0;
}

.external-auth-link img {
    vertical-align: middle;
    width: 25px;
    height: 25px;
}

#login-link-Okta {
    display: none;
}