﻿.registration-container * {
    margin: 0;
    padding: 0;
}
.registration-container {
    display: flex;
    justify-content: center;
}
.registration-container-inner {
    max-width: 1032px;
    width: 100%;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    max-height: 510px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
}
.img-container {
    width: 50%;
    height: 100%;
}
.form-container {
    width: 50%;
}
.RuTeenModalCont-content {
/*    height: 100%;*/
}
.RuTeenModalCont-dialog {
    width: 100%;
/*    height: 100%;*/
}
    .RuTeenModalCont-dialog .modal-content {
/*        height: 100vh;*/
    }
.form-info {
    padding: 20px;
    position: relative;
    background-color: #40BFC8;
    height: 100%;
    min-height: 510px;
    max-height: 510px;
    color: #fff;
    pointer-events: none;
    transition: all 0.6s ease
}
.form-info.active {
    opacity: 1;
    pointer-events: all;
}

.form-info.inactive {
    opacity: 0;
    pointer-events: none;
}
.register-img {
    position: absolute;
    bottom: 0;
    left: 0;
}
.login-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.subtract {
    position: absolute;
    top: 0;
    right: 0;
}
#login-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#register-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateY(-100%);
}
.register-text-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#login-info h2, #register-info h2 {
    font-size: 46px;
    font-weight: 900;
}
.register-text-info p {
    max-width: 260px;
}
.register-text-info span {
    font-size: 46px;
    font-weight: 900;
}
.text-bottom {
    z-index: 25;
}
.text-bottom p {
    font-size: 12px;
}
#login-info p {
    max-width: 320px;
}
.form-container {
    padding: 20px;
    background-color: #fff;
    max-height: 510px;
    overflow: hidden;
}
.button-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #F8F8F8;
    border-radius: 12px;
    gap: 5%;
    background-color: #F4F5F5;
    padding: 5px 5px;
}

.authenitificate-animation {
    position: absolute;
    background-color: #E96C4B;
    width: 48%;
    height: 70%;
    border-radius: 8px;
    left: 0;
    transition: all 0.6s ease;
    z-index: 1;
    margin: 0px 5px;
}

.login-button, .register-button {
    position: relative;
    width: 50%;
    background-color: transparent;
    outline: none;
    border: none;
    color: #E96C4B;
    border-radius: 6px;
    padding: 7px 0;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    transition: color 0.6s ease;
}

.active-button {
    color: #fff !important;
    pointer-events: none;
}

.inactive-button {
    color: #E96C4B;
    pointer-events: auto;
}
.registration-modal-container {
    display: flex;
    align-items: start;
    justify-content: center;
    width: 100%;
}
#authContainer {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#loginFormWrapper, #registerFormWrapper {
    height: 100%;
    max-height: 445px
}
#registerFormWrapper {
    position: absolute;
    top: 0;
}
    .form-upper {
        width: 70%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
        gap: 30px;
    }
.RuTeenInput {
    width: 100%;
    max-width: 600px;
    background-color: #F8F8F8;
    border: none;
    outline: none;
    padding: 8px 10px;
    border-radius: 5px;
}
.input-validation-error {
    border: 1px solid #962237;
}
.field-validation-error {
    color: #962237;
}
.RuTeenModal-body_signup {
    height: 100%;
}
#authForm {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex-grow: 1;
    padding-bottom: 30px;
}
#regForm {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0px 30px;
    width: 100%;
}
.registration-top, .registration-middle, registration-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.action-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding-right: 10px;
    margin-top: auto;
}
.back-button, .action-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    border-radius: 12px;
    outline: none;
    background-color: transparent;
    font-weight: 600;
}
.back-button {
    border: 2px solid #E96C4B;
    color: #E96C4B;
    text-decoration: none;
}
.action-button {
    color: #fff;
    background-color: #E96C4B;
}
.RuTeenModal-body_signup {
    width: 100%;
}
.RuTeenInputCont-signup {
    width: 100%;
    max-width: 600px;
}
.auth-form {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease;
}
.error-message + #password2 {
    border: 1px solid #962237
}
    .auth-form.login-form {
        transform: translateX(0);
/*        opacity: 1;*/
    }

    .auth-form.register-form {
        transform: translateX(100%);
/*        opacity: 0;*/
    }

    .auth-form.login-form.hidden {
        transform: translateX(-100%);
/*        opacity: 0;*/
    }

    .auth-form.register-form.shown {
        transform: translateX(0);
/*        opacity: 1;*/
    }

.input-error {
    border: 1px solid #962237 !important;
}

.error-message {
    color: #962237;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.error-box {
    color: #962237;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #962237;
    border-radius: 4px;
}

