.login {
    box-sizing: border-box;
    margin: 2.5rem auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: white;
    border-radius: 2.5rem;
    width: min(34rem, calc(100% - 2rem));
    padding: 2rem;
}

.login input:not([type="hidden"]) {
    box-sizing: border-box;
    outline: none;
    border: none;
    border-bottom: var(--TA-color) 2px solid;
    font-size: 1.1rem;
    padding: 0.65rem 0;
    width: 100%;
}

.login h1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.login-alert {
    display: grid;
    margin: 0 0 1.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e2bd69;
    border-radius: 0.8rem;
    background: #fff5dc;
    color: #604500;
    line-height: 1.45;
    gap: 0.2rem;
}

.login-alert strong {
    color: #4d3700;
}

.login-form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.errorlist {
    margin: 0;
    padding-left: 1.25rem;
    color: #a51d1d;
}

.errorlist li {
    color: inherit;
}

.login-help-link {
    width: fit-content;
    color: #0b6f91;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.login-help-link:hover {
    text-decoration-thickness: 2px;
}

.login-message {
    margin: 0 0 1.25rem;
    color: #526464;
    line-height: 1.6;
}

.login-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
