@import url("../../fonts/Roboto-Regular/Roboto-Regular.css");

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    line-height: 1;
    font-weight: normal;
    font-style: normal;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 16px;
    color: #000000;
}

::-webkit-input-placeholder,
:-ms-input-placeholder,
::-moz-placeholder,
:-moz-placeholder 
{ 
    color: #B6B6B6;
}

strong {
    font-weight: bold !important;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
}

a, button, .link, .btn {
    cursor: pointer;
    transition: 0.3s ease;
}

.message a,
.link 
{
    color: #04ADFF;
}

.message a:hover,
.link:not(.active):hover,
.btn:not(.active):hover
{
    opacity: 0.5;
}

.link--after {
    margin-top: 27px;
    display: inline-block;
    text-align: center;
}

.title {
    line-height: 19px;
    text-align: center;
    color: #879097;
    margin-bottom: 25px;
}

.title span {
    color: inherit;
    line-height: inherit;
}

.sub-title {
    display: block;
    color: inherit;
    /* margin-top: 2px; */
}

.btn {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 10px;
    background: #1895D6;
    text-align: center;
    line-height: 19px;
    color: #FFFFFF;
    font-weight: 700;
}

.sub-title a.link {
    display: inline-block;
    vertical-align: middle;    
}

.sub-title a.link.active {
    font-weight: bold;
    color: #000000;
    cursor: default
}

.message {
    /* display: none; */
    background: #FEF1F0;
    border: 1px solid #FBBBBD;
    line-height: 19px;
    padding: 10px 15px;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: left;
}

.bg--yellow {
    background: #FFF6D6;
    border: 1px solid #FBDA6C;
}

.bg--green {
    background: #EAF9E0;
    border: 1px solid #ACD491;
}

.bor-rad-10 {
    border-radius: 10px;    
}

.bor-rad-6 {
    border-radius: 6px;    
}

.bor-rad-4 {
    border-radius: 4px;    
}

.auth-logo {
    display: inline-block;
    margin-bottom: 40px;
}

