/* Reusable password field with visibility toggle */
.password-field {
    position: relative;
    display: block;
    width: 100%;
}

.password-field input[type="password"],
.password-field input[type="text"].password-field__input {
    padding-right: 2.5rem;
    width: 100%;
}

.password-field .form-control-sm,
.password-field input.form-control-sm {
    padding-right: 2.25rem;
}

.password-field__toggle {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 0.35rem;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    z-index: 2;
    transition: color 0.15s ease, background 0.15s ease;
}

.password-field__toggle:hover,
.password-field__toggle:focus-visible {
    color: #0d9488;
    background: rgba(13, 148, 136, 0.08);
    outline: none;
}

.password-field--sm .password-field__toggle {
    width: 1.85rem;
    height: 1.85rem;
    right: 0.25rem;
}
