.reg-main {
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 120px;
}

.reg-form {
    margin: 0 auto;
    max-width: 450px;
    background-color: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    border: solid 1px rgb(226,232,240);
}

.reg-form h3 {
    margin-bottom: 2.5rem;
}

.reg-input {
    margin-bottom: 1rem;
}

input:focus {
    outline-color: rgb(78,69,228);
}

.reg-form input {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: solid 1px rgb(226,232,240);
}

.reg-form label {
    display: block;
    margin-bottom: 4px;
    text-align: left;
    font-weight: 500;
    font-size: 14px;
}

.reg-form ul {
    list-style-type: none;
    padding-left: 0;
}

.reg-btn-form {
    width: 100%;
    display: block;
    margin: 0 auto;
    background: linear-gradient(135deg, rgb(78,69,228), rgb(129,140,248), rgb(243,61,93));
    background-size: 150% auto;
    background-position: left center;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    padding-block: 1rem;
    padding-inline: 2rem;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.6s;
    border: none;
    margin-top: 1.5rem;
}

.reg-btn-form:hover {
    background-position: right center;
    background-size: 300% auto;
    transition: 0.6s;
}

.to-log-btn {
    color: rgb(106, 98, 233);
    transition: 0.3s;
    text-decoration: none;
}

.to-log-btn:hover {
    color: rgb(79, 70, 229);
    transition: 0.3s;
    font-size: 15px;
}

.username_help_text {
    display: none;
    margin-top: 3px;
    font-size: 12px;
}

.password1_help_text {
    display: none;
}

.password1_help_text li {
    margin-top: 3px;
    font-size: 12px;
    padding-left: 0;
}

.password2_help_text {
    display: none;
    margin-top: 3px;
    font-size: 12px;
}

.errorlist {
    color: red;
    margin-top: 3px;
    font-size: 12px;
    list-style-type: none !important;
    padding-left: 0 !important;
}


.agree-checkbox {
    display: flex;
    align-items: center;
}

.agree-checkbox input {
    height: 100%;
    width: 24px;
}

.agree-checkbox label {
    margin-bottom: 0;
    margin-left: 0.3rem;
}

@media(max-width: 575px) {

    .reg-main {
        display: flex;
        align-items: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .reg-form input {
        padding: 0.5rem;
    }

    .reg-form {
        width: calc(100% - 1rem);
        padding: 1.5rem;
    }
}