.auth-logo img {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

html, body {
    background: #F7F7F7;
    width: 100%;
    height: 100%;
}

.auth-wrap {
    display: table;
    width: 100%;
    height: 100%;
}

.auth-wrap-inner {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.auth-container {
    display: flex;
    justify-content: center;
    border: 1px solid #DDDDDD;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.auth-container__news,
.auth-container__form 
{
    width: 50%;
    padding: 27px 25px;
}

.auth-container__news
{
    background: #F3FBFF;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
    text-align: center;
}

.auth-container__form 
{
    background: #FFFFFF;
    border-left: 1px solid #DDDDDD;
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
}

.news {
    text-align: left;
}

.news__item {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #DDDDDD;
    padding: 9px 35px 9px 10px;
    margin-bottom: 15px;
    background: #FFFFFF;
}

.news__item:hover:before {
    animation: shake 1s linear;
}

.news__item:last-of-type {
    margin-bottom: 0;
}

.news__item:before {
    position: absolute;
    content: '\f105';
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    color: #B6B6B6;
    width: 25px;  
    text-align: right;
    right: 10px;
    top: 50%;
    transform: translate(0, -50%);
}

.news__icon {
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    margin-right: 15px;
    text-align: center;
    
    background: #6FCF97;
}
/* ------- News ------- */

.news-schedules{
    background-color: #F1994A;
}

.news-service-update{
    background-color: #BB6BD9;
}

.news-important{
    background-color: #EB5757;
}

.news-features{
    background-color: #6FCF97;
}

.news-userful{
    background-color: #57BCFC;
}
.news__icon i {
    font-size: 24px;
    line-height: 40px;
    color: #FFFFFF;
}

.news__text {
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
}

.form-elem {
    margin-bottom: 15px;
    position: relative;
}

.form-elem input {
    display: block;
    width: 100%;
    height: 40px;
    background: #F7F7F7;
    border: 1px solid #DDDDDD;
    line-height: 19px;
    padding: 9px 13px;
}

.form-elem.domain input {
    padding-right: 110px;
}

.form-elem.domain .domain-text {
    position: absolute;
    right: 13px;
    top: calc(50% - 1px);
    transform: translate(0, -50%);
    text-align: right;
    line-height: 19px;
}

form .btn {
    margin-top: 20px;
}

.captcha_auth .captcha {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 !important;
    text-align: left;
}

.captcha_text {
    line-height: 19px;
    margin-right: 10px;
}

.captcha_text strong {
    display: block;
}

.captcha_group {
    display: flex;
    align-items: center;
    line-height: unset;
    /* width: 100%; */
}

.captcha_item {
    display: block;
    overflow: hidden;
    position: relative;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 10px 0 0;
    text-align: center;
    cursor: pointer;
    transition: all .35s ease-out;
    background: #F7F7F7;
    border: 1px solid #DDDDDD;
    color: #879097;
    border-radius: 6px; 
}

.captcha_item:last-of-type {
    margin-right: 0;
}

.captcha_item:not(.active):hover {
    background: #FFFFFF;
    border: 1px solid #289FE4;
}

.captcha_item.active {
    background: #E2F0FB;
    border: 1px solid #289FE4;
    color: #289FE4;
}

.captcha_item i {
    font-size: 18px;
    color: inherit;
    line-height: unset;
    position: relative;
    top: -1px;
}

.auth-form__item {
    display: none;
    text-align: center;
}

.auth-form__item form {
    text-align: left;
}

.clearfix:before, .clearfix:after {
    display: none;
}

.auth-footer {
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    color: #879097;
    margin-top: 30px;
}

.auth-footer a {
    font-size: inherit;
}

@keyframes shake {
    0% {
        right: 10px;
    }
    35% {
        right: 5px;
    }
    50% {
        right: 10px;
    }
    85% {
        right: 5px;
    }
    100% {
        right: 10px;
    }
}


@media all and (max-width: 950px) {
    .auth-logo img {
        width: 75px;
    }
}

@media all and (max-width: 767px) {
    * {
        font-size: 12px;
    }
    .bor-rad-10 {
        border-radius: 8px;    
    }
    .bor-rad-6 {
        border-radius: 4px;    
    }
    .bor-rad-4 {
        border-radius: 2px;    
    }
    .message {
        line-height: 16px;
        padding: 8px 12px;
        margin-bottom: 12px;
    }
    .auth-container__news, .auth-container__form {
        padding: 17px 15px;
        max-height: 380px;
    }
    .auth-container__news {
        width: 23vw;
        padding-left: 8px;
        padding-right: 8px;
        overflow: hidden auto;
    }
    .auth-container__form {
        width: calc(100% - 23vw);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .news__item {
        padding: 7px 10px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        max-width: 85px;
        margin: 0 auto 8px;
    }
    .news__icon {
        margin: 0 auto 5px;
        min-width: 45px;
        max-width: 45px;
        height: 45px;
    }
    .news__text {
        font-size: 9px;
        line-height: 11px;
    }
    .news__item:before {
        display: none;
    }
    .title {
        line-height: 16px;
        margin-bottom: 17px;
    }
    .news__icon i {
        font-size: 25px;
        line-height: 45px;
        color: #FFFFFF;
    }
    .link--after {
        margin-top: 20px;
        line-height: 14px;
    }
    .form-elem {
        margin-bottom: 8px;
    }
    .form-elem.domain .domain-text {
        right: 10px;
        line-height: 16px;
    }
    .form-elem input {
        height: 35px;
        line-height: 16px;
        padding: 7px 10px;
    }
    .form-elem.domain input {
        padding-right: 85px;
    }
    .btn {
        min-height: 35px;
        padding: 7px 8px 8px;
        line-height: 15px;
    }
    .captcha_text strong {
        display: initial;
    }
    .captcha_text {
        line-height: 16px;
        margin: 0 0 5px;
    }
    .captcha_item {
        width: 45px;
        height: 45px;
        line-height: 45px;
        margin: 0 6px 0 0;
        border-radius: 4px;
    }
    .captcha_item i {
        font-size: 20px;
    }
    form .btn,
    .captcha_auth .captcha 
    {
        margin-top: 13px;
    }
    .auth-wrap-inner {
        padding: 0 15px;
    }
    .auth-logo {
        margin-bottom: 25px;
    }
    .auth-form__item {
        width: 80%;
        min-width: 167px;
    }
    .auth-form__item .title {
        font-size: 20px;
    }
    .auth-form__item .sub-title {
        margin-top: 5px;
    }
    .auth-footer {
        font-size: 12px;
        line-height: 16px;
        margin-top: 17px;
    }
} 

@media all and (max-width: 600px) {
    .auth-container__news {
        width: 110px;
    }
    .auth-container__form {
        width: calc(100% - 110px);
    }
    .auth-logo {
        margin-bottom: 20px;
    }
    .auth-form__item {
        width: 85%;
    }
}

@media all and (max-width: 360px) {
    .auth-wrap-inner {
        padding: 0 10px;
    }
    .captcha_item {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin: 0 5px 0 0;
    }
    .auth-container__form {
        padding-left: 10px;
        padding-right: 10px;
    }
    .captcha_group {
        justify-content: space-between;
    }
    .captcha_item i {
        font-size: 14px;
    }
    .auth-form__item .title {
        font-size: 18px;
    }
}



.auth-wrap #auth-tg-confirm.active,
.auth-wrap #auth-2fa-confirm.active,
.auth-wrap #auth-tg-confirm_domain.active,
.auth-wrap #auth-2fa-confirm_domain.active{
    display:block!important;
}
.auth-wrap input[readonly]{
    background-color:#eee;
}
.auth-wrap input[type=text],
.auth-wrap input[type=password],
.auth-wrap textarea{
    border-radius:6px;
}
.auth-wrap input.error{
    border:1px solid #EB5757;
}
.auth-wrap .auth-form__item button{
    display:flex;
    align-items:center;
    justify-content:center;
    line-height: 16px;
}

.auth-wrap .auth-form__item button[disabled],
.auth-wrap .auth-form__item button[disabled]:hover{
    background: #E0E0E0;
    color:#fff;
    opacity:1;
}
.auth-wrap .form-elem i.fa-circle-check{
    position: absolute;
    right: 0;
    z-index: 2;
    top: calc(50% - 9px);
    right: 14px;
    font-size: 16px;
    color: #6FCF97;
    pointer-events: none;
}
.fa-circle-check:before {
    content: "\f058";
}
.auth-wrap button[disabled]{
    position:relative;
    color: #fff!important;
}
.auth-wrap button.loader[disabled],
.auth-wrap button.loader[disabled]:hover{
    color: transparent!important;
    background: #1895D6;
}
.auth-wrap button[disabled] i.fa-spinner{
    position: relative;
    color:#fff;
    display: block;
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
    z-index: 2;
}
.auth-wrap .change-auth-meth{
    line-height: 19px;
    text-align: center;
    color: #04ADFF;
    cursor: pointer;
    display: table;
    margin: 24px auto 0;
    transition:opacity 0.2s
}
.auth-wrap .change-auth-meth:hover{
    opacity:0.5;
}
.auth-wrap .timer {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    width: 40px;
    white-space: nowrap;
    justify-content: flex-end;
    margin-right: 15px;
}
.auth-wrap .timer.resend {
    cursor: pointer;
    margin-right: 0;
    justify-content: center;
}
.auth-wrap .timer i {
    color: #04ADFF;
}
.auth-wrap .remember-device-box {
    display: table;
    margin: 26px auto 0;
    width: 100%;
    max-width: 800px;
    position: relative;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}
.auth-wrap .remember-device-box [for="remember-device"] {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000000;
    cursor: pointer;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}
.auth-wrap .remember-device-box.active [for="remember-device"]{
    background: #F3FBFF;
}
.auth-wrap .remember-device-box input {
    height: 14px;
    width: 14px;
    position: absolute;
    top: calc(50% - 7px);
    left: 13px;
}
.auth-wrap .remember-device-box{
    display:none;
}
.fa-spinner:before {
    content: "\f110";
    animation: fa-spin 2s infinite linear;
}
.auth-wrap .auth-container__form .link--after{
    margin-top: 25px;
}
.auth-wrap .auth-container__form .title span {
    height:19px;
}
/* Checkbox */
.auth-wrap .input--checkbox[disabled]:checked::before {
    border-color: #dbdbdb;
}

.auth-wrap .input--checkbox {
    position: relative;
    top: 2px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
    transition: all 0.15s ease-out 0s;
    background: #fff;
    border: 1px solid #c4c4c4;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}
.auth-wrap .input--checkbox:hover {
    border: 1px solid #009ee1;
}
.auth-wrap .input--checkbox:checked {
    background: #009ee1;
    border: 1px solid #009ee1;
}
.auth-wrap .input--checkbox:checked::before {
    content: '';
    position: absolute;
    left: 4px;
    top: .5px;
    width: 3px;
    height: 6px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    /*transform: rotate(45deg);*/
    transform: rotate(33deg) translate(-4%, 4%);
}

.auth-wrap .input--checkbox:checked::after {
    background: #009ee1;
    content: '';
    display: block;
    position: relative;
}

@-moz-document url-prefix() {
    .input--checkbox:checked::before {
        top: 1px;
    }
}

/* Checkbox END */

/* Radio */

.auth-wrap .input--radio {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    top: 2px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
    transition: all 0.15s ease-out 0s;
    background: #fff;
    border: 1px solid #E0E0E0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin: 0;
    outline: none;
    position: relative;
    border-radius: 50%;
}

.auth-wrap .input--radio:hover {
    border: 1px solid #2d9cdb;
}

.auth-wrap .input--radio:checked {
    border: 1px solid #2d9cdb;
}

.auth-wrap .input--radio:checked::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2d9cdb;
    top: 0;
    left: 0;
    transform: translate(70%, 70%);
}

.auth-wrap .input--radio:checked::after {
    background: #2d9cdb;
    content: '';
    display: block;
}

@-moz-document url-prefix() {
    .input--radio {
        width: 15px;
        height: 15px;
        min-width: 15px;
        min-height: 15px;
        max-width: 15px;
        max-height: 15px;
    }
}
.auth-wrap .form .btn{
        margin-top: 20px;
}
.auth-wrap input[name^="confirm-tg"]::-webkit-contacts-auto-fill-button {
    visibility: hidden!important;
    display: none !important;
    pointer-events: none!important;
    position: absolute!important;
    left: -99999px!important;
}
.fa-redo-alt:before,
.fa-rotate-forward:before,
.fa-rotate-right:before {
    content: "\f2f9";
}
/* Radio END */