/* Password Toggle Visibility Styles */

.password-input-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
    width: 100% !important;
    padding-right: 42px !important;
    box-sizing: border-box;
}

.password-toggle-btn {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    width: 38px;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    z-index: 10;
    min-width: 0;
    min-height: 0;
    line-height: 1;
    border-radius: 0 5px 5px 0;
    color: #6c757d;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.password-toggle-btn:hover {
    opacity: 0.85;
    background: rgba(0,0,0,0.05) !important;
}

.password-toggle-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 1px;
    border-radius: 4px;
    opacity: 0.85;
}

.password-toggle-btn:active {
    background: rgba(0,0,0,0.08) !important;
}

.password-toggle-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 799px) {
    .password-toggle-btn {
        right: 8px;
        padding: 8px;
    }
    
    .password-toggle-btn svg {
        width: 18px;
        height: 18px;
    }
}
