body, html {
    height: 100%;
}

.wrapper {
    background-color: #F4F4F4;
    height: auto;
    min-height: 100%;
}

.wrapper .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    width: 100%;
}

.btn-login::after {
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-blue);
    content: "";
}

.btn-signup::after,
.link-hover::after {
    transition: width .4s ease-in-out;
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-blue);
    content: "";
    width: 0;
}

.btn-signup:hover::after,
.link-hover:hover::after {
    width: 100%;
}

.main .page__inner {
    padding: 0;
    background-color: transparent;
}

.auth-form-container {
    padding: 0;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--color-white) url(/images/authorization/auth-bg.jpg) center top no-repeat;
    background-size: cover;
    box-shadow: 0 0 24px 0 rgba(66, 97, 239, .2);
    max-width: 515px;
    border-radius: 20px;
    margin: 0 auto;
}

.auth-form {
    max-width: 515px;
    margin: 0 auto;
}

.btn-resent-code.link--underline {
    text-decoration: none;
}

.btn-resent-code.link--underline::after {
    transition: width .4s ease-in-out;
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-blue);
    content: "";
    width: 0;
}

.btn-resent-code.link--underline:hover {
    opacity: 1;
}

.btn-resent-code.link--underline:hover::after {
    width: 100%;
}

.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page__inner .form {
    background-color: var(--color-white);
    padding: 30px;
    margin-left: -1px;
    margin-right: -1px;
    border-radius: 20px;
}

.page__inner .heading {
    margin-bottom: 25px;
    font-size: 21px;
    font-family: var(--font3);
}

.form .form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form__bottom p {
    gap: 3px;
}

.form__bottom {
    margin-top: 30px;
}

.button-container {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.btn-resent-code {
    border: none;
    background: none;
    cursor: pointer;
}

@media screen and (max-width: 530px) {
    .form .form__bottom p {
        display: block;
    }

    .form .btn {
        flex: none;
    }

    .logo-authorize {
        width: 152px;
        height: 28px;
    }
}

@media screen and (max-width: 360px) {
    .form__bottom {
        flex-direction: column;
        gap: 10px;
    }

    .form .btn {
        width: 100%;
    }
}