a, button {
    user-select: none;
}

.auth-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 1038px;
    height: 702px;
    background: white;
    border-radius: 12px;
}

.social-auth-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.text-elem-a.socials {
    margin-bottom: 14px;
}

.auth-panel-content {
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(54.83% 54.81% at 50% 50%, #252525de 0%, #000000c2 100%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    top: 0;
    left: 0;
}

svg.close_auth {
    position: absolute;
    right: -24px;
    top: -17px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
}

svg.close_auth:active {
    transform: scale(0.8);
}

svg.close_auth:hover {
    transform: scale(1.2);
}

/* Контейнер всех панелей — позиционируется сверху */
.panel-auth {
    position: absolute;
    left: 0;
    width: 100%;
    transition: transform .35s ease, opacity .35s ease;
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
}

/* Активная панель */
.panel-auth.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Панель уходит влево */
.panel-auth.exit-left {
    transform: translateX(-40px);
    opacity: 0;
}

/* Панель уходит вправо */
.panel-auth.exit-right {
    transform: translateX(40px);
    opacity: 0;
}

button.custom-button.disable {
    pointer-events: none;
    opacity: 0.6;
}

.button-auth {
    display: flex;
}

.object-checkbox {
    display: flex;
    margin-bottom: 5px;
    gap: 17px;
    margin-top: 25px;
}

.object-checkbox.error {
    background: #feb7b7;
}

img.social-ico.yandex-ico {
    width: 27px;
}

.auth-button.selected {
    opacity: 0.8;
    pointer-events: none;
}


.input.error_input {border-color: #F44336;color: #F44336;}

.error-input-container {
    color: #F44336;
    transition: 0.3s;
    margin-top: 3px;
    font-size: 12px;
    opacity: 0;
    position: absolute;
    display: flex;
}

.error-input-container.found {
    color: #8BC34A;
}

input.active {
    border-color: #8BC34A!important;
    background: #8bc34a12!important;
}

.code_input {
    width: 41px;
    height: 44px;
    outline: none;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 15px;
    font-size: 14px;
    margin-left: 5px;
    margin-right: 5px;
    transition: 0.3s;
    text-align: center;
    line-height: 15px;
    color: #5c5c5c;
    border: 1px solid #E5E5E7;
    background: #F8F9FB;
    border-radius: 4px;
}

span.cr {
    color: #FF4545;
}

.group-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lvl-password-object.active-1 {
    background: #e73535;
}
.lvl-password-object.active-2 {
    background: #e77c35;
}
.lvl-password-object.active-3 {
    background: #bbeb85;
}
.lvl-password-object.active-4 {
    background: #AED334;
}
.lvl-password-object {
    width: 35px;
    height: 3px;
    background: #d5d5d5;
    margin-left: 10px;
    transition: 0.3s;
    border-radius: 3px;
}


.description-text-a {
    color: #383838;
    
    font-size: 13px;
    
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 20px;
    letter-spacing: -0.1px;
    text-align: center;
}

text.login-text-4.text_mail_reset {
    display: contents;
    text-align: center;
    color: #673AB7;
}

.lvl-password {
    display: flex;
}

text.text-password-lvl {
    margin-right: 15px;
    color: #383838;
    
    font-size: 14px;
    
    font-weight: 500;
    letter-spacing: -0.1px;
}

.group-password-lvl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    margin-top: 15px;
}

.group-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-pane {
    height: 100%;
    display: grid;
    justify-items: center;
    align-items: center;
}

.right-pane {
    height: 100%;
    background-image: url(/img/auth/background-right.png);
    display: grid;
    justify-items: center;
    align-items: end;
    padding-bottom: 50px;
    background-color: #2c1218;
    background-size: cover;
    animation: zoomIn 4s ease-in-out infinite alternate;
}

/*
*/
/* Изначально скрыто */
.auth-panel-content {
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

/* Активное состояние */
.auth-panel-content.active {
    opacity: 1;
    visibility: visible;
}

/* Чтобы панель внутри тоже плавно появлялась */
.auth-panel {
    opacity: 0;
    transition: 0.5s ease 0.1s;
    transform: translateY(40px);
}

.auth-panel-content.active .auth-panel {
    opacity: 1;
    transform: translateY(0);
}
/*
*/

.right_elem_auth {
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    border-radius: 0px 12px 12px 0px;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

text.copy_password_input_text {
    display: none;
}

.code_input.active {
    border: 0.5px solid #1aa94d;
}
.code_input.error {
    border: 0.5px solid #E13A53;
}

input.error_input::placeholder {
    color: #F44336!important;
}

img.copy_password {
    position: absolute;
    filter: invert(0.2);
    right: 12px;
    cursor: pointer;
    margin-top: 14px;
}

input.error_input {border-color: #F44336!important;color: #F44336!important;}

.message-input, .error-message {
    color: #ff6767;
    
    font-size: 13px;
    
    font-weight: 500;
    margin-bottom: 18px;
    width: 100%;
    display: flex;
    letter-spacing: -0.1px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

text.copy_password_input_text {
    display: none;
}

.reset-password-3-block {
    color: #383838;
    
    font-size: 13px;
    
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 20px;
    letter-spacing: -0.1px;
    text-align: center;
}

text.white-reset-password-3 {
    color: #673AB7;
}

h1.text-h {
    margin-bottom: 12px;
    color: #383838;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
}

.panel-auth.reset-password {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

p.text-auth {
    color: #323539;
    font-size: 14px;
    font-weight: 500;
}

.auth-button {
    width: 100%;
    border-radius: 6px;
    border: solid 1px #E5E5E7;
    height: 46px;
    display: flex;
    align-items: center;
    transition: 0.2s;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    justify-content: center;
}

img.google-ico {
    margin-top: -6px;
}

.text-elem-a {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    margin-top: 16px;
    gap: 18px;
}

.solid {
    width: 100%;
    height: 1px;
    background: #EAEBF0;
}

.auth-button:hover {
    opacity: 0.7;
}

p.text-p-auth {
    letter-spacing: -0.14px;
    color: #858C95;
    font-size: 13px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
}

p.text-object-input-b {
    margin-bottom: 4px;
    color: #383838;
    font-size: 14px;
    
    font-weight: 500;
}

input.custom-input-2:focus {
    border: solid 1px #8e80ff;
}

input.custom-input-2 {
    border-radius: 6px;
    border: 1px solid #E5E5E7;
    background: #F8F9FB;
    width: 100%;
    height: 46px;
    padding-left: 12px;
    padding-right: 12px;
    transition: 0.2s;
    outline: none;
    color: #858C95;
    font-size: 13px;
    font-weight: 400;
}

a.custom-a {
    color: #7A6AF4;
}

.border-pane {
    width: 425px;
    position: relative;
    height: 100%;
    display: flex
;
    align-items: center;
    justify-content: center;
}

.input-object-b {
    margin-top: 15px;
}

button.custom-button:hover {
    outline: solid 6px #5044b061;
}

button.custom-button {
    display: flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
    border-radius: 6px;
    cursor: pointer;
    height: 46px;
    width: 100%;
    border: none;
    color: #FFF;
    font-size: 15px;
    font-weight: 600;
    background: radial-gradient(50% 50% at 50% 50%, #7A6AF4 0%, #5044B0 100%);
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.04);
    outline: solid 6px #5044b000;
}

p.text-a {
    color: #858C95;
    
    font-size: 14px;
    
    font-weight: 400;
    line-height: 24px;
}

p.text-link:hover {
    color: #9183ff;
    text-decoration: underline;
}

p.text-link {
    color: #7A6AF4;
    
    font-size: 14px;
    
    font-weight: 400;
    cursor: pointer;
    transition: 0.2s;
    line-height: 24px;
}

.group-info {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

@media (max-width: 1100px){
    .right-pane {
        display: none;
    }
    .auth-panel {
        grid-template-columns: repeat(1, 1fr);
    }
    .left-pane {
        height: 100vh !important;
        width: 100%;
        display: grid;
        justify-items: center;
        align-items: center;
    }
    .auth-panel {
        width: 100% !important;
        height: 100% !important;
    }
    svg.close_auth {
        position: absolute;
        right: 25px;
        top: 25px;
    }
}

@media (max-width: 500px){
    .border-pane {
        width: 90%;
    }
}