.container {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-form {
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.auth-form h1 {
    text-align: center;
/*    margin: 0 0 24px;
    font-size: 24px;*/
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    font-size: 14px;
    color: #333;
}

input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    border-color: #4f7cff;
    box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.15);
}

.captcha {
    margin: 22px 0;
    display: flex;
    justify-content: center;
}

button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #4f7cff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

button:hover:not(:disabled) {
    background: #3f6ae0;
}

button:active:not(:disabled) {
    transform: translateY(1px);
}

button:disabled {
    background: #b8c4e0;
    cursor: not-allowed;
}

.form-errors {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #ffecec;
    border: 1px solid #ffb3b3;
    color: #9b1c1c;
    font-size: 14px;
}

.form-errors ul {
    margin: 0;
    padding-left: 18px;
}















.password-wrap{
    position: relative;
    width: 100%;
}

.password-wrap input{
    width: 100%;
    box-sizing: border-box;
    padding-right: 44px;   /* место под кнопку */
}

.toggle-password{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 24px;

    border: none;
    background: transparent;
    padding: 0;
    margin: 0;

    cursor: pointer;
    line-height: 1;
    font-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}
