body {
    padding: 0;
    margin: 0;
    position: relative;
}

* {
    box-sizing: border-box;
}

.body-bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    background: #eef3f9;
}

.auth-bg {
    background-size: cover;
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    line-height: 20px;
    font-weight: normal;
    color: #0c232d;
    padding: 71px 0 150px;
    min-height: 100vh;
}

.logo {
    height: 50px;
    background: url(../images/logo.png) no-repeat center;
    background-size: contain;
    margin: 0 auto 20px;
    position: relative;
}

.auth {
}

.auth-content {
    position: relative;
    max-width: 550px;
    min-height: 500px;
    width: 100%;
    margin: 0 50% 0;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 10px;
    border: 10px solid #947dc8;
}

.auth-form {
    width: 100%;
    padding: 50px;
    background: none;
}

.input-holder {
    width: 100%;
    margin-bottom: 26px;
}

.input {
    padding: 6px;
    border: 1px solid #eef3f9;
    background-color: #eef3f9;
    font-size: 18px;
    line-height: 20px;
    color: #0c232d;
    width: 100%;
}

.input:focus,
.captcha-input input:focus {
    background: #fff;
}

.captcha-img img {
    width: 130px;
}

.captcha-input {
    width: 60%;
}

.captcha-input input {
    padding: 6px;
    border: 1px solid #eef3f9;
    background-color: #eef3f9;
    font-size: 18px;
    line-height: 20px;
    width: 100%;
}

.title-h2 {
    text-transform: uppercase;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 1px;
}

.descr {
    text-align: center;
    margin-bottom: 47px;
}

.label {
    display: block;
    margin-bottom: 8px;
    color: #947dc8;
    font-weight: 700;
}

.btn {
    padding: 15px 5px;
    font-size: 16px;
    color: #fff;
    background: #947dc8;
    border-radius: 5px;
    outline: none;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    width: 40%;
    margin: 12px auto 0;
    display: block;
    font-weight: 700;
    border: none;
}

.btn:hover {
    background: #947dc8;
}

.error-text {
    color: #FFF;
    margin: 10px 0 8px;
    font-size: 14px;
    text-align: center;
    background: #F44336;
    padding: 5px;
}

.flex-row {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .logo {
        /*margin: 0 auto 61px;*/
    }

    .auth-content {
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 580px) {
    body {
        padding-top: 30px;
    }

    .logo {
        width: 130px;
    }

    .auth-form {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .auth-bg {
        padding: 0;
        background-color: #fff;
        min-height: auto;
    }

    .auth {
        margin: 0;
        padding: 15px;
        box-sizing: border-box;
        box-shadow: none;
    }

    .auth-content {
        width: 100%;
        margin: 0;
        transform: none;
        border-radius: 0;
        border: 0;
        min-height: auto;
        padding: 30px 0;
    }

    .captcha-input input {
        width: 150px;
    }

    .captcha-img img {
        width: 120px;
    }

    .captcha-input {
        width: auto
    }
}
