* {
    box-sizing: border-box;
}

.auth-main {
    background: url("../images/auth-bg-full.png") no-repeat center center fixed;
    background-size: cover;
}

.auth-main-text-wrap {
    width: 100%;
    max-width: 711px;
    font-size: 55px;
    color: rgb(233, 233, 233);
    line-height: 1.182;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.auth-main-text-wrap .big {
    font-size: 85px;
    color: rgb(233, 233, 233);
    line-height: 1.118;
}

.auth-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 457px;
    padding: 15px 23px;
    min-height: 100vh;
    height: auto;
    padding-bottom: 23px;
    background: url("../images/bar-auth-bg-full.png") no-repeat center center, rgb(27, 30, 38);
    background-size: cover;
}

.auth-form-link {
    font-size: 14px;
    color: rgb(255, 255, 255);
    text-decoration: underline;
    line-height: 2;
    margin-top: 16px;
}

.top-link-wrap {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-link-wrap a {
    font-size: 16px;
    color: rgb(233, 233, 233);
    text-decoration: underline;
    line-height: 4.063;
}

.logo-line {
    display: flex;
    align-items: center;
    gap: 37px;
    padding-bottom: 27px;
    border-bottom: 1px solid rgb(221, 221, 221);
}

.logo-line .text {
    font-size: 24px;
    color: rgb(233, 233, 233);
    line-height: 1.167;
}

.auth-main .text-wrap {
    width: calc(100% - 457px);
}

.auth-form {
    margin-top: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 253px;
    margin-bottom: 10px;
}

.auth-form-register {
    width: 100%;
}

@media (max-width: 600px) {
    .auth-form-register .form-inputs {
        flex-direction: column;
    }

    .auth-form-register .form-inputs .form-inputs-col {
        width: 100%;
    }
}

.auth-form .slogan {
    font-size: 28px;
    color: rgb(233, 233, 233);
    line-height: 0.786;
    margin-bottom: 10px;
}

.status-bar {
    margin-top: 29px;
    margin-bottom: 18px;
    width: 51px;
    height: 14px;
    background: url("../images/icons/status-bar.svg") no-repeat center center;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.status-bar.first:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    left: 2px;
    top: 2px;
    background: #ef4848;
    border-radius: 10px;
    overflow: hidden;
}

.status-bar.second:after,
.status-bar.second:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    right: 2px;
    top: 2px;
    background: #ef4848;
    border-radius: 10px;
    overflow: hidden;
}

.status-bar.second:before {
    left: 2px;
}

.red-line {
    position: absolute;
    width: calc(100% - 23px);
    height: 2px;
    background: #ef4848;
    margin: 0 11px;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}

.auth-form-input {
    width: 100%;
}

.form-submit-btn {
    outline: unset;
    border: unset;
    max-width: 253px;
    width: 100%;
    height: 35px;
    font-size: 14px;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    line-height: 1.84;
    text-shadow: 0px 1px 1.98px rgba(0, 0, 0, 0.25);

    border-radius: 5px;
    background-image: -moz-linear-gradient(-90deg, rgb(239, 72, 72) 0%, rgb(220, 60, 87) 100%);
    background-image: -webkit-linear-gradient(-90deg, rgb(239, 72, 72) 0%, rgb(220, 60, 87) 100%);
    background-image: -ms-linear-gradient(-90deg, rgb(239, 72, 72) 0%, rgb(220, 60, 87) 100%);
}

.form-btn-under-text {
    font-size: 12px;
    color: rgb(212, 211, 211);
    line-height: 1.167;
    margin-left: 12px;
    margin-top: 10px;
}

.cabinet-info {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    margin-inline: auto;
}

.cabinet-info .link-wrap {
    font-size: 14px;
    color: rgb(213, 213, 213);
    line-height: 1.143;
}

.cabinet-info .link-wrap a {
    font-size: 18px;
    color: rgb(255, 255, 255);
    text-decoration: underline;
    line-height: 1.556;
}

