/* ==========================================================================
   Login Form
   ========================================================================== */

.tn-login {
    background: transparent;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
}

@media only screen and (min-width: 640px) {
    .tn-login {
        padding: 2rem;
    }
}

@media only screen and (min-width: 768px) {
    .tn-login {
        padding: 3rem;
    }
}

.tn-login__section[aria-hidden="true"] {
    display: none;
}

.tn-login__field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 0 0 1rem;
}

.tn-login__field label {
    font-size: 1rem;
    line-height: 1rem;
    margin: 0;
}

.tn-login__field small {
    font-size: .75rem;
    line-height: .75rem;
    margin: 0;
}

.tn-login__field input[type="text"],
.tn-login__field input[type="email"],
.tn-login__field input[type="password"] {
    font-size: 1rem;
    line-height: 1rem;
    margin: 0;
    padding: .5rem;
}

.tn-login__field__error {
    color: #811c1c;
    font-size: 1rem;
    line-height: 1rem;
    margin: 0;
}

.tn-login__field__error a {
    color: #811c1c;
    text-decoration: underline;
}

.tn-login__field__error[aria-hidden="true"] {
    display: none;
}

.tn-login form[data-waiting="true"] {
    opacity: 0.5;
    pointer-events: none;
}

.tn-login form button,
.tn-login__primary-button {
    background: #0a5d66;
    border: none;
    color: #fff;
    font-size: 1rem;
    line-height: 1rem;
    margin: 10px 0;
    padding: .75rem 1rem;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
}

.tn-login form button:hover,
.tn-login__primary-button:hover {
    background: #e87c1e;
}

.tn-login__m1-button {
    background: #9bbdaa;
}

.tn-login__m1-button:hover {
    background: #e87c1e;
}

.tn-login__separator {
    font-size: 0.875rem;
    color: #555;
    margin: 0.75rem 0;
}

.tn-login__sso-button {
    display: block;
    background: #0a5d66;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1rem;
    padding: .75rem 1rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.tn-login__sso-button:hover {
    background: #e87c1e;
    color: #fff;
}

/* ==========================================================================
   EULA Modal
   ========================================================================== */

#tn_eula_modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999999;
}

#tn_eula_modal .modal {
    background: #fff;
    border: 1px solid #9bbdaa;
    max-width: 800px;
    margin: 20px auto 0 auto;
    padding: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
}

@media only screen and (min-width: 640px) {
    #tn_eula_modal .modal {
        padding: 2rem;
    }
}

@media only screen and (min-width: 768px) {
    #tn_eula_modal .modal {
        padding: 3rem;
    }
}

#tn_eula_modal .modal h1 {
    font-size: 36px !important;
}

@media only screen and (min-width: 640px) {
    #tn_eula_modal .modal h1 {
        font-size: 48px !important;
    }
}

#tn_eula_modal .modal button {
    background: #0a5d66;
    border: none;
    color: #fff;
    margin-top: 20px;
    display: block;
    font-size: 1rem;
    line-height: 1rem;
    padding: .75rem 1rem;
    cursor: pointer;
}

#tn_eula_modal .modal button:hover:not([disabled]) {
    background: #e87c1e;
}
