/* static/accounts/css/password_eye.css */
/* ==================== Реализация eye для паролей ======================= */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

.pass-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.pass-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

.pass-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: #888;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.pass-eye:hover {
    color: #555;
}

/* Для иконок внутри кнопки */
.pass-eye i,
.eye-icon {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none; /* Чтобы клик проходил сквозь иконку к кнопке */
}