#login {
    width: 300px;
    padding: 20px;
    background-color: var(--secondary);
    margin-bottom: 10px;
}

#form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#register-warning {
    text-align: center;
    width: 300px;
    font-size: 1.1rem;
    color: var(--warn-red);
}

form {
    width: 100%;
    height: 100%;
}

.form-hint {
    margin: 0 0 10px;
    color: var(--black-zv);
    font-size: 11px;
    line-height: 1.4;
}

.account-success-message {
    padding: 8px;
    background-color: var(--primary);
    color: var(--black-zv);
    font-size: 12px;
    text-align: center;
}

input, button, label{
    display: block;
    margin: 10px 0;
}

#error {
    color: var(--warn-red);
    text-align: center;
    font-size: 20px;
}

#error ul {
    list-style: none;
}

button {
    padding: 1ch 1rem;
    font-family: ZV-Display;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    width: 100%;
    text-wrap: nowrap;
    transition: var(--transition);
    cursor: pointer;
    
    border: 3px solid var(--black-zv);
    background-color: var(--black-zv);
    color: var(--primary);
}

input {
    min-height: 25px;
    width: 100%;
    border-radius: 0;
    border: none;
    padding: 1ch 1rem;
}

label, label > input {
    width: unset;
    padding: none;
    min-height: unset;
}

label > input {
    margin: 0 10 0 0;
    border-radius: none;
}

label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    flex: 0 0 16px;

    margin: 0;
    padding: 0;
    box-sizing: border-box;

    background: white;
    border-radius: 0;
}

label input[type="checkbox"]:checked {
    background: black;
    border-color: black;
}

label input[type="checkbox"]:checked::after {
    content: "";
    display: block;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(5px, 1px) rotate(45deg);
}

button:hover {
    background-color: var(--black-zv); 
    color: var(--white-zv);
    border-color: var(--black-zv);
}

label > input {
    display: inline-block;
}