label {
    display: block;
    font-size: 18px;
    width: 100%;
}

input {
    margin-top: 1em;
    margin-bottom: 2em;

    width: 100%;
    padding: 0.75em;

    border: 1px solid var(--primary);
    border-radius: var(--border-radius);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;              /* removes default blue glow */
    border: 2px solid var(--primary);  /* your custom color */
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgb(255, 251, 251) inset;
    box-shadow: 0 0 0 1000px rgb(255, 251, 251) inset;
    -webkit-text-fill-color: #000;
}

a:hover {
    color: var(--primary);
}

.container {
    width: 50em;
}

.signup-form-container {
    padding: 4em;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;

    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
}

.signup-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.signup-form p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.signup-form ul {
    padding: 1em 1em 1em 2em;
    margin-bottom: 2em;

    background: var(--glass-border);

    border-radius: var(--border-radius);

    font-size: 14px;
}

.btn-primary {
    width: 50%;
    margin-top: 1em;
}

.log-in {
    margin-top: 1em;
}

.back-link {
    margin-bottom: 1em;
    margin-left: 1em;
    transition: ease 0.4s all;
}

.back-link:hover {
    transform: translateX(5px);
}

.helptext {
    width: 100%;
    margin-left: 1em;
    margin-top: -1em;
    margin-bottom: 2em;
}

/*
a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}
*/
