.register {
    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(42rem, calc(100% - 2rem));
    padding: 2rem;
}

.register input:not([type="checkbox"]):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%;
}

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

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

.register .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.register .form-field--checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
}

.register .form-field--checkbox .errorlist,
.register .form-field--checkbox .helptext {
    grid-column: 2;
}

.register input[type="checkbox"] {
    margin-top: 0.2rem;
}

.helptext {
    color: #596464;
    font-size: 0.85rem;
}

.helptext ul {
    margin: 0.25rem 0;
    padding-left: 1.25rem;
}

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

.errorlist li {
    color: inherit;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
