@font-face {
    font-family: Websource;
    src: url(/admin/fonts/Websource-Regular.woff2);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: Websource;
    src: url(/admin/fonts/Websource-Bold.woff2);
    font-weight: bold;
    font-style: normal;
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Websource, sans-serif;
    font-size: 13px;
    outline: none;
    color: #a4a4a6;
}
body {
    background: url(/admin/images/bg.jpg) center;
    background-size: cover;
}
a {
    text-decoration: none;
    color: #222d32;
}
h1, h2 {
    font-size: 29px;
    margin-bottom: 40px;
    color: #fff;
    text-align: left;
    max-width: 320px;
}
input[type=text], input[type=password], input[type=email] {
    width: 100%;
    border: none;
    border-bottom: 1px solid #b7b6b8;
    background: none;
    padding: 6px 30px;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="date"],
textarea,
input[type="tel"],
select,
input[type="submit"] {
    -webkit-appearance: none;
}
.left input[type=text], .left input[type=password], .left input[type=email] {
    border-bottom: 1px solid #6392dd;
}
:focus::-webkit-input-placeholder {
    color: transparent;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
input[type=checkbox] {
    display: none;
}
input[type=checkbox] + label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
input[type=checkbox] + label:before {
    font-family: wsicon;
    width: 14px;
    height: 14px;
    border: 1px solid #bebebf;
    border-radius: 2px;
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
input[type=checkbox]:checked + label:before {
    width: 16px;
    height: 16px;
    background: #4285ee;
    border: none;
    content: '\e006';
    color: #fff;
}
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus {
    border-bottom: 1px solid #4285ee;
}
.left input[type=text]:focus, .left input[type=password]:focus, .left input[type=email]:focus {
    border-bottom: 1px solid #fff;
}
input[type=submit] {
    background: #4285ee;
    border-radius: 25px;
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 11px 40px 12px;
    min-width: 180px;
    cursor: pointer;
}
.input {
    position: relative;
}
.input .error, .input .done {
    font-family: wsicon;
    position: absolute;
    font-size: 22px;
    right: 0;
    bottom: 5px;
    display: none;
}
.input .error:before {
    content: '\e010';
    color: #ff6464;
}
.input .done:before {
    content: '\e012';
    color: #4ae85f;
}
.input .error-text {
    max-width: calc(100% + 9px);
    position: absolute;
    font-size: 12px;
    right: -9px;
    bottom: calc(100% + 10px);
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    display: none;
    color: #ff6464;
}
.input .error:hover + .error-text, .input input:focus ~ .error-text {
    display: block;
}
.input .error-text:after {
    border: 10px solid transparent;
    border-top-color: #fff;
    border-bottom: 0;
    content: '';
    position: absolute;
    top: 100%;
    right: 10px;
}
input[type=submit]:hover {
    background: #3c7de2;
}
.authorization {
    width: 100vw;
    height: 100vh;
    overflow: hidden auto;
    display: flex;
}
.authorization .left, .authorization .right {
    min-height: 460px;
}
.authorization .logo {
    margin-bottom: 70px;
}
.authorization .logo img {
    width: 265px;
}
.authorization .left {
    width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 1s;
    position: relative;
}
.registration .left {
    width: calc(100% - 460px);
}
.authorization .left .switch {
    z-index: 1;
    position: absolute;
    bottom: 110px;
    right: -150px;
    background: #efefef;
    padding: 24px;
    border-radius: 45px;
    width: 210px;
    height: 88px;
}
.authorization .left .switch div {
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 25px;
    border: 1px solid #b7b6b8;
    padding: 0 24px 0 54px;
    position: absolute;
    cursor: pointer;
    overflow: hidden;
    top: 24px;
    left: 24px;
    transition: 1.5s;
    opacity: 1;
}
.authorization .left .switch div:last-child, .registration .left .switch div:first-child {
    opacity: 0;
}
.registration .left .switch div:last-child {
    opacity: 1;
}
.authorization .left .switch div:before {
    font-family: wsicon;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    left: 5px;
    top: 4px;
    background: #ee7777;
    content: '\e003';
    transition: 1s;
    color: #fff;
}
.registration .left .switch div:before {
    transform: rotate(180deg);
}
.authorization .left input::placeholder, .authorization .left form .input .ws-icon {
    color: #6392dd;
}
.authorization .left form .input .ic-lock-2 {
    margin-left: 2px;
}
.authorization .left form .input .ic-mail {
    font-size: 13px;
}
.authorization .left form .buttons {
    margin-top: 50px;
}
.authorization .left form .buttons input[type=submit] {
    background: #fff;
    color: #4285ee;
}
.authorization .left form .buttons input[type=submit]:hover {
    background: #c6d8f5;
}
.authorization .right {
    flex: 1;
    position: relative;
    background: #efefef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.authorization .text {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 1s;
    position: absolute;
    top: 0;
    left: 0;
}
.registration .left .text {
    left: 100%;
}
.authorization .right .text {
    left: -100%;
}
.authorization .right .text * {
    color: #1250b5;
}
.registration .right .text {
    left: 0;
}
.authorization.registration form input {
    color: #fff;
}
.authorization.registration form input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 50px #1357c4 !important;
    box-shadow: inset 0 0 0 50px #1357c4 !important;
    -webkit-text-fill-color: #fff !important;
    letter-spacing: 0.3px;
}
.authorization form input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 50px #efefef !important;
    box-shadow: inset 0 0 0 50px #efefef !important;
    -webkit-text-fill-color: #a4a4a6 !important;
    letter-spacing: 0.3px;
}
.authorization .text div {
    max-width: 320px;
    margin-bottom: 70px;
}
.authorization .text div p {
    color: #fff;
    line-height: 28px;
}
.authorization .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 1s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 400px;
}
.authorization .left .content {
    left: 100%;
}
.registration .left .content {
    left: 0;
}
.registration .right .content {
    left: -100%;
}
.authorization .content form {
    width: 100%;
    max-width: 330px;
}
.authorization .content .input {
    margin-bottom: 20px;
    position: relative;
}
.authorization .content .input .ws-icon, .window-background .window-body .ic-people {
    font-size: 18px;
    color: #bebebf;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.authorization .input-h {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    padding-left: 1px;
}
.authorization .input-h * {
    font-size: 12px;
}
.authorization .input-h .forgot {
    color: #4285ee;
    cursor: pointer;
}
.authorization .buttons {
    display: flex;
    justify-content: center;
}
.show-message {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 999;
    animation: message 14s linear;
    max-height: 0;
    overflow: hidden;
}
.message-error {
    background: #ff6464;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
}
.message-error:before {
    content: '\e010';
    font-family: wsicon;
    font-size: 20px;
    margin-right: 15px;
}
.message-error b:first-child {
    display: none;
}
.message-info {
    background: #008d4c;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
}
.message-info:before {
    content: '\e012';
    font-family: wsicon;
    font-size: 20px;
    margin-right: 15px;
}
.message-info b:first-child {
    display: none;
}
.message-info *, .message-error * {
    color: #fff;
    font-size: 12px;
}
.window-background {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}
.window-background .window-body {
    background: #f6f6f6;
    padding: 20px 40px 50px;
    width: 100%;
    max-width: 400px;
}
.window-background .window-body .window-title {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 50px;
}
.window-background .window-body .window-title .window-close {
    font-size: 12px;
    cursor: pointer;
    color: #bbbabc;
}
.window-background .window-body .input {
    margin-bottom: 45px;
}
@media screen and (max-width: 820px) {
    .authorization .left {
        width: 0;
    }
    .registration .left {
        width: 100%;
    }
    .authorization .left .text, .authorization .right .text {
        display: none;
    }
    .authorization .left .switch {
        left: calc(50vw - 90px);
        bottom: 55px;
        background: none;
        height: unset;
        padding: 0;
    }
    .authorization .left .switch div {
        width: 180px;
        top: 0;
        left: 0;
    }
}
@media screen and (max-width: 400px) {
    .authorization .content form {
        max-width: 300px;
    }
}
@keyframes message {
    0% {
        max-height: 0;
    }
    20% {
        max-height: 100vh;
    }
    95% {
        max-height: 100vh;
    }
    100% {
        max-height: 0;
    }
}