.password-container {
    position: relative;
    width: 100%;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.passwordInput {
    width: 100%;
    padding-right: 40px; /* Место для иконки */
    box-sizing: border-box; /* Чтобы padding не влиял на ширину */
}
.validation-inn {
    position: absolute;
    top: 32px;
    left: 0;
}
.validation-activityphone {
    position: absolute;
    top: 32px;
    left: 0;
}
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
}

.password-error {
    display: block;
    margin-top: 5px;
    color: #962237;
    font-size: 13px;
    min-height: 18px; /* Фиксированная высота для сохранения layout */
}
.validation-error {
    display: block;
    margin-top: 5px;
    color: #962237;
    font-size: 13px;
}
    .validation-error:empty {
        display: none;
    }
.general-error-box {
    color: #962237;
}
.registrationMobile {
    width: calc(100% - );
}
.MobileFirstStep{
    display: none;
}
.WarningResetEmail{
    display: flex;
    align-items: start;
    gap: 4px;
    margin-top: 20px;
}
.InviteSupp {
    color: #267AFC;
    text-decoration: underline;
}
.WarningTextResetCont{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
}
.WarningInfo {
    font-size: 12px;
    font-weight: 500;
    color: #3F3F3F;
}
.contforinputanother{

}
#forgotPasswordForm{
    display: flex;
    flex-direction: column;
}
#contresetpswrd {
    margin-top: 30%;
}
.MobileInfoForgetPassword {
    display: none;
    color: #FFFFFF;
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 800;
}
.MobileInfoForgetPassword-p {
    font-size: 16px;
    text-align: start;
}
#resetPasswordForm {
    padding-top: 120px;
}
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}
#resetPasswordForm {
    display: flex;
    flex-direction: column;
}
@keyframes spin {
    to

{
    transform: rotate(360deg);
}

}

button.disabled, button.loading {
    pointer-events: none;
}
@media (max-width: 767px) {
    .MobileInfoForgetPassword {
        display: block;
    }
    .WarningInfo {
        color: #FFFFFF;
    }
    .InviteSupp{
        color: #FFFFFF;
    }
    .img-container {
        display: none;
    }
    .registration-container-inner {
        max-width: unset;
        width: calc(100% - 20px);
        max-height: unset;
        border-radius: 20px 20px 20px 20px;
    }
    .form-container {
        width: 100%;
        max-height: unset;
        background-color: #219FA8;
        background-image: url("/img/MobileRegBackground.svg");
        background-repeat: no-repeat;
        background-position: bottom center;
        background-size: 100%;
        padding: 16px 10px 0px 10px;
    }
    .registration-container{
        height: calc(100vh - 50px);
        width: 100%;
    }
    .mobileLinkReg {
        color: #F4F5F5;
    }
    .form-upper {
        width: 90%;
    }
    .action-container{
        flex-direction: column-reverse;
        padding-right: 10px;
        padding-left: 10px;
    }
    .MobileregFixBtn {
        border: 0;
        color: #FFFFFF;
        font-size: 18px;
        text-decoration: underline;
    }
        .MobileregFixBtn:hover {
            background-color: unset;
            color: #FFFFFF;
            border-color: unset;
            transform: unset;
            box-shadow: unset;
        }
        .MobileregFixBtn:active {
            background-color: unset;
            transform: unset;
            box-shadow: unset;
        }
        .PrimaryMobileregFixBtn {
            font-size: 18px;
        }
    #regForm {
        opacity: 0;
        pointer-events: none;
        justify-content: start;
        gap: 50px; 
    }
    .MobileFirstStep{
        margin-top: 30px;
        position: absolute;
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        height: 70vh;
    }
    .FirstStepMobileText {
        font-size: 40px;
        color: #FFFFFF;
         font-weight: 900;
    }
    .MobileFirstStep-h1 {
        font-size: 22px;
        font-weight: 900;
        color: #FFFFFF;
    }
    .MobileFirstStep-des {
        font-size: 12px;
        font-weight: 500;
        color: #FFFFFFD9;
        margin-bottom: 31px;
    }
        .MobileFirstStep-des a {
            color: #FFFFFFD9;
        }
    .PrimaryMobileregFixBtn {
        font-size: 18px;
        font-weight: 800;
        height: 48px;
        margin-top: auto; 
    }
    .MobileFirstStep, #regForm {
        transition: opacity 0.3s ease;
    }
    .button-container{
        height: 42px;
    }
    .authenitificate-animation{
        width: 47%;
        height: 34px;
    }
    .login-button, .register-button{
        height: 34px;
        font-size: 20px;
        font-weight: 800;
    }
    #loginFormWrapper, #registerFormWrapper {
        max-height: calc(100% - 60px);
    }
    .doubleInput-x{
        flex-direction: column; 
    }
}
