
body {
    height: 100vh;
    background-color: #1B2041;
    background-image: url("/static/img/auth-bg.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background: #232A53;
    box-shadow: 4px 4px 20px 5px rgba(0, 0, 0, 0.27);
    border-radius: 0 15px 15px 15px;
}

.md-form label {
    color: #ffffff;
}


.auth-switcher {
    text-align: right;
}

.auth-switcher .btn-group {
    width: 222px;
    height: 35px;
    border-radius: 4px;
}

.auth-switcher .btn-group a {
    background-color: unset;
    padding: 0;
    line-height: 35px;
    width: 111px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
    text-transform: capitalize;
}

.auth-switcher .btn-group a.active {
    background: #02D5D5;
    border: none;
    color: #ffffff !important;
}

.select-wrapper span.caret {
    color: #ffffff;
}

h6 {
    line-height: 1.7;
}

.auth-custom-form-wrapper {
    margin: 40px 0 25px;
}

@media (max-width: 740px) {
    .full-height,
    .full-height body,
    .full-height header,
    .full-height header .view {
        height: 750px;
    }
}

@media (min-width: 741px) and (max-height: 638px) {
    .full-height,
    .full-height body,
    .full-height header,
    .full-height header .view {
        height: 750px;
    }
}

.card {
    margin-top: 30px;
    /*margin-bottom: -45px;*/
}

.card .card-body {
    padding: 100px 36px 31px;
}

.form-header {
    width: 248px;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    background: #5A19B4 !important;
    border-radius: 0 0 30px 0;
    box-shadow: none;
}

#login_form .lang-select, #reg_form .lang-select {
    width: 35px;
    position: absolute;
    top: 10px;
    right: 20px;
}

#login_form .lang-select .dropdown-content .selected,
#reg_form .lang-select .dropdown-content .selected {
    color: #02D5D5 !important;
}
#login_form .lang-select .dropdown-content li > span,
#reg_form .lang-select .dropdown-content li > span {
    color: #000000;
}

#login_form .lang-select .dropdown-content li > span:hover,
#reg_form .lang-select .dropdown-content li > span:hover {
    background-color: #02D5D5 !important;
}

.select-wrapper input.select-dropdown {
    color: #ffffff;
    border: none;
}

.custom-auth-button {
    display: flex;
}

.custom-auth-button .waves-input-wrapper {
    width: 100%;
}

.auth-custom-footer {
    padding-top: 30px;
}
.auth-custom-footer > a {
    color: rgba(250, 250, 250, 0.5);
    text-decoration: none;
    margin-right: 15px;
}
.auth-custom-footer > a > i {
    color: #C2CFE0;
}

.custom-auth-button .waves-input-wrapper input[type='submit'] {
    background: #02D5D5 !important;
    border-radius: 5px;
    margin: 0;
    height: 45px !important;
}

.custom-auth-errors {
    position: absolute;
    top: -25px;
    right: 12px;
    width: 100%;
}

.custom-auth-errors .col {}

.md-form input[type=text]:focus:not([readonly]),
.md-form input[type=password]:focus:not([readonly]) {
    border-bottom: 1px solid #8EDEF8;
    box-shadow: 0 1px 0 0 #8EDEF8;
}

.md-form input[type=text]:focus:not([readonly]) + label,
.md-form input[type=password]:focus:not([readonly]) + label {
    color: #8EDEF8;
}

.md-form .auth-custom-input {
    display: flex;
}

.md-form .auth-custom-input .select-wrapper {
    margin-top: 0;
    background: rgba(255, 255, 255, 0.2) !important;
    height: 45px;
    border-radius: 0 4px 4px 0 !important;
    width: 100%;
    padding-left: 10px;
}

.md-form .auth-custom-input .select-wrapper .select-dropdown {
    margin: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.md-form .auth-custom-input .select-wrapper span.caret {
    right: 10px;
}
.md-form .auth-custom-input.auth-custom-input-label {

}
.md-form .auth-custom-input.auth-custom-input-label .form-control {
}


.md-form .auth-custom-input.invalid-input {
    border: 3px solid red;
}
.md-form .auth-custom-input .auth-custom-input-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    width: 40px;
    background: #656A87;
    border-radius: 4px 0 0 4px;
}

.md-form .auth-custom-input .auth-custom-input-icon.eye {
    width: max-content;
    height: max-content;
    position: absolute;
    background-color: unset;
    right: 12px;
    top: 12px;
    color: #FFFFFF;
    cursor: pointer;
}
.md-form .auth-custom-input .auth-custom-input-icon.eye.reg-eye {
    right: 20px;
}

.auth-custom-captcha-input > input {
    height: 40px;
    box-sizing: border-box !important;
    color: #fff;
    border: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    padding-left: 13px;
    margin-left: 10px;
}

.md-form .form-control {
    height: 45px;
    box-sizing: border-box !important;
    color: #fff;
    border: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 4px 4px 0 !important;
    padding-left: 13px;
}

.is-input-invalid {
    background: #FF5722 !important;
}

.md-form .auth-custom-input .auth-custom-input-icon.is-input-invalid i,
.md-form .auth-custom-input .auth-custom-input-icon.is-input-valid i {
    color: rgba(255, 255, 255, 0.6) !important;
}

.is-input-valid {
    /*background: #4CAF50 !important;*/
}

.err_msg {
    color: #FF5722;
    font-size: 10px;
}

.navbar.navbar-dark form .md-form input:focus:not([readonly]) {
    border-color: #8EDEF8;
}

.captcha-refresh {
    color: #ffffff;
}

#captcha_1 {
    color: #ffffff;
}

.inline-ul {
    position: absolute;
    top: -20px;
    right: 0;
}

.inline-ul > ul {
    list-style: none;
    font-size: 10px;
    color: #FF5722;
}

@media screen and (max-width: 1024px) {
    .md-form {
        margin-top: 1rem;
    }
    .md-form .form-control {
        height: 35px;
        font-size: 14px;
    }

    .md-form .auth-custom-input .auth-custom-input-icon {
        height: 35px;
    }
}