@media (max-width: 1660px) {
    .functions-wrap {
        margin: 30px 0 !important;
    }

    .auth-form {
        margin-top: 30px;
    }

}

@media (max-width: 1100px) {
    .cabinet-info {
        margin-left: 0px;
    }

    .auth-form {
        width: 100%;
    }

    .form-submit-btn {
        max-width: 100%;
    }

}

@media (max-width: 1000px) {
    .auth-main .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }


    .auth-main-text-wrap .big {
        font-size: 30px;
    }

    .auth-main-text-wrap {
        width: auto;
        font-size: 26px;
        text-align: center;
        gap: 16px;
    }

    .auth-main-text-wrap br {
        display: none;
    }

    .auth-bar {
        height: auto;
        width: 90%;
        padding: 20px;
    }

    .cabinet-info {
        flex-direction: row;
        gap: 20px;
        width: 100%;
        justify-content: space-between;
    }

    .functions-wrap {
        margin: 0 !important;
    }

    .h-100.auth-main {
        height: auto !important;
        padding: 30px 0;
        min-height: 100 svh;
        display: grid;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .cabinet-info {
        flex-wrap: wrap;
        gap: 12px;
    }

    .auth-form {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .form-btn-under-text br {
        display: none;
    }

    .auth-main .d-flex {
        flex-direction: column-reverse;
        height: auto !important;
    }

    .auth-bar {
        width: 100%;
    }

    .status-bar {
        margin: 18px 0;
    }

    .top-link-wrap {
        gap: 8px;
    }

    .top-link-wrap img {
        width: 18px;
    }

    .auth-main-text-wrap .big {
        font-size: 22px;
    }

    .auth-main-text-wrap {
        font-size: 20px;
    }

    .auth-form-input {
        width: 100%;
    }

    .logo-wrap {
        flex: 0 0 66px;
    }

    .logo-wrap img {
        width: 100%;
        object-fit: contain;
    }

    .auth-main-text-wrap {
        gap: 5px;
    }

    .logo-line {
        gap: 20px;
        padding-bottom: 0px;
        justify-content: center;
    }

    .logo-line .text {
        font-size: 18px;
    }

    .top-link-wrap a {
        line-height: 1.2;
    }

    .functions-wrap {
        border-top: 1px solid #ccc;
        width: 100%;
        padding-top: 16px;
    }
}

@media (max-width: 340px) {
    .logo-line .text {
        font-size: 17px;
    }
}

.cabinet-info .functions-wrap {
    font-size: 18px;
    color: rgb(255, 255, 255);
    line-height: 1.556;
    margin-top: 40px;
    margin-bottom: 117px;
}

.cabinet-info .functions-list {
    font-size: 16px;
    color: rgb(233, 233, 233);
    line-height: 1.75;
    padding-left: 26px;
    list-style-image: url("../images/icons/check.svg");
}

.cabinet-info .footer,
.cabinet-info .footer a {
    font-size: 14px;
    color: rgb(167, 167, 167);
    line-height: 1.286;
}

.auth-next-btn {
    margin: 0 auto;
}


.form-inputs-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.form-inputs-row input,
.form-inputs-row select,
.form-inputs-row .select-wrap
{
    width: 100%;
}

.form-inputs-row input,
.form-inputs-row div
{
    flex-basis: 50%;
}


@media (max-width: 1200px) {
    .auth-main-text-wrap {
        max-width: 600px;
    }
}

@media (max-width: 992px) {
    .cabinet-info {
        flex-wrap: wrap;
    }

    .form-inputs {
        margin-bottom: 15px;
    }

    .cabinet-info .functions-wrap {
        margin: 0 auto !important;
    }

    .form-btn-under-text {
        margin: 0;
    }

    .cabinet-info .footer {
        margin: 0;
    }
}


@media (max-width: 576px) {
    .form-inputs-row {
        flex-direction: column;
    }

    .cabinet-info .functions-wrap {
        margin: 0 !important;
    }
}
