.password-input-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.password-input-wrap input[type="password"],
.password-input-wrap input[type="text"].password-input-visible {
    width: 100%;
    padding-right: 2.75rem !important;
    box-sizing: border-box;
}

.password-toggle-btn {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary, #94a3b8);
    cursor: pointer;
    line-height: 1;
    z-index: 2;
}

.password-toggle-btn:hover {
    color: var(--primary-color, #d4af37);
    background: rgba(255, 255, 255, 0.06);
}

.password-toggle-btn:focus-visible {
    outline: 2px solid var(--primary-color, #d4af37);
    outline-offset: 2px;
}

.password-toggle-btn i {
    font-size: 1.15rem;
    pointer-events: none;
}
