/* Фон страницы */
.login-body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(#009959 0%, rgb(141,210,181) 84%, white 100%), #009959;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 97px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

/* Карточка */
#login {
    width: 500px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 10px;
    padding: 40px 60px 48px;
    box-sizing: border-box;
}

/* Заголовок */
.login-title {
    text-align: center;
    color: rgb(50, 50, 50);
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 28px;
}

/* Сообщение об ошибке */
.login-error {
    background: #fff3f3;
    color: #c0392b;
    border: 1px solid #f5c6c6;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.login-error--info {
    background: #f0f7ff;
    color: #1a5fa8;
    border-color: #b8d4f5;
}

/* Поле формы */
.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.login-field label {
    font-size: 18px;
    color: rgb(45, 45, 45);
}

/* Инпут */
.login-input {
    height: 50px;
    border-radius: 10px !important;
    color: rgb(51, 51, 51);
    font-size: 15px;
}

/* Кнопка */
.login-btn {
    display: block;
    width: 100%;
    height: 44px;
    margin-top: 28px;
    border-radius: 10px;
    background: #009959;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border: none;
}

.login-btn:hover {
    background: #007a47;
    color: #ffffff;
}

/* Поле пароля с иконкой */
.password-div {
    position: relative;
    width: 100%;
}

.password-div input {
    padding-right: 44px;
    width: 100%;
    box-sizing: border-box;
}

.password-control {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    text-decoration: none;
    color: #666;
    cursor: pointer;
    z-index: 2;
    background: url(/assets/img/eye.svg) center/contain no-repeat;
}

.password-control:hover {
    color: #333;
}

.password-control.view {
    background: url(/assets/img/eye-slash.svg) center/contain no-repeat;
}