* {
    box-sizing: border-box;
    font-family: FiraSansCondensed;
    user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
body {
    padding: 0;
    margin: 0;
    background: #d2e2eb;
 }
 .content {
    max-width: 1230px;
    margin: auto;
    padding: 15px 40px;
}
.login-block {
    width: 90%;
    max-width: 400px;
    margin: auto;
    margin-bottom: 40px;
    margin-top: 40px;
}
#login_form .input_wrap {
    position: relative;
    max-width: 400px;
}
.input_wrap {
    margin-bottom: 20px;
    margin-top: 40px;
}
#register-form input, #register-form select, #login_form input, #form-remind input {
    outline: 0;
    border: 1px solid #dddddd8f;
    width: 100%;
    max-width: 400px;
    height: 50px;
    font-size: 16px;
    font-weight: 500;
    padding: 0 40px 0 15px;
    border-radius: 14px;
    color: #333333;
    background: #fff;
}
#register-error, #login-error, #remind-error, #register-modal-error {
    min-height: 22px;
    color: #ff0000;
    margin-bottom: 20px;
    font-weight: 500;
}
#register-form button, #login_form button, #form-remind button, .login_form button {
    cursor: pointer;
    outline: 0;
    border: 0;
    width: 100%;
    max-width: 400px;
    height: 60px;
    border-radius: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    transition: .2s ease-in-out background-color, .2s ease-in-out color, .2s ease-in-out border-color;
}
#register-form button.disabled, #login_form button.disabled, #form-remind button.disabled, .login_form button.disabled {
    background: #9f9f9f73;/*#dddddd8f;*/
    color: #333333;
    cursor: default;
}
#register-form .button_wrap, #login_form .button_wrap, #form-remind .button_wrap {
    margin-top: 20px;
    margin-bottom: 30px;
}
.button {
    background: #45c1e5;
}


.error {
    border: 1px solid #ff4444 !important;
    /*background: #ffecec;*/
    animation: shake 0.25s ease-in-out;
}

@keyframes shake {
    0%   { transform: translateX(0); }
    25%  { transform: translateX(-5px); }
    50%  { transform: translateX(5px); }
    75%  { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}


/*** Капча Антибот ***/
#antibot-container {
    border-radius: 14px;
    position: relative;
    width: 100%;
    height: 58px;
    border: 1px solid #dddddd8f;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all .2s;
    overflow: hidden;
    color: #333333; 
    padding: 14px;
    cursor: pointer;
}
#antibot-container[data-state="progress"], #antibot-container[data-state="done"]{
    cursor: default;
}
#antibot-container .checkbox {
    width: 25px;
    height: 25px;
    border: 1px solid #aaaaaad1;
    border-radius: 6px;
    background-color: #fafafa91;
}
#antibot-container[data-state="progress"] .checkbox {
    border: 3px solid #b4b4b44d;
    border-top-color: #898989;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}   
#antibot-container[data-state="done"] .checkbox {
    border: 1px solid transparent;
    background-image: url('/img/human_ok.svg');
    background-size: cover;
}  
#antibot-container[data-state="error"] .checkbox {
    border: 1px solid transparent;
    background-image: url('/img/human_error.svg');
    background-size: cover;
}
@keyframes spin {
    to {transform: rotate(360deg);}
}
.invisible{
    display: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important; /* твой цвет */
    box-shadow: 0 0 0px 1000px #fff inset !important;
    -webkit-text-fill-color: #000 !important; /* цвет текста */
    transition: background-color 5000s ease-in-out 0s; /* убирает мигание */

}
.button{
    background: #45c1e5;
}
.button:hover{
    background: #43d0f3;
}
.button:active{
    background: #07c5e9;
}



/* Псевдо Input */
#pseudo_input {
    opacity: 0;
    position: absolute;
    left: -9999px;
    top: -100px;
    background: transparent;
    border: none;
    outline: none;
    width: 1px;
    height: 1px;
}
/* Ввод СМС инпут */
.code-container {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 10px;
    /* background: #bbbbbb40; */
    /* border-radius: 12px; */
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); */
    justify-self: center;
    justify-content: center;
}

.code-ghost {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.digit-visual {
position: relative;
    width: 40px;
    height: 50px;
    font-size: 28px;
    /* font-weight: 400; */
    text-align: center;
    border-radius: 16px;
    background: #ffffff;
    color: #444;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    line-height: 50px;
    transition: all 0.2s ease;
}

.digit-visual.filled {
    /* border-color: #3b82f6; */
    box-shadow: 0 0 0 3px #fb175e;
}

.digit-visual.active {
    /* border-color: #2563eb; */
    box-shadow: 0 0 0 3px #fb175e;
}

.digit-visual.active::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 60%;
    background: #fb175e;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation: blink 1s infinite;
    border-radius: 1px;
}
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}
.hint {
    font-size: 0.85rem;
    color: #4a5568;
    min-height: 1.2em;
    transition: color 0.3s ease, opacity 0.3s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-align: center;
    margin-top: 0.8rem;
}

.a{
    margin-top: 0.8rem;
    text-align: center;
    font-size: 0.85rem;
    color: #a10e42;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
p {
    font-size: 0.85rem;
}


#togglePassword {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3c3c3c;
  }
  
    /* SVG глаза */
    .eye {
        width: 22px;
        height: 22px;
        display: block;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
      }
    .password-field.show .eye-open {
        display: none;
    }
    .password-field.show .eye-closed {
        display: block;
    }
    .password-field:not(.show) .eye-open {
        display: block;
    }
    .password-field:not(.show) .eye-closed {
        display: none;
    }
 
    #login_form {
        margin-top: 40px;
    }  

    #login_form .input_wrap input + label {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #4c4c4c;
        font-size: 14px;
        pointer-events: auto;
        transition: 0.2s ease;
        padding: 0;
        font-weight: 500;
      }
      
      /* фокус или есть текст */
      #login_form .input_wrap input:focus + label,
      #login_form .input_wrap input:not(:placeholder-shown) + label,
      #login_form .input_wrap input:-webkit-autofill + label {
        top: -10px;
        font-size: 14px;
        color: #292929;
      }
      
      /* autofill фон */
      input:-webkit-autofill {
        box-shadow: 0 0 0 1000px #fff inset;
        -webkit-text-fill-color: #000;
      }