.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    padding-right: 46px !important;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.42);
    color: rgba(148, 163, 184, 0.9);
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus-visible {
    color: rgba(226, 232, 240, 0.96);
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.28);
    outline: none;
}

.password-toggle-btn[aria-pressed="true"] {
    color: #38bdf8;
    background: rgba(14, 165, 233, 0.14);
    border-color: rgba(14, 165, 233, 0.34);
}

.password-toggle-btn svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
}
