
.form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 1em;
    padding: 2.5em;
    max-width: 370px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 3px 6px 20px 10px, rgba(0, 0, 0, 0.13) 0px 6px 6px;
    margin: 3em auto;
    transition: 1s;
}

.form-wrapper h2 {
    margin-top: 0;
    margin-bottom: 1em;
    text-align: center;
}

.form-wrapper form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}


.form-wrapper form fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    min-width: 0;
    margin: 0;
}

input[type="email"], input[type="password"], input[type="text"], input[type="text"] {
    padding: 0.75em;
    border: 2px solid #c8c8c8;
}

input[readonly] {
    background: #eeeeee;
}

.form-wrapper a {
    text-align: center;
    margin: 1em auto 0;
    color: #0D8838;
    text-decoration: none;
}

.error-wrapper {
    display: flex;
    justify-content: center;
    color: #e40000;
}

@media screen and (max-width: 500px) {
    .form-wrapper {
        box-shadow: none;
        padding: 0;
    }
}